[INFO] cloning repository https://github.com/bookinstock/rust_example
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bookinstock/rust_example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbookinstock%2Frust_example", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbookinstock%2Frust_example'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c83d144f2d500cd60a59da5019b4bc5ca7d2d36f
[INFO] checking bookinstock/rust_example against 8773d2c75a8e90130dcce745a7ec4e66bb9963db+rustflags=-Aunfulfilled-lint-expectations for pr-163637
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbookinstock%2Frust_example" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/bookinstock/rust_example
[INFO] finished tweaking git repo https://github.com/bookinstock/rust_example
[INFO] tweaked toml for git repo https://github.com/bookinstock/rust_example written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/bookinstock/rust_example on toolchain 8773d2c75a8e90130dcce745a7ec4e66bb9963db
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8773d2c75a8e90130dcce745a7ec4e66bb9963db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/bookinstock/rust_example 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" "+8773d2c75a8e90130dcce745a7ec4e66bb9963db" "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 bookinstock/rust_example against 8773d2c75a8e90130dcce745a7ec4e66bb9963db+rustflags=-Aunfulfilled-lint-expectations for pr-163637
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbookinstock%2Frust_example" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/bookinstock/rust_example
[INFO] finished tweaking git repo https://github.com/bookinstock/rust_example
[INFO] tweaked toml for git repo https://github.com/bookinstock/rust_example written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/bookinstock/rust_example on toolchain 8773d2c75a8e90130dcce745a7ec4e66bb9963db
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8773d2c75a8e90130dcce745a7ec4e66bb9963db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/bookinstock/rust_example 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" "+8773d2c75a8e90130dcce745a7ec4e66bb9963db" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] fae941fce329f41b3b80918aec0afce63e363992dfa482991cce176dc76f8373
[INFO] running `Command { std: "docker" "start" "fae941fce329f41b3b80918aec0afce63e363992dfa482991cce176dc76f8373", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fae941fce329f41b3b80918aec0afce63e363992dfa482991cce176dc76f8373", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "fae941fce329f41b3b80918aec0afce63e363992dfa482991cce176dc76f8373" "/opt/rustwide/cargo-home/bin/cargo" "+8773d2c75a8e90130dcce745a7ec4e66bb9963db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fae941fce329f41b3b80918aec0afce63e363992dfa482991cce176dc76f8373", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Aunfulfilled-lint-expectations" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "fae941fce329f41b3b80918aec0afce63e363992dfa482991cce176dc76f8373" "/opt/rustwide/cargo-home/bin/cargo" "+8773d2c75a8e90130dcce745a7ec4e66bb9963db" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking rust_example v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0601]: `main` function not found in crate `std`
[INFO] [stdout]   --> src/bin/std.rs:64:4
[INFO] [stdout]    |
[INFO] [stdout] 64 | */
[INFO] [stdout]    |   ^ consider adding a `main` function to `src/bin/std.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0601`.
[INFO] [stdout] 
[INFO] [stdout] error[E0601]: `main` function not found in crate `test`
[INFO] [stdout]   --> src/bin/test.rs:13:4
[INFO] [stdout]    |
[INFO] [stdout] 13 | */
[INFO] [stdout]    |   ^ consider adding a `main` function to `src/bin/test.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0601`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust_example` (bin "std") due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0601]: `main` function not found in crate `r#trait`
[INFO] [stdout]   --> src/bin/trait.rs:15:4
[INFO] [stdout]    |
[INFO] [stdout] 15 | */
[INFO] [stdout]    |   ^ consider adding a `main` function to `src/bin/trait.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0601`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust_example` (bin "test") due to 1 previous error
[INFO] [stderr] error: could not compile `rust_example` (bin "trait") due to 1 previous error
[INFO] [stdout] warning: unused variable: `my_string`
[INFO] [stdout]   --> src/bin/conversion.rs:51:9
[INFO] [stdout]    |
[INFO] [stdout] 51 |     let my_string = String::from(my_str);
[INFO] [stdout]    |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_string`
[INFO] [stdout]    |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]   --> src/bin/conversion.rs:45:8
[INFO] [stdout]    |
[INFO] [stdout] 45 | #[warn(unused_variables)]
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `value` is never read
[INFO] [stdout]   --> src/bin/conversion.rs:57:9
[INFO] [stdout]    |
[INFO] [stdout] 56 |     struct Number {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] 57 |         value: i32,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Number` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/bin/scope.rs:88:9
[INFO] [stdout]    |
[INFO] [stdout] 88 |     let x = ToDrop;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/bin/scope.rs:88:9
[INFO] [stdout]    |
[INFO] [stdout] 88 |     let x = ToDrop;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `my_string`
[INFO] [stdout]   --> src/bin/conversion.rs:51:9
[INFO] [stdout]    |
[INFO] [stdout] 51 |     let my_string = String::from(my_str);
[INFO] [stdout]    |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_string`
[INFO] [stdout]    |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]   --> src/bin/conversion.rs:45:8
[INFO] [stdout]    |
[INFO] [stdout] 45 | #[warn(unused_variables)]
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `value` is never read
[INFO] [stdout]   --> src/bin/conversion.rs:57:9
[INFO] [stdout]    |
[INFO] [stdout] 56 |     struct Number {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] 57 |         value: i32,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Number` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/bin/scope.rs:405:13
[INFO] [stdout]     |
[INFO] [stdout] 405 |         let mut ref_x = &mut x;
[INFO] [stdout]     |             ----^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ref_x`
[INFO] [stdout]    --> src/bin/scope.rs:401:13
[INFO] [stdout]     |
[INFO] [stdout] 401 |         let ref_x = &x;
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_ref_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/bin/scope.rs:405:13
[INFO] [stdout]     |
[INFO] [stdout] 405 |         let mut ref_x = &mut x;
[INFO] [stdout]     |             ----^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ref_x`
[INFO] [stdout]    --> src/bin/scope.rs:401:13
[INFO] [stdout]     |
[INFO] [stdout] 401 |         let ref_x = &x;
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_ref_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ps_ref` is never used
[INFO] [stdout]    --> src/bin/scope.rs:444:4
[INFO] [stdout]     |
[INFO] [stdout] 444 | fn ps_ref() {
[INFO] [stdout]     |    ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ps_ref` is never used
[INFO] [stdout]    --> src/bin/scope.rs:444:4
[INFO] [stdout]     |
[INFO] [stdout] 444 | fn ps_ref() {
[INFO] [stdout]     |    ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name` and `age` are never read
[INFO] [stdout]   --> src/bin/custom_type.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | struct Person<'a> {
[INFO] [stdout]    |        ------ fields in this struct
[INFO] [stdout] 25 |     name: &'a str,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 26 |     age: u8,
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Person` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Nil` is never constructed
[INFO] [stdout]   --> src/bin/custom_type.rs:30:8
[INFO] [stdout]    |
[INFO] [stdout] 30 | struct Nil;
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Rich` is never constructed
[INFO] [stdout]    --> src/bin/custom_type.rs:117:9
[INFO] [stdout]     |
[INFO] [stdout] 116 |     enum Status {
[INFO] [stdout]     |          ------ variant in this enum
[INFO] [stdout] 117 |         Rich,
[INFO] [stdout]     |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Soldier` is never constructed
[INFO] [stdout]    --> src/bin/custom_type.rs:123:9
[INFO] [stdout]     |
[INFO] [stdout] 121 |     enum Work {
[INFO] [stdout]     |          ---- variant in this enum
[INFO] [stdout] 122 |         Civilian,
[INFO] [stdout] 123 |         Soldier,
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "fae941fce329f41b3b80918aec0afce63e363992dfa482991cce176dc76f8373", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fae941fce329f41b3b80918aec0afce63e363992dfa482991cce176dc76f8373", kill_on_drop: false }`
[INFO] [stdout] fae941fce329f41b3b80918aec0afce63e363992dfa482991cce176dc76f8373
