[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 try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbplower%2Frust-shapes-demo" "/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/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-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/bplower/rust-shapes-demo on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/bplower/rust-shapes-demo 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e973ba8d0f22bf2d3308e4db9700c5c9fc1761771848931e185301135e9d524d [INFO] running `Command { std: "docker" "start" "-a" "e973ba8d0f22bf2d3308e4db9700c5c9fc1761771848931e185301135e9d524d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e973ba8d0f22bf2d3308e4db9700c5c9fc1761771848931e185301135e9d524d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e973ba8d0f22bf2d3308e4db9700c5c9fc1761771848931e185301135e9d524d", kill_on_drop: false }` [INFO] [stdout] e973ba8d0f22bf2d3308e4db9700c5c9fc1761771848931e185301135e9d524d [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b7fc46e0cccd12f16b344180dbd6fcdc4d8599aaec6c4021fd8b46fd60652e6b [INFO] running `Command { std: "docker" "start" "-a" "b7fc46e0cccd12f16b344180dbd6fcdc4d8599aaec6c4021fd8b46fd60652e6b", 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] 26 | printer(r); [INFO] [stdout] | ------- ^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Volume` is not implemented for `Rectangle` [INFO] [stdout] --> src/rectangle.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Rectangle { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Volume`: [INFO] [stdout] Cube [INFO] [stdout] Sphere [INFO] [stdout] note: required by a bound in `printer` [INFO] [stdout] --> src/main.rs:13:26 [INFO] [stdout] | [INFO] [stdout] 11 | fn printer(item: T) [INFO] [stdout] | ------- required by a bound in this function [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] [INFO] [stdout] error[E0277]: the trait bound `Rectangle: Density` is not satisfied [INFO] [stdout] --> src/main.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | printer(r); [INFO] [stdout] | ------- ^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Mass` is not implemented for `Rectangle` [INFO] [stdout] --> src/rectangle.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Rectangle { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Mass`: [INFO] [stdout] Cube [INFO] [stdout] Sphere [INFO] [stdout] note: required for `Rectangle` to implement `Density` [INFO] [stdout] --> src/traits.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | impl Density for T where T: Volume + Mass { [INFO] [stdout] | ^^^^^^^ ^ ---- unsatisfied trait bound introduced here [INFO] [stdout] note: required by a bound in `printer` [INFO] [stdout] --> src/main.rs:13:35 [INFO] [stdout] | [INFO] [stdout] 11 | fn printer(item: T) [INFO] [stdout] | ------- required by a bound in this function [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] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-shapes` (bin "rust-shapes") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "b7fc46e0cccd12f16b344180dbd6fcdc4d8599aaec6c4021fd8b46fd60652e6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7fc46e0cccd12f16b344180dbd6fcdc4d8599aaec6c4021fd8b46fd60652e6b", kill_on_drop: false }` [INFO] [stdout] b7fc46e0cccd12f16b344180dbd6fcdc4d8599aaec6c4021fd8b46fd60652e6b