[INFO] fetching crate distinct 0.1.1... [INFO] checking distinct-0.1.1 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate distinct 0.1.1 into /workspace/builds/worker-7-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-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate distinct 0.1.1 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d353ee25967308d288321c325e64b44f82049ee647f58764e06f1a24be0e37d6 [INFO] running `Command { std: "docker" "start" "-a" "d353ee25967308d288321c325e64b44f82049ee647f58764e06f1a24be0e37d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d353ee25967308d288321c325e64b44f82049ee647f58764e06f1a24be0e37d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d353ee25967308d288321c325e64b44f82049ee647f58764e06f1a24be0e37d6", kill_on_drop: false }` [INFO] [stdout] d353ee25967308d288321c325e64b44f82049ee647f58764e06f1a24be0e37d6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 037adecb17b56fac67fab6fecc293ee0304e2de16974bd0ec4f6295b7b8aefac [INFO] running `Command { std: "docker" "start" "-a" "037adecb17b56fac67fab6fecc293ee0304e2de16974bd0ec4f6295b7b8aefac", 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] 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] [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] 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] running `Command { std: "docker" "inspect" "037adecb17b56fac67fab6fecc293ee0304e2de16974bd0ec4f6295b7b8aefac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "037adecb17b56fac67fab6fecc293ee0304e2de16974bd0ec4f6295b7b8aefac", kill_on_drop: false }` [INFO] [stdout] 037adecb17b56fac67fab6fecc293ee0304e2de16974bd0ec4f6295b7b8aefac