Skip to content

docs: usage example for create_construction_site #57

docs: usage example for create_construction_site

docs: usage example for create_construction_site #57

Triggered via pull request November 2, 2024 08:55
Status Failure
Total duration 35s
Artifacts

test.yml

on: pull_request
Matrix: Check
Matrix: Clippy
Matrix: Rustfmt
Matrix: Test Suite
Fit to window
Zoom out
Zoom in

Annotations

14 errors and 80 warnings
Rustfmt (nightly)
The process '/home/runner/.cargo/bin/cargo' failed with exit code 1
Test Suite (nightly)
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
Clippy (stable): src/constants/prototypes.rs#L33
use of deprecated static `objects::impls::construction_site::CONSTRUCTION_SITE_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead
Clippy (stable): src/constants/prototypes.rs#L34
use of deprecated static `objects::impls::creep::CREEP_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead
Clippy (stable): src/constants/prototypes.rs#L35
use of deprecated static `objects::impls::resource::RESOURCE_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead
Clippy (stable): src/constants/prototypes.rs#L36
use of deprecated static `objects::impls::source::SOURCE_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead
Clippy (stable): src/constants/prototypes.rs#L37
use of deprecated static `objects::impls::structure::STRUCTURE_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead
Clippy (stable): src/constants/prototypes.rs#L38
use of deprecated static `objects::impls::owned_structure::OWNED_STRUCTURE_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead
Clippy (stable): src/constants/prototypes.rs#L39
use of deprecated static `objects::impls::structure_container::STRUCTURE_CONTAINER_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead
Clippy (stable): src/constants/prototypes.rs#L40
use of deprecated static `objects::impls::structure_extension::STRUCTURE_EXTENSION_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead
Clippy (stable): src/constants/prototypes.rs#L41
use of deprecated static `objects::impls::structure_rampart::STRUCTURE_RAMPART_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead
Clippy (stable): src/constants/prototypes.rs#L42
use of deprecated static `objects::impls::structure_road::STRUCTURE_ROAD_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead
Test Suite (stable)
The job was canceled because "nightly" failed.
Test Suite (stable)
The operation was canceled.
Rustfmt (stable)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Rustfmt (stable)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Rustfmt (stable)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Rustfmt (stable)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Rustfmt (stable)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Rustfmt (stable)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Rustfmt (nightly)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Rustfmt (nightly)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Rustfmt (nightly)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Rustfmt (nightly)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Rustfmt (nightly)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Rustfmt (nightly)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Check (nightly)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Check (nightly)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Check (nightly)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Check (nightly)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Check (nightly)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Check (nightly)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Check (nightly): src/constants/prototypes.rs#L33
use of deprecated static `objects::impls::construction_site::CONSTRUCTION_SITE_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead
Check (nightly): src/constants/prototypes.rs#L34
use of deprecated static `objects::impls::creep::CREEP_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead
Check (nightly): src/constants/prototypes.rs#L35
use of deprecated static `objects::impls::resource::RESOURCE_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead
Check (nightly): src/constants/prototypes.rs#L36
use of deprecated static `objects::impls::source::SOURCE_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead
Check (nightly): src/constants/prototypes.rs#L37
use of deprecated static `objects::impls::structure::STRUCTURE_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead
Check (nightly): src/constants/prototypes.rs#L38
use of deprecated static `objects::impls::owned_structure::OWNED_STRUCTURE_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead
Check (nightly): src/constants/prototypes.rs#L39
use of deprecated static `objects::impls::structure_container::STRUCTURE_CONTAINER_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead
Check (nightly): src/constants/prototypes.rs#L40
use of deprecated static `objects::impls::structure_extension::STRUCTURE_EXTENSION_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead
Check (nightly): src/constants/prototypes.rs#L41
use of deprecated static `objects::impls::structure_rampart::STRUCTURE_RAMPART_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead
Check (nightly): src/constants/prototypes.rs#L42
use of deprecated static `objects::impls::structure_road::STRUCTURE_ROAD_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead
Test Suite (nightly)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test Suite (nightly)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Test Suite (nightly)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Test Suite (nightly)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Test Suite (nightly)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Test Suite (nightly)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Test Suite (nightly): src/constants/prototypes.rs#L33
use of deprecated static `objects::impls::construction_site::CONSTRUCTION_SITE_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead
Test Suite (nightly): src/constants/prototypes.rs#L34
use of deprecated static `objects::impls::creep::CREEP_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead
Test Suite (nightly): src/constants/prototypes.rs#L35
use of deprecated static `objects::impls::resource::RESOURCE_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead
Test Suite (nightly): src/constants/prototypes.rs#L36
use of deprecated static `objects::impls::source::SOURCE_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead
Test Suite (nightly): src/constants/prototypes.rs#L37
use of deprecated static `objects::impls::structure::STRUCTURE_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead
Test Suite (nightly): src/constants/prototypes.rs#L38
use of deprecated static `objects::impls::owned_structure::OWNED_STRUCTURE_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead
Test Suite (nightly): src/constants/prototypes.rs#L39
use of deprecated static `objects::impls::structure_container::STRUCTURE_CONTAINER_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead
Test Suite (nightly): src/constants/prototypes.rs#L40
use of deprecated static `objects::impls::structure_extension::STRUCTURE_EXTENSION_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead
Test Suite (nightly): src/constants/prototypes.rs#L41
use of deprecated static `objects::impls::structure_rampart::STRUCTURE_RAMPART_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead
Test Suite (nightly): src/constants/prototypes.rs#L42
use of deprecated static `objects::impls::structure_road::STRUCTURE_ROAD_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead
Clippy (stable)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Clippy (stable)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Clippy (stable)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Clippy (stable)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Clippy (stable)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Clippy (stable)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Check (stable)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Check (stable)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Check (stable)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Check (stable)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Check (stable)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Check (stable)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Check (stable): src/constants/prototypes.rs#L33
use of deprecated static `objects::impls::construction_site::CONSTRUCTION_SITE_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead
Check (stable): src/constants/prototypes.rs#L34
use of deprecated static `objects::impls::creep::CREEP_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead
Check (stable): src/constants/prototypes.rs#L35
use of deprecated static `objects::impls::resource::RESOURCE_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead
Check (stable): src/constants/prototypes.rs#L36
use of deprecated static `objects::impls::source::SOURCE_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead
Check (stable): src/constants/prototypes.rs#L37
use of deprecated static `objects::impls::structure::STRUCTURE_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead
Check (stable): src/constants/prototypes.rs#L38
use of deprecated static `objects::impls::owned_structure::OWNED_STRUCTURE_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead
Check (stable): src/constants/prototypes.rs#L39
use of deprecated static `objects::impls::structure_container::STRUCTURE_CONTAINER_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead
Check (stable): src/constants/prototypes.rs#L40
use of deprecated static `objects::impls::structure_extension::STRUCTURE_EXTENSION_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead
Check (stable): src/constants/prototypes.rs#L41
use of deprecated static `objects::impls::structure_rampart::STRUCTURE_RAMPART_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead
Check (stable): src/constants/prototypes.rs#L42
use of deprecated static `objects::impls::structure_road::STRUCTURE_ROAD_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead
Test Suite (stable)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Test Suite (stable)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Test Suite (stable)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Test Suite (stable)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Test Suite (stable): src/constants/prototypes.rs#L33
use of deprecated static `objects::impls::construction_site::CONSTRUCTION_SITE_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead
Test Suite (stable): src/constants/prototypes.rs#L34
use of deprecated static `objects::impls::creep::CREEP_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead
Test Suite (stable): src/constants/prototypes.rs#L35
use of deprecated static `objects::impls::resource::RESOURCE_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead
Test Suite (stable): src/constants/prototypes.rs#L36
use of deprecated static `objects::impls::source::SOURCE_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead
Test Suite (stable): src/constants/prototypes.rs#L37
use of deprecated static `objects::impls::structure::STRUCTURE_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead
Test Suite (stable): src/constants/prototypes.rs#L38
use of deprecated static `objects::impls::owned_structure::OWNED_STRUCTURE_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead
Test Suite (stable): src/constants/prototypes.rs#L39
use of deprecated static `objects::impls::structure_container::STRUCTURE_CONTAINER_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead
Test Suite (stable): src/constants/prototypes.rs#L40
use of deprecated static `objects::impls::structure_extension::STRUCTURE_EXTENSION_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead
Test Suite (stable): src/constants/prototypes.rs#L41
use of deprecated static `objects::impls::structure_rampart::STRUCTURE_RAMPART_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead
Test Suite (stable): src/constants/prototypes.rs#L42
use of deprecated static `objects::impls::structure_road::STRUCTURE_ROAD_PROTOTYPE`: use with `#[wasm_bindgen(thread_local)]` instead