[INFO] fetching crate amethyst_ecs 0.1.1... [INFO] checking amethyst_ecs-0.1.1 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate amethyst_ecs 0.1.1 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate amethyst_ecs 0.1.1 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate amethyst_ecs 0.1.1 [INFO] finished tweaking crates.io crate amethyst_ecs 0.1.1 [INFO] tweaked toml for crates.io crate amethyst_ecs 0.1.1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7d4510f547333372b0de3e83c17c1bb041e1fcf2abe217a8821862095f9285ab [INFO] running `Command { std: "docker" "start" "-a" "7d4510f547333372b0de3e83c17c1bb041e1fcf2abe217a8821862095f9285ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7d4510f547333372b0de3e83c17c1bb041e1fcf2abe217a8821862095f9285ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d4510f547333372b0de3e83c17c1bb041e1fcf2abe217a8821862095f9285ab", kill_on_drop: false }` [INFO] [stdout] 7d4510f547333372b0de3e83c17c1bb041e1fcf2abe217a8821862095f9285ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9fc449e135236a2e3c16a414c53632a7d183fc56a85f8b64dab425039aa30f19 [INFO] running `Command { std: "docker" "start" "-a" "9fc449e135236a2e3c16a414c53632a7d183fc56a85f8b64dab425039aa30f19", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking amethyst_ecs v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sim.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | procs: 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 | procs: Vec>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sim.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | procs: 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 | procs: Vec>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sim.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | let mut next_state = world; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id3` [INFO] [stdout] --> src/dynvec.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | let id3 = vec.add(Test(0, 0.0)); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_id3` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/world.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | for (a, b) in data { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vec` [INFO] [stdout] --> src/dynvec.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | let vec = DynVec::new::<()>(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/world.rs:94:21 [INFO] [stdout] | [INFO] [stdout] 94 | if let Some(mut c) = self.components.get_mut(&TypeId::of::<(Entity, T)>()) { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `num_alive` is never used [INFO] [stdout] --> src/entity.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Entities { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn num_alive(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sim.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | let mut next_state = world; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/world.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | for (a, b) in data { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/world.rs:94:21 [INFO] [stdout] | [INFO] [stdout] 94 | if let Some(mut c) = self.components.get_mut(&TypeId::of::<(Entity, T)>()) { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/dynvec.rs:113:24 [INFO] [stdout] | [INFO] [stdout] 113 | struct Struct1(u8); [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/dynvec.rs:114:24 [INFO] [stdout] | [INFO] [stdout] 114 | struct Struct2(u8); [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: method `num_alive` is never used [INFO] [stdout] --> src/entity.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Entities { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn num_alive(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `step_by` [INFO] [stdout] --> benches/components.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(step_by)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x`, `y`, and `z` are never read [INFO] [stdout] --> benches/gen_ents.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | struct Position { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 10 | x: f32, [INFO] [stdout] | ^ [INFO] [stdout] 11 | y: f32, [INFO] [stdout] | ^ [INFO] [stdout] 12 | z: f32, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x`, `y`, and `z` are never read [INFO] [stdout] --> benches/gen_ents.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | struct Light { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 16 | x: f32, [INFO] [stdout] | ^ [INFO] [stdout] 17 | y: f32, [INFO] [stdout] | ^ [INFO] [stdout] 18 | z: f32, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `handle` and `y` are never read [INFO] [stdout] --> benches/gen_ents.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | struct Mesh { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 22 | handle: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 23 | y: usize, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x`, `y`, and `z` are never read [INFO] [stdout] --> examples/current_usage.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | struct Position { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 9 | x: f32, [INFO] [stdout] | ^ [INFO] [stdout] 10 | y: f32, [INFO] [stdout] | ^ [INFO] [stdout] 11 | z: f32, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Position` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x`, `y`, and `z` are never read [INFO] [stdout] --> examples/current_usage.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | struct Light { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 15 | x: f32, [INFO] [stdout] | ^ [INFO] [stdout] 16 | y: f32, [INFO] [stdout] | ^ [INFO] [stdout] 17 | z: f32, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `handle` and `y` are never read [INFO] [stdout] --> examples/current_usage.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | struct Mesh { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 21 | handle: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 22 | y: usize, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0635`. [INFO] [stdout] [INFO] [stderr] error: could not compile `amethyst_ecs` (bench "components") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "9fc449e135236a2e3c16a414c53632a7d183fc56a85f8b64dab425039aa30f19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9fc449e135236a2e3c16a414c53632a7d183fc56a85f8b64dab425039aa30f19", kill_on_drop: false }` [INFO] [stdout] 9fc449e135236a2e3c16a414c53632a7d183fc56a85f8b64dab425039aa30f19