[INFO] fetching crate atomic-types 0.1.0... [INFO] checking atomic-types-0.1.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate atomic-types 0.1.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate atomic-types 0.1.0 [INFO] finished tweaking crates.io crate atomic-types 0.1.0 [INFO] tweaked toml for crates.io crate atomic-types 0.1.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate atomic-types 0.1.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 34733ca1eac26b87bb5840368f47f9c6a6348477be0e62fc6349eab1863ea953 [INFO] running `Command { std: "docker" "start" "-a" "34733ca1eac26b87bb5840368f47f9c6a6348477be0e62fc6349eab1863ea953", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "34733ca1eac26b87bb5840368f47f9c6a6348477be0e62fc6349eab1863ea953", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34733ca1eac26b87bb5840368f47f9c6a6348477be0e62fc6349eab1863ea953", kill_on_drop: false }` [INFO] [stdout] 34733ca1eac26b87bb5840368f47f9c6a6348477be0e62fc6349eab1863ea953 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7c89a647244f2dcaded1592264ef5e3b8570cc33f97049a94beb3eefb2ac14f2 [INFO] running `Command { std: "docker" "start" "-a" "7c89a647244f2dcaded1592264ef5e3b8570cc33f97049a94beb3eefb2ac14f2", kill_on_drop: false }` [INFO] [stderr] Checking atomic-types v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0659]: `Atomic` is ambiguous [INFO] [stdout] --> src/impls.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | impl Atomic for AtomicUsize { [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Atomic` could refer to the trait imported here [INFO] [stdout] --> src/impls.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::traits::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Atomic` to disambiguate [INFO] [stdout] note: `Atomic` could also refer to the type alias imported here [INFO] [stdout] --> src/impls.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use core::sync::atomic::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Atomic` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Atomic` is ambiguous [INFO] [stdout] --> src/impls.rs:78:6 [INFO] [stdout] | [INFO] [stdout] 78 | impl Atomic for AtomicIsize { [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Atomic` could refer to the trait imported here [INFO] [stdout] --> src/impls.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::traits::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Atomic` to disambiguate [INFO] [stdout] note: `Atomic` could also refer to the type alias imported here [INFO] [stdout] --> src/impls.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use core::sync::atomic::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Atomic` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Atomic` is ambiguous [INFO] [stdout] --> src/impls.rs:148:6 [INFO] [stdout] | [INFO] [stdout] 148 | impl Atomic for AtomicU64 { [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Atomic` could refer to the trait imported here [INFO] [stdout] --> src/impls.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::traits::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Atomic` to disambiguate [INFO] [stdout] note: `Atomic` could also refer to the type alias imported here [INFO] [stdout] --> src/impls.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use core::sync::atomic::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Atomic` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Atomic` is ambiguous [INFO] [stdout] --> src/impls.rs:218:6 [INFO] [stdout] | [INFO] [stdout] 218 | impl Atomic for AtomicI64 { [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Atomic` could refer to the trait imported here [INFO] [stdout] --> src/impls.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::traits::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Atomic` to disambiguate [INFO] [stdout] note: `Atomic` could also refer to the type alias imported here [INFO] [stdout] --> src/impls.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use core::sync::atomic::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Atomic` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Atomic` is ambiguous [INFO] [stdout] --> src/impls.rs:288:6 [INFO] [stdout] | [INFO] [stdout] 288 | impl Atomic for AtomicU32 { [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Atomic` could refer to the trait imported here [INFO] [stdout] --> src/impls.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::traits::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Atomic` to disambiguate [INFO] [stdout] note: `Atomic` could also refer to the type alias imported here [INFO] [stdout] --> src/impls.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use core::sync::atomic::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Atomic` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Atomic` is ambiguous [INFO] [stdout] --> src/impls.rs:358:6 [INFO] [stdout] | [INFO] [stdout] 358 | impl Atomic for AtomicI32 { [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Atomic` could refer to the trait imported here [INFO] [stdout] --> src/impls.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::traits::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Atomic` to disambiguate [INFO] [stdout] note: `Atomic` could also refer to the type alias imported here [INFO] [stdout] --> src/impls.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use core::sync::atomic::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Atomic` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Atomic` is ambiguous [INFO] [stdout] --> src/impls.rs:428:6 [INFO] [stdout] | [INFO] [stdout] 428 | impl Atomic for AtomicU16 { [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Atomic` could refer to the trait imported here [INFO] [stdout] --> src/impls.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::traits::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Atomic` to disambiguate [INFO] [stdout] note: `Atomic` could also refer to the type alias imported here [INFO] [stdout] --> src/impls.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use core::sync::atomic::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Atomic` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Atomic` is ambiguous [INFO] [stdout] --> src/impls.rs:498:6 [INFO] [stdout] | [INFO] [stdout] 498 | impl Atomic for AtomicI16 { [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Atomic` could refer to the trait imported here [INFO] [stdout] --> src/impls.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::traits::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Atomic` to disambiguate [INFO] [stdout] note: `Atomic` could also refer to the type alias imported here [INFO] [stdout] --> src/impls.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use core::sync::atomic::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Atomic` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Atomic` is ambiguous [INFO] [stdout] --> src/impls.rs:568:6 [INFO] [stdout] | [INFO] [stdout] 568 | impl Atomic for AtomicU8 { [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Atomic` could refer to the trait imported here [INFO] [stdout] --> src/impls.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::traits::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Atomic` to disambiguate [INFO] [stdout] note: `Atomic` could also refer to the type alias imported here [INFO] [stdout] --> src/impls.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use core::sync::atomic::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Atomic` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Atomic` is ambiguous [INFO] [stdout] --> src/impls.rs:638:6 [INFO] [stdout] | [INFO] [stdout] 638 | impl Atomic for AtomicI8 { [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Atomic` could refer to the trait imported here [INFO] [stdout] --> src/impls.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::traits::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Atomic` to disambiguate [INFO] [stdout] note: `Atomic` could also refer to the type alias imported here [INFO] [stdout] --> src/impls.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use core::sync::atomic::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Atomic` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Atomic` is ambiguous [INFO] [stdout] --> src/impls.rs:708:6 [INFO] [stdout] | [INFO] [stdout] 708 | impl Atomic for AtomicBool { [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Atomic` could refer to the trait imported here [INFO] [stdout] --> src/impls.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::traits::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Atomic` to disambiguate [INFO] [stdout] note: `Atomic` could also refer to the type alias imported here [INFO] [stdout] --> src/impls.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use core::sync::atomic::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Atomic` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Atomic` is ambiguous [INFO] [stdout] --> src/impls.rs:769:9 [INFO] [stdout] | [INFO] [stdout] 769 | impl Atomic<*mut T> for AtomicPtr { [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Atomic` could refer to the trait imported here [INFO] [stdout] --> src/impls.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::traits::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Atomic` to disambiguate [INFO] [stdout] note: `Atomic` could also refer to the type alias imported here [INFO] [stdout] --> src/impls.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use core::sync::atomic::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Atomic` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `impls::*` [INFO] [stdout] --> src/lib.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use impls::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/impls.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | self.compare_and_swap(current, new, order) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::sync::atomic::AtomicIsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/impls.rs:98:14 [INFO] [stdout] | [INFO] [stdout] 98 | self.compare_and_swap(current, new, order) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::sync::atomic::AtomicU64::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/impls.rs:168:14 [INFO] [stdout] | [INFO] [stdout] 168 | self.compare_and_swap(current, new, order) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::sync::atomic::AtomicI64::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/impls.rs:238:14 [INFO] [stdout] | [INFO] [stdout] 238 | self.compare_and_swap(current, new, order) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::sync::atomic::AtomicU32::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/impls.rs:308:14 [INFO] [stdout] | [INFO] [stdout] 308 | self.compare_and_swap(current, new, order) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::sync::atomic::AtomicI32::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/impls.rs:378:14 [INFO] [stdout] | [INFO] [stdout] 378 | self.compare_and_swap(current, new, order) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::sync::atomic::AtomicU16::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/impls.rs:448:14 [INFO] [stdout] | [INFO] [stdout] 448 | self.compare_and_swap(current, new, order) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::sync::atomic::AtomicI16::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/impls.rs:518:14 [INFO] [stdout] | [INFO] [stdout] 518 | self.compare_and_swap(current, new, order) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::sync::atomic::AtomicU8::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/impls.rs:588:14 [INFO] [stdout] | [INFO] [stdout] 588 | self.compare_and_swap(current, new, order) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::sync::atomic::AtomicI8::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/impls.rs:658:14 [INFO] [stdout] | [INFO] [stdout] 658 | self.compare_and_swap(current, new, order) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/impls.rs:728:14 [INFO] [stdout] | [INFO] [stdout] 728 | self.compare_and_swap(current, new, order) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Atomic` is ambiguous [INFO] [stdout] --> src/impls.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | impl Atomic for AtomicUsize { [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Atomic` could refer to the trait imported here [INFO] [stdout] --> src/impls.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::traits::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Atomic` to disambiguate [INFO] [stdout] note: `Atomic` could also refer to the type alias imported here [INFO] [stdout] --> src/impls.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use core::sync::atomic::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Atomic` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Atomic` is ambiguous [INFO] [stdout] --> src/impls.rs:78:6 [INFO] [stdout] | [INFO] [stdout] 78 | impl Atomic for AtomicIsize { [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Atomic` could refer to the trait imported here [INFO] [stdout] --> src/impls.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::traits::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Atomic` to disambiguate [INFO] [stdout] note: `Atomic` could also refer to the type alias imported here [INFO] [stdout] --> src/impls.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use core::sync::atomic::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Atomic` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Atomic` is ambiguous [INFO] [stdout] --> src/impls.rs:148:6 [INFO] [stdout] | [INFO] [stdout] 148 | impl Atomic for AtomicU64 { [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Atomic` could refer to the trait imported here [INFO] [stdout] --> src/impls.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::traits::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Atomic` to disambiguate [INFO] [stdout] note: `Atomic` could also refer to the type alias imported here [INFO] [stdout] --> src/impls.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use core::sync::atomic::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Atomic` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Atomic` is ambiguous [INFO] [stdout] --> src/impls.rs:218:6 [INFO] [stdout] | [INFO] [stdout] 218 | impl Atomic for AtomicI64 { [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Atomic` could refer to the trait imported here [INFO] [stdout] --> src/impls.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::traits::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Atomic` to disambiguate [INFO] [stdout] note: `Atomic` could also refer to the type alias imported here [INFO] [stdout] --> src/impls.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use core::sync::atomic::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Atomic` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Atomic` is ambiguous [INFO] [stdout] --> src/impls.rs:288:6 [INFO] [stdout] | [INFO] [stdout] 288 | impl Atomic for AtomicU32 { [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Atomic` could refer to the trait imported here [INFO] [stdout] --> src/impls.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::traits::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Atomic` to disambiguate [INFO] [stdout] note: `Atomic` could also refer to the type alias imported here [INFO] [stdout] --> src/impls.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use core::sync::atomic::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Atomic` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Atomic` is ambiguous [INFO] [stdout] --> src/impls.rs:358:6 [INFO] [stdout] | [INFO] [stdout] 358 | impl Atomic for AtomicI32 { [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Atomic` could refer to the trait imported here [INFO] [stdout] --> src/impls.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::traits::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Atomic` to disambiguate [INFO] [stdout] note: `Atomic` could also refer to the type alias imported here [INFO] [stdout] --> src/impls.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use core::sync::atomic::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Atomic` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Atomic` is ambiguous [INFO] [stdout] --> src/impls.rs:428:6 [INFO] [stdout] | [INFO] [stdout] 428 | impl Atomic for AtomicU16 { [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Atomic` could refer to the trait imported here [INFO] [stdout] --> src/impls.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::traits::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Atomic` to disambiguate [INFO] [stdout] note: `Atomic` could also refer to the type alias imported here [INFO] [stdout] --> src/impls.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use core::sync::atomic::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Atomic` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Atomic` is ambiguous [INFO] [stdout] --> src/impls.rs:498:6 [INFO] [stdout] | [INFO] [stdout] 498 | impl Atomic for AtomicI16 { [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Atomic` could refer to the trait imported here [INFO] [stdout] --> src/impls.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::traits::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Atomic` to disambiguate [INFO] [stdout] note: `Atomic` could also refer to the type alias imported here [INFO] [stdout] --> src/impls.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use core::sync::atomic::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Atomic` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Atomic` is ambiguous [INFO] [stdout] --> src/impls.rs:568:6 [INFO] [stdout] | [INFO] [stdout] 568 | impl Atomic for AtomicU8 { [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Atomic` could refer to the trait imported here [INFO] [stdout] --> src/impls.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::traits::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Atomic` to disambiguate [INFO] [stdout] note: `Atomic` could also refer to the type alias imported here [INFO] [stdout] --> src/impls.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use core::sync::atomic::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Atomic` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Atomic` is ambiguous [INFO] [stdout] --> src/impls.rs:638:6 [INFO] [stdout] | [INFO] [stdout] 638 | impl Atomic for AtomicI8 { [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Atomic` could refer to the trait imported here [INFO] [stdout] --> src/impls.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::traits::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Atomic` to disambiguate [INFO] [stdout] note: `Atomic` could also refer to the type alias imported here [INFO] [stdout] --> src/impls.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use core::sync::atomic::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Atomic` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::sync::atomic::AtomicPtr::::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/impls.rs:789:14 [INFO] [stdout] | [INFO] [stdout] 789 | self.compare_and_swap(current, new, order) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Atomic` is ambiguous [INFO] [stdout] --> src/impls.rs:708:6 [INFO] [stdout] | [INFO] [stdout] 708 | impl Atomic for AtomicBool { [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Atomic` could refer to the trait imported here [INFO] [stdout] --> src/impls.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::traits::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Atomic` to disambiguate [INFO] [stdout] note: `Atomic` could also refer to the type alias imported here [INFO] [stdout] --> src/impls.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use core::sync::atomic::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Atomic` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Atomic` is ambiguous [INFO] [stdout] --> src/impls.rs:769:9 [INFO] [stdout] | [INFO] [stdout] 769 | impl Atomic<*mut T> for AtomicPtr { [INFO] [stdout] | ^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `Atomic` could refer to the trait imported here [INFO] [stdout] --> src/impls.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::traits::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Atomic` to disambiguate [INFO] [stdout] note: `Atomic` could also refer to the type alias imported here [INFO] [stdout] --> src/impls.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use core::sync::atomic::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `Atomic` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `impls::*` [INFO] [stdout] --> src/lib.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use impls::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0659`. [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/impls.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | self.compare_and_swap(current, new, order) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::sync::atomic::AtomicIsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/impls.rs:98:14 [INFO] [stdout] | [INFO] [stdout] 98 | self.compare_and_swap(current, new, order) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `atomic-types` (lib test) due to 12 previous errors; 13 warnings emitted [INFO] [stdout] warning: use of deprecated method `core::sync::atomic::AtomicU64::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/impls.rs:168:14 [INFO] [stdout] | [INFO] [stdout] 168 | self.compare_and_swap(current, new, order) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: use of deprecated method `core::sync::atomic::AtomicI64::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/impls.rs:238:14 [INFO] [stdout] | [INFO] [stdout] 238 | self.compare_and_swap(current, new, order) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::sync::atomic::AtomicU32::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/impls.rs:308:14 [INFO] [stdout] | [INFO] [stdout] 308 | self.compare_and_swap(current, new, order) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::sync::atomic::AtomicI32::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/impls.rs:378:14 [INFO] [stdout] | [INFO] [stdout] 378 | self.compare_and_swap(current, new, order) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::sync::atomic::AtomicU16::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/impls.rs:448:14 [INFO] [stdout] | [INFO] [stdout] 448 | self.compare_and_swap(current, new, order) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::sync::atomic::AtomicI16::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/impls.rs:518:14 [INFO] [stdout] | [INFO] [stdout] 518 | self.compare_and_swap(current, new, order) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::sync::atomic::AtomicU8::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/impls.rs:588:14 [INFO] [stdout] | [INFO] [stdout] 588 | self.compare_and_swap(current, new, order) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::sync::atomic::AtomicI8::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/impls.rs:658:14 [INFO] [stdout] | [INFO] [stdout] 658 | self.compare_and_swap(current, new, order) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/impls.rs:728:14 [INFO] [stdout] | [INFO] [stdout] 728 | self.compare_and_swap(current, new, order) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::sync::atomic::AtomicPtr::::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/impls.rs:789:14 [INFO] [stdout] | [INFO] [stdout] 789 | self.compare_and_swap(current, new, order) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0659`. [INFO] [stdout] [INFO] [stderr] error: could not compile `atomic-types` (lib) due to 12 previous errors; 13 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7c89a647244f2dcaded1592264ef5e3b8570cc33f97049a94beb3eefb2ac14f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c89a647244f2dcaded1592264ef5e3b8570cc33f97049a94beb3eefb2ac14f2", kill_on_drop: false }` [INFO] [stdout] 7c89a647244f2dcaded1592264ef5e3b8570cc33f97049a94beb3eefb2ac14f2