[INFO] cloning repository https://github.com/danielhstahl/rust_demos [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/danielhstahl/rust_demos" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanielhstahl%2Frust_demos", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanielhstahl%2Frust_demos'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4873b91cdf93b5a4fefc5fcfce9119b5b97321ef [INFO] checking danielhstahl/rust_demos against try#b4c55082edd8dec08ce8af276d7054d9c4db20c4 for pr-147984 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanielhstahl%2Frust_demos" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/danielhstahl/rust_demos [INFO] finished tweaking git repo https://github.com/danielhstahl/rust_demos [INFO] tweaked toml for git repo https://github.com/danielhstahl/rust_demos written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/danielhstahl/rust_demos on toolchain b4c55082edd8dec08ce8af276d7054d9c4db20c4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b4c55082edd8dec08ce8af276d7054d9c4db20c4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/danielhstahl/rust_demos 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" "+b4c55082edd8dec08ce8af276d7054d9c4db20c4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking danielhstahl/rust_demos against try#b4c55082edd8dec08ce8af276d7054d9c4db20c4 for pr-147984 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanielhstahl%2Frust_demos" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/danielhstahl/rust_demos [INFO] finished tweaking git repo https://github.com/danielhstahl/rust_demos [INFO] tweaked toml for git repo https://github.com/danielhstahl/rust_demos written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/danielhstahl/rust_demos on toolchain b4c55082edd8dec08ce8af276d7054d9c4db20c4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b4c55082edd8dec08ce8af276d7054d9c4db20c4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/danielhstahl/rust_demos 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" "+b4c55082edd8dec08ce8af276d7054d9c4db20c4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded crossbeam-epoch v0.9.7 [INFO] [stderr] Downloaded crossbeam-channel v0.5.2 [INFO] [stderr] Downloaded serde_json v1.0.78 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b4c55082edd8dec08ce8af276d7054d9c4db20c4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 368fc24dff50d63ed5f4ca478bac8e88c43031eee6ed245d944faf8f95831867 [INFO] running `Command { std: "docker" "start" "-a" "368fc24dff50d63ed5f4ca478bac8e88c43031eee6ed245d944faf8f95831867", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "368fc24dff50d63ed5f4ca478bac8e88c43031eee6ed245d944faf8f95831867", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "368fc24dff50d63ed5f4ca478bac8e88c43031eee6ed245d944faf8f95831867", kill_on_drop: false }` [INFO] [stdout] 368fc24dff50d63ed5f4ca478bac8e88c43031eee6ed245d944faf8f95831867 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b4c55082edd8dec08ce8af276d7054d9c4db20c4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fe8452581d3548e1cfa3206577d15b4ec170b07f50973c90696496c2f2eaeb20 [INFO] running `Command { std: "docker" "start" "-a" "fe8452581d3548e1cfa3206577d15b4ec170b07f50973c90696496c2f2eaeb20", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.7 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling libc v0.2.117 [INFO] [stderr] Compiling crossbeam-epoch v0.9.7 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling serde_json v1.0.78 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking crossbeam-channel v0.5.2 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking rayon-core v1.9.1 [INFO] [stderr] Checking rayon v1.5.1 [INFO] [stderr] Checking rust_demos v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/main.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let result = 4.0; // I can do this, because "let" is a re-assignment. [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `result1` is assigned to, but never used [INFO] [stdout] --> src/main.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let mut result1 = 3.0; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_result1` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `result1` is never read [INFO] [stdout] --> src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | result1 = 4.0; //I can do this because its mutable [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MyDataExample` is never constructed [INFO] [stdout] --> src/myexamplemodule.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct MyDataExample { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `init` is never used [INFO] [stdout] --> src/myexamplemodule.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl MyDataExample { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 23 | //`init` isn't special, could be named anything. Idiomatic to name it `init` though [INFO] [stdout] 24 | pub fn init(some_num: f64, some_int: i32) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SerdeExample` is never constructed [INFO] [stdout] --> src/myexamplemodule.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct SerdeExample { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `example_par_iter` is never used [INFO] [stdout] --> src/myexamplemodule.rs:63:4 [INFO] [stdout] | [INFO] [stdout] 63 | fn example_par_iter(some_vec: &[&str]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `example_lifetime` is never used [INFO] [stdout] --> src/myexamplemodule.rs:69:4 [INFO] [stdout] | [INFO] [stdout] 69 | fn example_lifetime<'a, 'b: 'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SerdeExampleStr` is never constructed [INFO] [stdout] --> src/myexamplemodule.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct SerdeExampleStr<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `example_borrow` is never used [INFO] [stdout] --> src/myexamplemodule.rs:91:4 [INFO] [stdout] | [INFO] [stdout] 91 | fn example_borrow(v: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `example_reference` is never used [INFO] [stdout] --> src/myexamplemodule.rs:95:4 [INFO] [stdout] | [INFO] [stdout] 95 | fn example_reference(v: &[i32]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/main.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let result = 4.0; // I can do this, because "let" is a re-assignment. [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `result1` is assigned to, but never used [INFO] [stdout] --> src/main.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let mut result1 = 3.0; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_result1` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `result1` is never read [INFO] [stdout] --> src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | result1 = 4.0; //I can do this because its mutable [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `some_int` is never read [INFO] [stdout] --> src/myexamplemodule.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct MyDataExample { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 18 | some_num: f64, [INFO] [stdout] 19 | some_int: i32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.22s [INFO] running `Command { std: "docker" "inspect" "fe8452581d3548e1cfa3206577d15b4ec170b07f50973c90696496c2f2eaeb20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe8452581d3548e1cfa3206577d15b4ec170b07f50973c90696496c2f2eaeb20", kill_on_drop: false }` [INFO] [stdout] fe8452581d3548e1cfa3206577d15b4ec170b07f50973c90696496c2f2eaeb20