[INFO] cloning repository https://github.com/dpl0a/type-aliasing-bug [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dpl0a/type-aliasing-bug" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdpl0a%2Ftype-aliasing-bug", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdpl0a%2Ftype-aliasing-bug'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6461aafd9dd84548736c956d2dd0f0a09c16975f [INFO] testing dpl0a/type-aliasing-bug/6461aafd9dd84548736c956d2dd0f0a09c16975f against 1.81.0 for beta-1.82-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdpl0a%2Ftype-aliasing-bug" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dpl0a/type-aliasing-bug on toolchain 1.81.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.81.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dpl0a/type-aliasing-bug [INFO] finished tweaking git repo https://github.com/dpl0a/type-aliasing-bug [INFO] tweaked toml for git repo https://github.com/dpl0a/type-aliasing-bug written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/dpl0a/type-aliasing-bug 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" "+1.81.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+1.81.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3272d1cf8eb658f626397705e41f1faf7dd373a5c00f5a02bc9f6d81e2748cdc [INFO] running `Command { std: "docker" "start" "-a" "3272d1cf8eb658f626397705e41f1faf7dd373a5c00f5a02bc9f6d81e2748cdc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3272d1cf8eb658f626397705e41f1faf7dd373a5c00f5a02bc9f6d81e2748cdc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3272d1cf8eb658f626397705e41f1faf7dd373a5c00f5a02bc9f6d81e2748cdc", kill_on_drop: false }` [INFO] [stdout] 3272d1cf8eb658f626397705e41f1faf7dd373a5c00f5a02bc9f6d81e2748cdc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+1.81.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9b6aed4689fcfff09cffe5df825b93a5a30f8d2043fd18cdd6309bc21b883c7c [INFO] running `Command { std: "docker" "start" "-a" "9b6aed4689fcfff09cffe5df825b93a5a30f8d2043fd18cdd6309bc21b883c7c", kill_on_drop: false }` [INFO] [stderr] Compiling type-aliasing-bug v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `t` is never read [INFO] [stdout] --> src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct BarStruct { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 6 | t: C, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Whatever` is never used [INFO] [stdout] --> src/lib.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | trait Whatever { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FooError` is never used [INFO] [stdout] --> src/lib.rs:36:6 [INFO] [stdout] | [INFO] [stdout] 36 | enum FooError { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] running `Command { std: "docker" "inspect" "9b6aed4689fcfff09cffe5df825b93a5a30f8d2043fd18cdd6309bc21b883c7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b6aed4689fcfff09cffe5df825b93a5a30f8d2043fd18cdd6309bc21b883c7c", kill_on_drop: false }` [INFO] [stdout] 9b6aed4689fcfff09cffe5df825b93a5a30f8d2043fd18cdd6309bc21b883c7c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+1.81.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 44c43fb5b03b259185231081820c7c78a8fccd1801e883cbd299c9211c17ce5c [INFO] running `Command { std: "docker" "start" "-a" "44c43fb5b03b259185231081820c7c78a8fccd1801e883cbd299c9211c17ce5c", kill_on_drop: false }` [INFO] [stdout] warning: field `t` is never read [INFO] [stdout] --> src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct BarStruct { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 6 | t: C, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Whatever` is never used [INFO] [stdout] --> src/lib.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | trait Whatever { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling foo v0.1.0 (/opt/rustwide/workdir/foo) [INFO] [stdout] warning: enum `FooError` is never used [INFO] [stdout] --> src/lib.rs:36:6 [INFO] [stdout] | [INFO] [stdout] 36 | enum FooError { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling type-aliasing-bug v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the trait bound `type_aliasing_bug::BarStruct: Whatever` is not satisfied [INFO] [stdout] --> src/lib.rs:58:27 [INFO] [stdout] | [INFO] [stdout] 58 | assert_eq!(A::bar(foo), Err(FooError::One)) [INFO] [stdout] | ------ ^^^ the trait `Whatever` is not implemented for `type_aliasing_bug::BarStruct` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Whatever` is implemented for `BarStruct` [INFO] [stdout] note: required by a bound in `A::bar` [INFO] [stdout] --> src/lib.rs:51:27 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn bar(t: T) -> Result { [INFO] [stdout] | ^^^^^^^^ required by this bound in `A::bar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `type-aliasing-bug` (lib test) due to 2 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "44c43fb5b03b259185231081820c7c78a8fccd1801e883cbd299c9211c17ce5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44c43fb5b03b259185231081820c7c78a8fccd1801e883cbd299c9211c17ce5c", kill_on_drop: false }` [INFO] [stdout] 44c43fb5b03b259185231081820c7c78a8fccd1801e883cbd299c9211c17ce5c