[INFO] cloning repository https://github.com/bplower/rust-shapes-demo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bplower/rust-shapes-demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbplower%2Frust-shapes-demo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbplower%2Frust-shapes-demo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 698a136c89518738006155467cc5fc3fb4d23163 [INFO] testing bplower/rust-shapes-demo against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbplower%2Frust-shapes-demo" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bplower/rust-shapes-demo on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/bplower/rust-shapes-demo [INFO] finished tweaking git repo https://github.com/bplower/rust-shapes-demo [INFO] tweaked toml for git repo https://github.com/bplower/rust-shapes-demo written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/bplower/rust-shapes-demo already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2932f7741b374302afc00da6fbe46506cdcafc8add069a8361e839640ef8f535 [INFO] running `Command { std: "docker" "start" "-a" "2932f7741b374302afc00da6fbe46506cdcafc8add069a8361e839640ef8f535", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2932f7741b374302afc00da6fbe46506cdcafc8add069a8361e839640ef8f535", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2932f7741b374302afc00da6fbe46506cdcafc8add069a8361e839640ef8f535", kill_on_drop: false }` [INFO] [stdout] 2932f7741b374302afc00da6fbe46506cdcafc8add069a8361e839640ef8f535 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9c320776a5b6e2c9ed3df382f213eca5422ac965dbc2913f3a47ef0103b01d0b [INFO] running `Command { std: "docker" "start" "-a" "9c320776a5b6e2c9ed3df382f213eca5422ac965dbc2913f3a47ef0103b01d0b", kill_on_drop: false }` [INFO] [stderr] Compiling rust-shapes v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the trait bound `Rectangle: Volume` is not satisfied [INFO] [stdout] --> src/main.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 11 | fn printer(item: T) [INFO] [stdout] | ------- required by a bound in this [INFO] [stdout] 12 | where [INFO] [stdout] 13 | T: std::fmt::Debug + Volume + Density [INFO] [stdout] | ------ required by this bound in `printer` [INFO] [stdout] ... [INFO] [stdout] 26 | printer(r); [INFO] [stdout] | ^ the trait `Volume` is not implemented for `Rectangle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Rectangle: Mass` is not satisfied [INFO] [stdout] --> src/main.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 11 | fn printer(item: T) [INFO] [stdout] | ------- required by a bound in this [INFO] [stdout] 12 | where [INFO] [stdout] 13 | T: std::fmt::Debug + Volume + Density [INFO] [stdout] | ------- required by this bound in `printer` [INFO] [stdout] ... [INFO] [stdout] 26 | printer(r); [INFO] [stdout] | ^ the trait `Mass` is not implemented for `Rectangle` [INFO] [stdout] | [INFO] [stdout] note: required because of the requirements on the impl of `Density` for `Rectangle` [INFO] [stdout] --> src/traits.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | impl Density for T where T: Volume + Mass { [INFO] [stdout] | ^^^^^^^ ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-shapes` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "9c320776a5b6e2c9ed3df382f213eca5422ac965dbc2913f3a47ef0103b01d0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c320776a5b6e2c9ed3df382f213eca5422ac965dbc2913f3a47ef0103b01d0b", kill_on_drop: false }` [INFO] [stdout] 9c320776a5b6e2c9ed3df382f213eca5422ac965dbc2913f3a47ef0103b01d0b