[INFO] fetching crate fern_sim_test 0.1.0... [INFO] checking fern_sim_test-0.1.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate fern_sim_test 0.1.0 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate fern_sim_test 0.1.0 [INFO] finished tweaking crates.io crate fern_sim_test 0.1.0 [INFO] tweaked toml for crates.io crate fern_sim_test 0.1.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate fern_sim_test 0.1.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate fern_sim_test 0.1.0 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 12a596680c13ba34f9db5c4f68effb80f86711d766c5e4335a244492da4d6865 [INFO] running `Command { std: "docker" "start" "-a" "12a596680c13ba34f9db5c4f68effb80f86711d766c5e4335a244492da4d6865", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "12a596680c13ba34f9db5c4f68effb80f86711d766c5e4335a244492da4d6865", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12a596680c13ba34f9db5c4f68effb80f86711d766c5e4335a244492da4d6865", kill_on_drop: false }` [INFO] [stdout] 12a596680c13ba34f9db5c4f68effb80f86711d766c5e4335a244492da4d6865 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4e5dd25380aa2af4813a881d8305ae84d36be760c67452ac1c1729a08a61071f [INFO] running `Command { std: "docker" "start" "-a" "4e5dd25380aa2af4813a881d8305ae84d36be760c67452ac1c1729a08a61071f", kill_on_drop: false }` [INFO] [stderr] Checking fern_sim_test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/simulation.rs:37:38 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn apply_sunlight(&mut self, time: Duration) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `factory` [INFO] [stdout] --> src/spores.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn produce_spore(factory: &mut i32) -> Spore { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_factory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `spore` [INFO] [stdout] --> src/spores.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) fn genes(spore: &Spore) -> Vec { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_spore` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parent` [INFO] [stdout] --> src/spores.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | fn recombine(parent: &mut Cell) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `size` is never read [INFO] [stdout] --> src/spores.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Spore { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 6 | size: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `genes` is never used [INFO] [stdout] --> src/spores.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) fn genes(spore: &Spore) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `recombine` is never used [INFO] [stdout] --> src/spores.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn recombine(parent: &mut Cell) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Cell` is never constructed [INFO] [stdout] --> src/spores.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Cell { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `distance_from_origin` is never used [INFO] [stdout] --> src/spores.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 26 | impl Cell { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 27 | pub fn distance_from_origin(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Gene` is never constructed [INFO] [stdout] --> src/spores.rs:32:16 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Gene; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/simulation.rs:37:38 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn apply_sunlight(&mut self, time: Duration) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `factory` [INFO] [stdout] --> src/spores.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn produce_spore(factory: &mut i32) -> Spore { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_factory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `spore` [INFO] [stdout] --> src/spores.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) fn genes(spore: &Spore) -> Vec { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_spore` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parent` [INFO] [stdout] --> src/spores.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | fn recombine(parent: &mut Cell) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `size` is never read [INFO] [stdout] --> src/spores.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Spore { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 6 | size: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `genes` is never used [INFO] [stdout] --> src/spores.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) fn genes(spore: &Spore) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `recombine` is never used [INFO] [stdout] --> src/spores.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn recombine(parent: &mut Cell) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Cell` is never constructed [INFO] [stdout] --> src/spores.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Cell { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `distance_from_origin` is never used [INFO] [stdout] --> src/spores.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 26 | impl Cell { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 27 | pub fn distance_from_origin(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Gene` is never constructed [INFO] [stdout] --> src/spores.rs:32:16 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Gene; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.35s [INFO] running `Command { std: "docker" "inspect" "4e5dd25380aa2af4813a881d8305ae84d36be760c67452ac1c1729a08a61071f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e5dd25380aa2af4813a881d8305ae84d36be760c67452ac1c1729a08a61071f", kill_on_drop: false }` [INFO] [stdout] 4e5dd25380aa2af4813a881d8305ae84d36be760c67452ac1c1729a08a61071f