[INFO] cloning repository https://github.com/johnyburd/rust-1001 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/johnyburd/rust-1001" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjohnyburd%2Frust-1001", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjohnyburd%2Frust-1001'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1d040b69df6e86079c5e925396c3d80d250e5e5a [INFO] checking johnyburd/rust-1001 against master#0f442e265c165c0a78633bef98de18517815150c for pr-129073 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjohnyburd%2Frust-1001" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/johnyburd/rust-1001 on toolchain 0f442e265c165c0a78633bef98de18517815150c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0f442e265c165c0a78633bef98de18517815150c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/johnyburd/rust-1001 [INFO] finished tweaking git repo https://github.com/johnyburd/rust-1001 [INFO] tweaked toml for git repo https://github.com/johnyburd/rust-1001 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/johnyburd/rust-1001 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" "+0f442e265c165c0a78633bef98de18517815150c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking johnyburd/rust-1001 against try#774bd5ba31b89dab12d58c29690ad9f7e5c9f063 for pr-129073 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjohnyburd%2Frust-1001" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/johnyburd/rust-1001 on toolchain 774bd5ba31b89dab12d58c29690ad9f7e5c9f063 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+774bd5ba31b89dab12d58c29690ad9f7e5c9f063" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/johnyburd/rust-1001 [INFO] finished tweaking git repo https://github.com/johnyburd/rust-1001 [INFO] tweaked toml for git repo https://github.com/johnyburd/rust-1001 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/johnyburd/rust-1001 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" "+774bd5ba31b89dab12d58c29690ad9f7e5c9f063" "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 serde_yaml v0.9.10 [INFO] [stderr] Downloaded unsafe-libyaml v0.2.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+774bd5ba31b89dab12d58c29690ad9f7e5c9f063" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 49003b12a81b695cc2b440a84afb312ad8eb6a9cbc4c0d0f75986096c9818772 [INFO] running `Command { std: "docker" "start" "-a" "49003b12a81b695cc2b440a84afb312ad8eb6a9cbc4c0d0f75986096c9818772", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "49003b12a81b695cc2b440a84afb312ad8eb6a9cbc4c0d0f75986096c9818772", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49003b12a81b695cc2b440a84afb312ad8eb6a9cbc4c0d0f75986096c9818772", kill_on_drop: false }` [INFO] [stdout] 49003b12a81b695cc2b440a84afb312ad8eb6a9cbc4c0d0f75986096c9818772 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+774bd5ba31b89dab12d58c29690ad9f7e5c9f063" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 56c66560506abba4b72c35da1e7de2f56fe4fbd67877abe95db3fe4c6e42a619 [INFO] running `Command { std: "docker" "start" "-a" "56c66560506abba4b72c35da1e7de2f56fe4fbd67877abe95db3fe4c6e42a619", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Checking unsafe-libyaml v0.2.2 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling thiserror-impl v1.0.33 [INFO] [stderr] Checking thiserror v1.0.33 [INFO] [stderr] Checking serde_yaml v0.9.10 [INFO] [stderr] Checking rust-1001 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/errors/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `greeting_file` [INFO] [stdout] --> src/errors/main.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let greeting_file = match greeting_file_result { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_greeting_file` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `prints_and_returns_10` is never used [INFO] [stdout] --> src/tests/main.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn prints_and_returns_10(a: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `greeting_file` [INFO] [stdout] --> src/errors/main.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let greeting_file = File::open("hello.txt").expect("Problem opening the file!"); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_greeting_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `open_panic1` is never used [INFO] [stdout] --> src/errors/main.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn open_panic1() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width`, `height`, and `options` are never read [INFO] [stdout] --> src/generics2/main.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | struct SelectBox { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 32 | width: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 33 | height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 34 | options: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Bad` is never constructed [INFO] [stdout] --> src/derive2/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | enum State { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 12 | Good, [INFO] [stdout] 13 | Bad(String), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `UsState` doesn't implement `Debug` [INFO] [stdout] --> src/test/main.rs:20:50 [INFO] [stdout] | [INFO] [stdout] 20 | println!("State quarter from {:?}!", state); [INFO] [stdout] | ^^^^^ `UsState` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `UsState` [INFO] [stdout] = note: add `#[derive(Debug)]` to `UsState` or manually `impl Debug for UsState` [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `UsState` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 1 + #[derive(Debug)] [INFO] [stdout] 2 | enum UsState { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Bad` is never constructed [INFO] [stdout] --> src/derive2/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | enum State { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 12 | Good, [INFO] [stdout] 13 | Bad(String), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning 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 E0277`. [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-1001` (bin "test" test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0601]: `main` function not found in crate `test` [INFO] [stdout] --> src/test/main.rs:24:2 [INFO] [stdout] | [INFO] [stdout] 24 | } [INFO] [stdout] | ^ consider adding a `main` function to `src/test/main.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x` and `y` are never read [INFO] [stdout] --> src/enums/main.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | Move { [INFO] [stdout] | ---- fields in this variant [INFO] [stdout] 4 | x: i32, [INFO] [stdout] | ^ [INFO] [stdout] 5 | y: i32, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Message` 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: field `0` is never read [INFO] [stdout] --> src/enums/main.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | Echo(String), [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Message` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 7 | Echo(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/enums/main.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | ChangeColor(u8, u8, u8), [INFO] [stdout] | ----------- ^^ ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Message` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 8 | ChangeColor((), (), ()), [INFO] [stdout] | ~~ ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `UsState` doesn't implement `Debug` [INFO] [stdout] --> src/test/main.rs:20:50 [INFO] [stdout] | [INFO] [stdout] 20 | println!("State quarter from {:?}!", state); [INFO] [stdout] | ^^^^^ `UsState` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `UsState` [INFO] [stdout] = note: add `#[derive(Debug)]` to `UsState` or manually `impl Debug for UsState` [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `UsState` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 1 + #[derive(Debug)] [INFO] [stdout] 2 | enum UsState { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0601. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-1001` (bin "test") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "56c66560506abba4b72c35da1e7de2f56fe4fbd67877abe95db3fe4c6e42a619", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56c66560506abba4b72c35da1e7de2f56fe4fbd67877abe95db3fe4c6e42a619", kill_on_drop: false }` [INFO] [stdout] 56c66560506abba4b72c35da1e7de2f56fe4fbd67877abe95db3fe4c6e42a619