[INFO] cloning repository https://github.com/celsod/rectangles [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/celsod/rectangles" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcelsod%2Frectangles", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcelsod%2Frectangles'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1f458abda186ce827b4810035a3ed490139bae6c [INFO] checking celsod/rectangles against try#73ffebff6f34db7eb167bf9edcf2afa19c3073e9 for pr-147841 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcelsod%2Frectangles" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/celsod/rectangles [INFO] finished tweaking git repo https://github.com/celsod/rectangles [INFO] tweaked toml for git repo https://github.com/celsod/rectangles written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/celsod/rectangles on toolchain 73ffebff6f34db7eb167bf9edcf2afa19c3073e9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+73ffebff6f34db7eb167bf9edcf2afa19c3073e9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/celsod/rectangles 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" "+73ffebff6f34db7eb167bf9edcf2afa19c3073e9" "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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+73ffebff6f34db7eb167bf9edcf2afa19c3073e9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 57a862bf6772e0d488fe76a147f99cd12cf1c68d01a90098ac2991f15255d3b2 [INFO] running `Command { std: "docker" "start" "-a" "57a862bf6772e0d488fe76a147f99cd12cf1c68d01a90098ac2991f15255d3b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "57a862bf6772e0d488fe76a147f99cd12cf1c68d01a90098ac2991f15255d3b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57a862bf6772e0d488fe76a147f99cd12cf1c68d01a90098ac2991f15255d3b2", kill_on_drop: false }` [INFO] [stdout] 57a862bf6772e0d488fe76a147f99cd12cf1c68d01a90098ac2991f15255d3b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+73ffebff6f34db7eb167bf9edcf2afa19c3073e9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1aac034c113d6fe0fa210793f2b1b3e2602989efff461a65e90642191e6be215 [INFO] running `Command { std: "docker" "start" "-a" "1aac034c113d6fe0fa210793f2b1b3e2602989efff461a65e90642191e6be215", kill_on_drop: false }` [INFO] [stderr] Checking rectangles v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: `Rectangle` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/main.rs:56:52 [INFO] [stdout] | [INFO] [stdout] 56 | println!("The square of the rectangle is: {}", sq); [INFO] [stdout] | -- ^^ `Rectangle` cannot be formatted with the default formatter [INFO] [stdout] | | [INFO] [stdout] | required by this formatting parameter [INFO] [stdout] | [INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `Rectangle` [INFO] [stdout] --> src/main.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | struct Rectangle { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [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] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Rectangle` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/main.rs:56:52 [INFO] [stdout] | [INFO] [stdout] 56 | println!("The square of the rectangle is: {}", sq); [INFO] [stdout] | -- ^^ `Rectangle` cannot be formatted with the default formatter [INFO] [stdout] | | [INFO] [stdout] | required by this formatting parameter [INFO] [stdout] | [INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `Rectangle` [INFO] [stdout] --> src/main.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | struct Rectangle { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [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] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rectangles` (bin "rectangles" test) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rectangles` (bin "rectangles") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "1aac034c113d6fe0fa210793f2b1b3e2602989efff461a65e90642191e6be215", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1aac034c113d6fe0fa210793f2b1b3e2602989efff461a65e90642191e6be215", kill_on_drop: false }` [INFO] [stdout] 1aac034c113d6fe0fa210793f2b1b3e2602989efff461a65e90642191e6be215