[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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdpl0a%2Ftype-aliasing-bug: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdpl0a%2Ftype-aliasing-bug: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 2) [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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdpl0a%2Ftype-aliasing-bug: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 3) [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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdpl0a%2Ftype-aliasing-bug: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 4) [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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdpl0a%2Ftype-aliasing-bug: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 5) [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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdpl0a%2Ftype-aliasing-bug: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 6) [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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdpl0a%2Ftype-aliasing-bug: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 7) [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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdpl0a%2Ftype-aliasing-bug: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 8) [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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdpl0a%2Ftype-aliasing-bug: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 9) [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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdpl0a%2Ftype-aliasing-bug: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 10) [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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdpl0a%2Ftype-aliasing-bug: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 11) [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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdpl0a%2Ftype-aliasing-bug: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 12) [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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdpl0a%2Ftype-aliasing-bug: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 13) [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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdpl0a%2Ftype-aliasing-bug: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 14) [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] checking dpl0a/type-aliasing-bug against master#ba7e63b63871a429533c189adbfb1d9a6337e000 for pr-135331-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdpl0a%2Ftype-aliasing-bug" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [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-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dpl0a/type-aliasing-bug on toolchain ba7e63b63871a429533c189adbfb1d9a6337e000 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ba7e63b63871a429533c189adbfb1d9a6337e000" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+ba7e63b63871a429533c189adbfb1d9a6337e000" "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-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+ba7e63b63871a429533c189adbfb1d9a6337e000" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b1f84d3b6c1d0f8acccaf34a0d0aa5d10a43be66be9d88179935900ef76d6db1 [INFO] running `Command { std: "docker" "start" "-a" "b1f84d3b6c1d0f8acccaf34a0d0aa5d10a43be66be9d88179935900ef76d6db1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b1f84d3b6c1d0f8acccaf34a0d0aa5d10a43be66be9d88179935900ef76d6db1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1f84d3b6c1d0f8acccaf34a0d0aa5d10a43be66be9d88179935900ef76d6db1", kill_on_drop: false }` [INFO] [stdout] b1f84d3b6c1d0f8acccaf34a0d0aa5d10a43be66be9d88179935900ef76d6db1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+ba7e63b63871a429533c189adbfb1d9a6337e000" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8cc3f761a4e8e638a9c361bb7fbaca4067c1e44a687247abb0e5658523211438 [INFO] running `Command { std: "docker" "start" "-a" "8cc3f761a4e8e638a9c361bb7fbaca4067c1e44a687247abb0e5658523211438", kill_on_drop: false }` [INFO] [stderr] Checking 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] [stderr] Checking foo v0.1.0 (/opt/rustwide/workdir/foo) [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] note: there are multiple different versions of crate `type_aliasing_bug` in the dependency graph [INFO] [stdout] --> src/lib.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct BarStruct { [INFO] [stdout] | ------------------------------ this type implements the required trait [INFO] [stdout] ... [INFO] [stdout] 16 | trait Whatever { [INFO] [stdout] | ^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] ... [INFO] [stdout] 44 | use foo::TestBar; [INFO] [stdout] | --- one version of crate `type_aliasing_bug` used here, as a dependency of crate `foo` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Cache { [INFO] [stdout] | --------------- this is the found trait [INFO] [stdout] ... [INFO] [stdout] 5 | pub struct BarStruct { [INFO] [stdout] | ------------------------------ this type doesn't implement the required trait [INFO] [stdout] = note: two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [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] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `type-aliasing-bug` (lib test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "8cc3f761a4e8e638a9c361bb7fbaca4067c1e44a687247abb0e5658523211438", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8cc3f761a4e8e638a9c361bb7fbaca4067c1e44a687247abb0e5658523211438", kill_on_drop: false }` [INFO] [stdout] 8cc3f761a4e8e638a9c361bb7fbaca4067c1e44a687247abb0e5658523211438