[INFO] fetching crate distinct 0.1.1... [INFO] checking distinct-0.1.1 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate distinct 0.1.1 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate distinct 0.1.1 [INFO] finished tweaking crates.io crate distinct 0.1.1 [INFO] tweaked toml for crates.io crate distinct 0.1.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate distinct 0.1.1 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2346ce64526fb58b87a5b513fab2bfa6fa877455792cfaea0e972eeb613a5d69 [INFO] running `Command { std: "docker" "start" "-a" "2346ce64526fb58b87a5b513fab2bfa6fa877455792cfaea0e972eeb613a5d69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2346ce64526fb58b87a5b513fab2bfa6fa877455792cfaea0e972eeb613a5d69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2346ce64526fb58b87a5b513fab2bfa6fa877455792cfaea0e972eeb613a5d69", kill_on_drop: false }` [INFO] [stdout] 2346ce64526fb58b87a5b513fab2bfa6fa877455792cfaea0e972eeb613a5d69 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 79fe6eb51baea32194d2e7fd2405184e37433434efe85c411af940935160137a [INFO] running `Command { std: "docker" "start" "-a" "79fe6eb51baea32194d2e7fd2405184e37433434efe85c411af940935160137a", kill_on_drop: false }` [INFO] [stderr] Checking distinct v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0366]: `!Sync` impls cannot be specialized [INFO] [stdout] --> src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | impl !Sync for PairOfPhantoms {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `T` is mentioned multiple times [INFO] [stdout] note: use the same sequence of generic lifetime, type and const parameters as the struct definition [INFO] [stdout] --> src/lib.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct PairOfPhantoms { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `PairOfPhantoms` cannot be shared between threads safely [INFO] [stdout] --> src/lib.rs:59:30 [INFO] [stdout] | [INFO] [stdout] 59 | assert_is_distinct::<(u32, u64)>(); [INFO] [stdout] | ^^^^^^^^^^ `PairOfPhantoms` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `PairOfPhantoms` [INFO] [stdout] = help: the trait `Distinct` is implemented for `(T, U)` [INFO] [stdout] note: required for `(u32, u64)` to implement `Distinct` [INFO] [stdout] --> src/lib.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl Distinct for (T, U) where PairOfPhantoms: Sync {} [INFO] [stdout] | ^^^^^^^^ ^^^^^^ ---- unsatisfied trait bound introduced here [INFO] [stdout] note: required by a bound in `assert_is_distinct` [INFO] [stdout] --> src/lib.rs:54:30 [INFO] [stdout] | [INFO] [stdout] 54 | fn assert_is_distinct() {} [INFO] [stdout] | ^^^^^^^^ required by this bound in `assert_is_distinct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `PairOfPhantoms` cannot be shared between threads safely [INFO] [stdout] --> src/lib.rs:60:30 [INFO] [stdout] | [INFO] [stdout] 60 | assert_is_distinct::<(usize, u64)>(); [INFO] [stdout] | ^^^^^^^^^^^^ `PairOfPhantoms` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `PairOfPhantoms` [INFO] [stdout] = help: the trait `Distinct` is implemented for `(T, U)` [INFO] [stdout] note: required for `(usize, u64)` to implement `Distinct` [INFO] [stdout] --> src/lib.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl Distinct for (T, U) where PairOfPhantoms: Sync {} [INFO] [stdout] | ^^^^^^^^ ^^^^^^ ---- unsatisfied trait bound introduced here [INFO] [stdout] note: required by a bound in `assert_is_distinct` [INFO] [stdout] --> src/lib.rs:54:30 [INFO] [stdout] | [INFO] [stdout] 54 | fn assert_is_distinct() {} [INFO] [stdout] | ^^^^^^^^ required by this bound in `assert_is_distinct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0366. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `distinct` (lib test) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0366]: `!Sync` impls cannot be specialized [INFO] [stdout] --> src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | impl !Sync for PairOfPhantoms {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `T` is mentioned multiple times [INFO] [stdout] note: use the same sequence of generic lifetime, type and const parameters as the struct definition [INFO] [stdout] --> src/lib.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct PairOfPhantoms { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0366`. [INFO] [stdout] [INFO] [stderr] error: could not compile `distinct` (lib) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "79fe6eb51baea32194d2e7fd2405184e37433434efe85c411af940935160137a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79fe6eb51baea32194d2e7fd2405184e37433434efe85c411af940935160137a", kill_on_drop: false }` [INFO] [stdout] 79fe6eb51baea32194d2e7fd2405184e37433434efe85c411af940935160137a