[INFO] cloning repository https://github.com/Jon-Davis/ECS [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Jon-Davis/ECS" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJon-Davis%2FECS", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJon-Davis%2FECS'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fe97ae2e5e0f9e5f1b492f2eb7bbdb786000c1c0 [INFO] checking Jon-Davis/ECS/fe97ae2e5e0f9e5f1b492f2eb7bbdb786000c1c0 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJon-Davis%2FECS" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Jon-Davis/ECS on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Jon-Davis/ECS [INFO] finished tweaking git repo https://github.com/Jon-Davis/ECS [INFO] tweaked toml for git repo https://github.com/Jon-Davis/ECS written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Jon-Davis/ECS already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bit_field v0.9.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ee0840d0ae6fb850a4476bfe7120e282f7e0f71f7a31c8589ac6930d645576da [INFO] running `Command { std: "docker" "start" "-a" "ee0840d0ae6fb850a4476bfe7120e282f7e0f71f7a31c8589ac6930d645576da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ee0840d0ae6fb850a4476bfe7120e282f7e0f71f7a31c8589ac6930d645576da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee0840d0ae6fb850a4476bfe7120e282f7e0f71f7a31c8589ac6930d645576da", kill_on_drop: false }` [INFO] [stdout] ee0840d0ae6fb850a4476bfe7120e282f7e0f71f7a31c8589ac6930d645576da [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a004889d1f2d4c09419407d48f90b247ecaff2796b53fa569ed4b1f2ae34918f [INFO] running `Command { std: "docker" "start" "-a" "a004889d1f2d4c09419407d48f90b247ecaff2796b53fa569ed4b1f2ae34918f", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking nodrop v0.1.12 [INFO] [stderr] Checking cfg-if v0.1.5 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Compiling rayon v1.0.2 [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Checking bit_field v0.9.0 [INFO] [stderr] Checking arrayvec v0.4.7 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Checking ecs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/syncmap.rs:50:22 [INFO] [stdout] | [INFO] [stdout] 50 | fn resend(&self, &Loan<'_, K, V>); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Loan<'_, K, V>` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/syncmap.rs:323:9 [INFO] [stdout] | [INFO] [stdout] 323 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `thread` and `time` [INFO] [stdout] --> src/syncmap.rs:324:15 [INFO] [stdout] | [INFO] [stdout] 324 | use std::{thread,time}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/syncmap.rs:325:9 [INFO] [stdout] | [INFO] [stdout] 325 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/syncmap.rs:59:16 [INFO] [stdout] | [INFO] [stdout] 59 | owner: &'a Loaner, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 59 | owner: &'a dyn Loaner, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dispatcher.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | systems : Vec>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 | systems : Vec>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/resources.rs:254:49 [INFO] [stdout] | [INFO] [stdout] 254 | component_collections : SyncMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 254 | component_collections : SyncMap>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/resources.rs:286:38 [INFO] [stdout] | [INFO] [stdout] 286 | loan : Option>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 286 | loan : Option>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/syncmap.rs:50:22 [INFO] [stdout] | [INFO] [stdout] 50 | fn resend(&self, &Loan<'_, K, V>); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Loan<'_, K, V>` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/resources.rs:317:54 [INFO] [stdout] | [INFO] [stdout] 317 | pub fn loan(&self) -> Option<&Loan<'a,TypeId,Box>>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 317 | pub fn loan(&self) -> Option<&Loan<'a,TypeId,Box>>{ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/syncmap.rs:309:32 [INFO] [stdout] | [INFO] [stdout] 309 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 309 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/state.rs:32:40 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn with(mut self, system : Box) -> State { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 32 | pub fn with(mut self, system : Box) -> State { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dispatcher.rs:23:41 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn with(&mut self, system : Box) -> &Self{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 | pub fn with(&mut self, system : Box) -> &Self{ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/syncmap.rs:59:16 [INFO] [stdout] | [INFO] [stdout] 59 | owner: &'a Loaner, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 59 | owner: &'a dyn Loaner, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dispatcher.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | systems : Vec>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 | systems : Vec>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/resources.rs:254:49 [INFO] [stdout] | [INFO] [stdout] 254 | component_collections : SyncMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 254 | component_collections : SyncMap>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/resources.rs:286:38 [INFO] [stdout] | [INFO] [stdout] 286 | loan : Option>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 286 | loan : Option>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/resources.rs:317:54 [INFO] [stdout] | [INFO] [stdout] 317 | pub fn loan(&self) -> Option<&Loan<'a,TypeId,Box>>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 317 | pub fn loan(&self) -> Option<&Loan<'a,TypeId,Box>>{ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/syncmap.rs:309:32 [INFO] [stdout] | [INFO] [stdout] 309 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 309 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/resources.rs:273:74 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn request(&self, request : &ResourceRequest) -> Loan> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 273 | pub fn request(&self, request : &ResourceRequest) -> Loan> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/state.rs:32:40 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn with(mut self, system : Box) -> State { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 32 | pub fn with(mut self, system : Box) -> State { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dispatcher.rs:23:41 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn with(&mut self, system : Box) -> &Self{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 | pub fn with(&mut self, system : Box) -> &Self{ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/resources.rs:273:74 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn request(&self, request : &ResourceRequest) -> Loan> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 273 | pub fn request(&self, request : &ResourceRequest) -> Loan> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/resources.rs:331:46 [INFO] [stdout] | [INFO] [stdout] 331 | ... transmute::<&Box, &Box>>(value) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 331 | transmute::<&Box, &Box>>(value) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/resources.rs:349:57 [INFO] [stdout] | [INFO] [stdout] 349 | ... transmute::>, RefMut<&mut Box>>>(value) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 349 | transmute::>, RefMut<&mut Box>>>(value) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/resources.rs:331:46 [INFO] [stdout] | [INFO] [stdout] 331 | ... transmute::<&Box, &Box>>(value) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 331 | transmute::<&Box, &Box>>(value) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/resources.rs:349:57 [INFO] [stdout] | [INFO] [stdout] 349 | ... transmute::>, RefMut<&mut Box>>>(value) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 349 | transmute::>, RefMut<&mut Box>>>(value) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/main.rs:46:26 [INFO] [stdout] | [INFO] [stdout] 46 | fn update(&mut self, token : ResourceToken) -> Trans { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | struct CompInt(u32); [INFO] [stdout] | ------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | struct CompFloat(f32); [INFO] [stdout] | --------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Read` is never constructed [INFO] [stdout] --> src/syncmap.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | enum RequestType { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 13 | Read, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `read` is never used [INFO] [stdout] --> src/syncmap.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl Request{ [INFO] [stdout] | ------------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn read(&mut self, r : K) -> &mut Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `read` is never used [INFO] [stdout] --> src/syncmap.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 62 | impl<'a, K : 'a + Eq + Hash, V : 'a> Loan<'a, K, V>{ [INFO] [stdout] | --------------------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn read(&self, key : &K) -> Option<& V>{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Push` and `Swap` are never constructed [INFO] [stdout] --> src/state.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum Trans { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 12 | Push(State), [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | Swap(State), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_entity` is never used [INFO] [stdout] --> src/resources.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 32 | impl ComponentWrapper { [INFO] [stdout] | --------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | fn get_entity(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `type_id` is never read [INFO] [stdout] --> src/resources.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct ComponentVector { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 62 | components : Vec>, [INFO] [stdout] 63 | type_id: TypeId, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `iter` and `remove` are never used [INFO] [stdout] --> src/resources.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 68 | impl ComponentVector { [INFO] [stdout] | -------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 78 | fn iter(&self) -> ComponentVectorIter { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | fn remove(&mut self, entity_id : u64){ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/resources.rs:199:8 [INFO] [stdout] | [INFO] [stdout] 198 | impl<'a, D: Component> ComponentVectorIter<'a, D> { [INFO] [stdout] | ------------------------------------------------- associated function in this implementation [INFO] [stdout] 199 | fn new(vector : &ComponentVector) -> ComponentVectorIter { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/resources.rs:232:8 [INFO] [stdout] | [INFO] [stdout] 231 | impl<'a, D : Component> CompVecIter<'a, D> { [INFO] [stdout] | ------------------------------------------ associated function in this implementation [INFO] [stdout] 232 | fn new(vector : &'a ComponentVector) -> CompVecIter { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `loan` and `unpack` are never used [INFO] [stdout] --> src/resources.rs:317:12 [INFO] [stdout] | [INFO] [stdout] 290 | impl<'a> ResourceToken<'a>{ [INFO] [stdout] | -------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 317 | pub fn loan(&self) -> Option<&Loan<'a,TypeId,Box>>{ [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 324 | pub fn unpack(&self) -> Option<&Box>> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `read` is never used [INFO] [stdout] --> src/resources.rs:376:12 [INFO] [stdout] | [INFO] [stdout] 369 | impl ResourceRequest { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 376 | pub fn read(&mut self) -> &mut Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `id` is never used [INFO] [stdout] --> src/entity.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl Entity { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn id(&self) -> u64 { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/main.rs:46:26 [INFO] [stdout] | [INFO] [stdout] 46 | fn update(&mut self, token : ResourceToken) -> Trans { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | struct CompInt(u32); [INFO] [stdout] | ------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | struct CompFloat(f32); [INFO] [stdout] | --------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Push` and `Swap` are never constructed [INFO] [stdout] --> src/state.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum Trans { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 12 | Push(State), [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | Swap(State), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `type_id` is never read [INFO] [stdout] --> src/resources.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct ComponentVector { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 62 | components : Vec>, [INFO] [stdout] 63 | type_id: TypeId, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/resources.rs:232:8 [INFO] [stdout] | [INFO] [stdout] 231 | impl<'a, D : Component> CompVecIter<'a, D> { [INFO] [stdout] | ------------------------------------------ associated function in this implementation [INFO] [stdout] 232 | fn new(vector : &'a ComponentVector) -> CompVecIter { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `loan` and `unpack` are never used [INFO] [stdout] --> src/resources.rs:317:12 [INFO] [stdout] | [INFO] [stdout] 290 | impl<'a> ResourceToken<'a>{ [INFO] [stdout] | -------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 317 | pub fn loan(&self) -> Option<&Loan<'a,TypeId,Box>>{ [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 324 | pub fn unpack(&self) -> Option<&Box>> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `read` is never used [INFO] [stdout] --> src/resources.rs:376:12 [INFO] [stdout] | [INFO] [stdout] 369 | impl ResourceRequest { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 376 | pub fn read(&mut self) -> &mut Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CompB` is never constructed [INFO] [stdout] --> src/resources.rs:399:12 [INFO] [stdout] | [INFO] [stdout] 399 | struct CompB { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/resources.rs:411:12 [INFO] [stdout] | [INFO] [stdout] 410 | impl CompB{ [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 411 | fn new(id : u64) -> CompB { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `id` is never used [INFO] [stdout] --> src/entity.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl Entity { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn id(&self) -> u64 { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/syncmap.rs:344:36 [INFO] [stdout] | [INFO] [stdout] 344 | assert!(*num == i, format!("num = {}, i = {}\n",num,i)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 344 - assert!(*num == i, format!("num = {}, i = {}\n",num,i)); [INFO] [stdout] 344 + assert!(*num == i, "num = {}, i = {}\n",num,i); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/syncmap.rs:378:40 [INFO] [stdout] | [INFO] [stdout] 378 | assert!(*num == i, format!("num = {}, i = {}\n",num,i)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 378 - assert!(*num == i, format!("num = {}, i = {}\n",num,i)); [INFO] [stdout] 378 + assert!(*num == i, "num = {}, i = {}\n",num,i); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/syncmap.rs:382:29 [INFO] [stdout] | [INFO] [stdout] 382 | assert!(i == 6, format!("i = {}", i)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 382 - assert!(i == 6, format!("i = {}", i)); [INFO] [stdout] 382 + assert!(i == 6, "i = {}", i); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/syncmap.rs:449:33 [INFO] [stdout] | [INFO] [stdout] 449 | assert!(*z == i + 3,format!("z : {}, i + 3: {}",z,i+3)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 449 - assert!(*z == i + 3,format!("z : {}, i + 3: {}",z,i+3)); [INFO] [stdout] 449 + assert!(*z == i + 3,"z : {}, i + 3: {}",z,i+3); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/syncmap.rs:450:30 [INFO] [stdout] | [INFO] [stdout] 450 | assert!(*o == i, format!("o : {}, i : {}",o,i)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 450 - assert!(*o == i, format!("o : {}, i : {}",o,i)); [INFO] [stdout] 450 + assert!(*o == i, "o : {}, i : {}",o,i); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.23s [INFO] running `Command { std: "docker" "inspect" "a004889d1f2d4c09419407d48f90b247ecaff2796b53fa569ed4b1f2ae34918f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a004889d1f2d4c09419407d48f90b247ecaff2796b53fa569ed4b1f2ae34918f", kill_on_drop: false }` [INFO] [stdout] a004889d1f2d4c09419407d48f90b247ecaff2796b53fa569ed4b1f2ae34918f