[INFO] fetching crate atomic_fn 0.2.1...
[INFO] testing atomic_fn-0.2.1 against nightly-2025-01-18+rustflags=-Zrandomize-layout for randomize-layout-2
[INFO] extracting crate atomic_fn 0.2.1 into /workspace/builds/worker-2-tc2/source
[INFO] validating manifest of crates.io crate atomic_fn 0.2.1 on toolchain nightly-2025-01-18
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2025-01-18" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate atomic_fn 0.2.1
[INFO] finished tweaking crates.io crate atomic_fn 0.2.1
[INFO] tweaked toml for crates.io crate atomic_fn 0.2.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2025-01-18" "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" "+nightly-2025-01-18" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 378620f8dd3c124d06ca5cdaf9adbb8be99db98d2dd8c051685526efa8d27f63
[INFO] running `Command { std: "docker" "start" "-a" "378620f8dd3c124d06ca5cdaf9adbb8be99db98d2dd8c051685526efa8d27f63", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "378620f8dd3c124d06ca5cdaf9adbb8be99db98d2dd8c051685526efa8d27f63", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "378620f8dd3c124d06ca5cdaf9adbb8be99db98d2dd8c051685526efa8d27f63", kill_on_drop: false }`
[INFO] [stdout] 378620f8dd3c124d06ca5cdaf9adbb8be99db98d2dd8c051685526efa8d27f63
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Zrandomize-layout" "-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 405d444c6b6b8e58d5d198e5ddfaf570f58fb44eceb8a1ed4a0b7a851a936577
[INFO] running `Command { std: "docker" "start" "-a" "405d444c6b6b8e58d5d198e5ddfaf570f58fb44eceb8a1ed4a0b7a851a936577", kill_on_drop: false }`
[INFO] [stderr]    Compiling atomic_fn v0.2.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unexpected `cfg` condition value: `8`
[INFO] [stdout]   --> src/lib.rs:62:12
[INFO] [stdout]    |
[INFO] [stdout] 62 | #[cfg_attr(target_pointer_width = "8", repr(C, align(1)))]
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `target_pointer_width` are: `16`, `32`, and `64`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.24s
[INFO] running `Command { std: "docker" "inspect" "405d444c6b6b8e58d5d198e5ddfaf570f58fb44eceb8a1ed4a0b7a851a936577", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "405d444c6b6b8e58d5d198e5ddfaf570f58fb44eceb8a1ed4a0b7a851a936577", kill_on_drop: false }`
[INFO] [stdout] 405d444c6b6b8e58d5d198e5ddfaf570f58fb44eceb8a1ed4a0b7a851a936577
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Zrandomize-layout" "-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6afe085520d1f333d6d75effea86f7ad76016f7a03f5818a2a1f871c9f00c790
[INFO] running `Command { std: "docker" "start" "-a" "6afe085520d1f333d6d75effea86f7ad76016f7a03f5818a2a1f871c9f00c790", kill_on_drop: false }`
[INFO] [stdout] warning: unexpected `cfg` condition value: `8`
[INFO] [stdout]   --> src/lib.rs:62:12
[INFO] [stdout]    |
[INFO] [stdout] 62 | #[cfg_attr(target_pointer_width = "8", repr(C, align(1)))]
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `target_pointer_width` are: `16`, `32`, and `64`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling atomic_fn v0.2.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unexpected `cfg` condition value: `8`
[INFO] [stdout]   --> src/lib.rs:62:12
[INFO] [stdout]    |
[INFO] [stdout] 62 | #[cfg_attr(target_pointer_width = "8", repr(C, align(1)))]
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `target_pointer_width` are: `16`, `32`, and `64`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.27s
[INFO] running `Command { std: "docker" "inspect" "6afe085520d1f333d6d75effea86f7ad76016f7a03f5818a2a1f871c9f00c790", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6afe085520d1f333d6d75effea86f7ad76016f7a03f5818a2a1f871c9f00c790", kill_on_drop: false }`
[INFO] [stdout] 6afe085520d1f333d6d75effea86f7ad76016f7a03f5818a2a1f871c9f00c790
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Zrandomize-layout" "-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] a79d9b5d54a78ac949fbf5727ef2ea67af92d1aa8f2bd5c8df608be88cc7a156
[INFO] running `Command { std: "docker" "start" "-a" "a79d9b5d54a78ac949fbf5727ef2ea67af92d1aa8f2bd5c8df608be88cc7a156", kill_on_drop: false }`
[INFO] [stderr] warning: unexpected `cfg` condition value: `8`
[INFO] [stderr]   --> src/lib.rs:62:12
[INFO] [stderr]    |
[INFO] [stderr] 62 | #[cfg_attr(target_pointer_width = "8", repr(C, align(1)))]
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: expected values for `target_pointer_width` are: `16`, `32`, and `64`
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `atomic_fn` (lib) generated 1 warning
[INFO] [stderr] warning: `atomic_fn` (lib test) generated 1 warning (1 duplicate)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/atomic_fn-d6666a192ba05e32)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests atomic_fn
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test src/lib.rs - AtomicFnPtr<T>::compare_and_swap (line 184) ... FAILED
[INFO] [stdout] test src/lib.rs - AtomicFnPtr<T>::compare_exchange (line 246) ... FAILED
[INFO] [stdout] test src/lib.rs - AtomicFnPtr<T>::compare_exchange_weak (line 317) ... FAILED
[INFO] [stdout] test src/lib.rs - AtomicFnPtr<T>::fetch_update (line 397) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - AtomicFnPtr<T>::compare_and_swap (line 184) stdout ----
[INFO] [stdout] error[E0277]: the trait bound `fn() {a_fn}: atomic_fn::FnPtr` is not satisfied
[INFO] [stdout]   --> src/lib.rs:198:33
[INFO] [stdout]    |
[INFO] [stdout] 17 | let some_ptr = AtomicFnPtr::new(ptr);
[INFO] [stdout]    |                ---------------- ^^^ the trait `atomic_fn::FnPtr` is not implemented for fn item `fn() {a_fn}`
[INFO] [stdout]    |                |
[INFO] [stdout]    |                required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]    = help: the following other types implement trait `atomic_fn::FnPtr`:
[INFO] [stdout]              extern "C" fn() -> Ret
[INFO] [stdout]              extern "C" fn(A, B) -> Ret
[INFO] [stdout]              extern "C" fn(A, B, ...) -> Ret
[INFO] [stdout]              extern "C" fn(A, B, C) -> Ret
[INFO] [stdout]              extern "C" fn(A, B, C, ...) -> Ret
[INFO] [stdout]              extern "C" fn(A, B, C, D) -> Ret
[INFO] [stdout]              extern "C" fn(A, B, C, D, ...) -> Ret
[INFO] [stdout]              extern "C" fn(A, B, C, D, E) -> Ret
[INFO] [stdout]            and 86 others
[INFO] [stdout] note: required by a bound in `AtomicFnPtr::<T>::new`
[INFO] [stdout]   --> /opt/rustwide/workdir/src/lib.rs:70:9
[INFO] [stdout]    |
[INFO] [stdout] 70 | impl<T: FnPtr> AtomicFnPtr<T> {
[INFO] [stdout]    |         ^^^^^ required by this bound in `AtomicFnPtr::<T>::new`
[INFO] [stdout] ...
[INFO] [stdout] 73 |     pub fn new(fn_ptr: T) -> AtomicFnPtr<T> {
[INFO] [stdout]    |            --- required by a bound in this associated function
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `fn() {a_fn}: atomic_fn::FnPtr` is not satisfied
[INFO] [stdout]   --> src/lib.rs:198:16
[INFO] [stdout]    |
[INFO] [stdout] 17 | let some_ptr = AtomicFnPtr::new(ptr);
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^ the trait `atomic_fn::FnPtr` is not implemented for fn item `fn() {a_fn}`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the following other types implement trait `atomic_fn::FnPtr`:
[INFO] [stdout]              extern "C" fn() -> Ret
[INFO] [stdout]              extern "C" fn(A, B) -> Ret
[INFO] [stdout]              extern "C" fn(A, B, ...) -> Ret
[INFO] [stdout]              extern "C" fn(A, B, C) -> Ret
[INFO] [stdout]              extern "C" fn(A, B, C, ...) -> Ret
[INFO] [stdout]              extern "C" fn(A, B, C, D) -> Ret
[INFO] [stdout]              extern "C" fn(A, B, C, D, ...) -> Ret
[INFO] [stdout]              extern "C" fn(A, B, C, D, E) -> Ret
[INFO] [stdout]            and 86 others
[INFO] [stdout] note: required by a bound in `AtomicFnPtr`
[INFO] [stdout]   --> /opt/rustwide/workdir/src/lib.rs:66:27
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub struct AtomicFnPtr<T: FnPtr> {
[INFO] [stdout]    |                           ^^^^^ required by this bound in `AtomicFnPtr`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `load` exists for struct `AtomicFnPtr<fn() {a_fn}>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> src/lib.rs:201:11
[INFO] [stdout]    |
[INFO] [stdout] 20 | (some_ptr.load(Ordering::SeqCst))();
[INFO] [stdout]    |           ^^^^ method cannot be called on `AtomicFnPtr<fn() {a_fn}>` due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `fn() {a_fn}: atomic_fn::FnPtr`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `compare_and_swap` exists for struct `AtomicFnPtr<fn() {a_fn}>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> src/lib.rs:203:22
[INFO] [stdout]    |
[INFO] [stdout] 22 | let value = some_ptr.compare_and_swap(ptr, other_ptr, Ordering::Relaxed);
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^ method cannot be called on `AtomicFnPtr<fn() {a_fn}>` due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `fn() {a_fn}: atomic_fn::FnPtr`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `load` exists for struct `AtomicFnPtr<fn() {a_fn}>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> src/lib.rs:205:11
[INFO] [stdout]    |
[INFO] [stdout] 24 | (some_ptr.load(Ordering::SeqCst))();
[INFO] [stdout]    |           ^^^^ method cannot be called on `AtomicFnPtr<fn() {a_fn}>` due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `fn() {a_fn}: atomic_fn::FnPtr`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - AtomicFnPtr<T>::compare_exchange (line 246) stdout ----
[INFO] [stdout] error[E0277]: the trait bound `fn() {a_fn}: atomic_fn::FnPtr` is not satisfied
[INFO] [stdout]   --> src/lib.rs:260:34
[INFO] [stdout]    |
[INFO] [stdout] 17 | let some_ptr  = AtomicFnPtr::new(ptr);
[INFO] [stdout]    |                 ---------------- ^^^ the trait `atomic_fn::FnPtr` is not implemented for fn item `fn() {a_fn}`
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]    = help: the following other types implement trait `atomic_fn::FnPtr`:
[INFO] [stdout]              extern "C" fn() -> Ret
[INFO] [stdout]              extern "C" fn(A, B) -> Ret
[INFO] [stdout]              extern "C" fn(A, B, ...) -> Ret
[INFO] [stdout]              extern "C" fn(A, B, C) -> Ret
[INFO] [stdout]              extern "C" fn(A, B, C, ...) -> Ret
[INFO] [stdout]              extern "C" fn(A, B, C, D) -> Ret
[INFO] [stdout]              extern "C" fn(A, B, C, D, ...) -> Ret
[INFO] [stdout]              extern "C" fn(A, B, C, D, E) -> Ret
[INFO] [stdout]            and 86 others
[INFO] [stdout] note: required by a bound in `AtomicFnPtr::<T>::new`
[INFO] [stdout]   --> /opt/rustwide/workdir/src/lib.rs:70:9
[INFO] [stdout]    |
[INFO] [stdout] 70 | impl<T: FnPtr> AtomicFnPtr<T> {
[INFO] [stdout]    |         ^^^^^ required by this bound in `AtomicFnPtr::<T>::new`
[INFO] [stdout] ...
[INFO] [stdout] 73 |     pub fn new(fn_ptr: T) -> AtomicFnPtr<T> {
[INFO] [stdout]    |            --- required by a bound in this associated function
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `fn() {a_fn}: atomic_fn::FnPtr` is not satisfied
[INFO] [stdout]   --> src/lib.rs:260:17
[INFO] [stdout]    |
[INFO] [stdout] 17 | let some_ptr  = AtomicFnPtr::new(ptr);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^ the trait `atomic_fn::FnPtr` is not implemented for fn item `fn() {a_fn}`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the following other types implement trait `atomic_fn::FnPtr`:
[INFO] [stdout]              extern "C" fn() -> Ret
[INFO] [stdout]              extern "C" fn(A, B) -> Ret
[INFO] [stdout]              extern "C" fn(A, B, ...) -> Ret
[INFO] [stdout]              extern "C" fn(A, B, C) -> Ret
[INFO] [stdout]              extern "C" fn(A, B, C, ...) -> Ret
[INFO] [stdout]              extern "C" fn(A, B, C, D) -> Ret
[INFO] [stdout]              extern "C" fn(A, B, C, D, ...) -> Ret
[INFO] [stdout]              extern "C" fn(A, B, C, D, E) -> Ret
[INFO] [stdout]            and 86 others
[INFO] [stdout] note: required by a bound in `AtomicFnPtr`
[INFO] [stdout]   --> /opt/rustwide/workdir/src/lib.rs:66:27
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub struct AtomicFnPtr<T: FnPtr> {
[INFO] [stdout]    |                           ^^^^^ required by this bound in `AtomicFnPtr`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `load` exists for struct `AtomicFnPtr<fn() {a_fn}>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> src/lib.rs:263:11
[INFO] [stdout]    |
[INFO] [stdout] 20 | (some_ptr.load(Ordering::SeqCst))();
[INFO] [stdout]    |           ^^^^ method cannot be called on `AtomicFnPtr<fn() {a_fn}>` due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `fn() {a_fn}: atomic_fn::FnPtr`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `compare_exchange` exists for struct `AtomicFnPtr<fn() {a_fn}>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> src/lib.rs:265:22
[INFO] [stdout]    |
[INFO] [stdout] 22 | let value = some_ptr.compare_exchange(
[INFO] [stdout]    |             ---------^^^^^^^^^^^^^^^^ method cannot be called on `AtomicFnPtr<fn() {a_fn}>` due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `fn() {a_fn}: atomic_fn::FnPtr`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `load` exists for struct `AtomicFnPtr<fn() {a_fn}>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> src/lib.rs:272:11
[INFO] [stdout]    |
[INFO] [stdout] 29 | (some_ptr.load(Ordering::SeqCst))();
[INFO] [stdout]    |           ^^^^ method cannot be called on `AtomicFnPtr<fn() {a_fn}>` due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `fn() {a_fn}: atomic_fn::FnPtr`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - AtomicFnPtr<T>::compare_exchange_weak (line 317) stdout ----
[INFO] [stdout] error[E0277]: the trait bound `fn() {a_fn}: atomic_fn::FnPtr` is not satisfied
[INFO] [stdout]   --> src/lib.rs:330:33
[INFO] [stdout]    |
[INFO] [stdout] 16 | let some_ptr = AtomicFnPtr::new(a_fn);
[INFO] [stdout]    |                ---------------- ^^^^ the trait `atomic_fn::FnPtr` is not implemented for fn item `fn() {a_fn}`
[INFO] [stdout]    |                |
[INFO] [stdout]    |                required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]    = help: the following other types implement trait `atomic_fn::FnPtr`:
[INFO] [stdout]              extern "C" fn() -> Ret
[INFO] [stdout]              extern "C" fn(A, B) -> Ret
[INFO] [stdout]              extern "C" fn(A, B, ...) -> Ret
[INFO] [stdout]              extern "C" fn(A, B, C) -> Ret
[INFO] [stdout]              extern "C" fn(A, B, C, ...) -> Ret
[INFO] [stdout]              extern "C" fn(A, B, C, D) -> Ret
[INFO] [stdout]              extern "C" fn(A, B, C, D, ...) -> Ret
[INFO] [stdout]              extern "C" fn(A, B, C, D, E) -> Ret
[INFO] [stdout]            and 86 others
[INFO] [stdout] note: required by a bound in `AtomicFnPtr::<T>::new`
[INFO] [stdout]   --> /opt/rustwide/workdir/src/lib.rs:70:9
[INFO] [stdout]    |
[INFO] [stdout] 70 | impl<T: FnPtr> AtomicFnPtr<T> {
[INFO] [stdout]    |         ^^^^^ required by this bound in `AtomicFnPtr::<T>::new`
[INFO] [stdout] ...
[INFO] [stdout] 73 |     pub fn new(fn_ptr: T) -> AtomicFnPtr<T> {
[INFO] [stdout]    |            --- required by a bound in this associated function
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `fn() {a_fn}: atomic_fn::FnPtr` is not satisfied
[INFO] [stdout]   --> src/lib.rs:330:16
[INFO] [stdout]    |
[INFO] [stdout] 16 | let some_ptr = AtomicFnPtr::new(a_fn);
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^^ the trait `atomic_fn::FnPtr` is not implemented for fn item `fn() {a_fn}`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the following other types implement trait `atomic_fn::FnPtr`:
[INFO] [stdout]              extern "C" fn() -> Ret
[INFO] [stdout]              extern "C" fn(A, B) -> Ret
[INFO] [stdout]              extern "C" fn(A, B, ...) -> Ret
[INFO] [stdout]              extern "C" fn(A, B, C) -> Ret
[INFO] [stdout]              extern "C" fn(A, B, C, ...) -> Ret
[INFO] [stdout]              extern "C" fn(A, B, C, D) -> Ret
[INFO] [stdout]              extern "C" fn(A, B, C, D, ...) -> Ret
[INFO] [stdout]              extern "C" fn(A, B, C, D, E) -> Ret
[INFO] [stdout]            and 86 others
[INFO] [stdout] note: required by a bound in `AtomicFnPtr`
[INFO] [stdout]   --> /opt/rustwide/workdir/src/lib.rs:66:27
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub struct AtomicFnPtr<T: FnPtr> {
[INFO] [stdout]    |                           ^^^^^ required by this bound in `AtomicFnPtr`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `load` exists for struct `AtomicFnPtr<fn() {a_fn}>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> src/lib.rs:332:24
[INFO] [stdout]    |
[INFO] [stdout] 18 | let mut old = some_ptr.load(Ordering::Relaxed);
[INFO] [stdout]    |                        ^^^^ method cannot be called on `AtomicFnPtr<fn() {a_fn}>` due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `fn() {a_fn}: atomic_fn::FnPtr`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `compare_exchange_weak` exists for struct `AtomicFnPtr<fn() {a_fn}>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> src/lib.rs:337:20
[INFO] [stdout]    |
[INFO] [stdout] 23 |     match some_ptr.compare_exchange_weak(old, new, Ordering::SeqCst, Ordering::Relaxed) {
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^ method cannot be called on `AtomicFnPtr<fn() {a_fn}>` due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `fn() {a_fn}: atomic_fn::FnPtr`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - AtomicFnPtr<T>::fetch_update (line 397) stdout ----
[INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique
[INFO] [stdout]   --> src/lib.rs:418:8
[INFO] [stdout]    |
[INFO] [stdout] 24 |     if x == ptr {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: the address of the same function can vary between different codegen units
[INFO] [stdout]    = note: furthermore, different functions could have the same address after being merged together
[INFO] [stdout]    = note: for more information visit <https://doc.rust-lang.org/nightly/core/ptr/fn.fn_addr_eq.html>
[INFO] [stdout]    = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default
[INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint
[INFO] [stdout]    |
[INFO] [stdout] 24 |     if std::ptr::fn_addr_eq(x, ptr) {
[INFO] [stdout]    |        +++++++++++++++++++++ ~    +
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] Test executable failed (exit status: 101).
[INFO] [stdout] 
[INFO] [stdout] stdout:
[INFO] [stdout] Called `a_fn`
[INFO] [stdout] 
[INFO] [stdout] stderr:
[INFO] [stdout] 
[INFO] [stdout] thread 'main' panicked at src/lib.rs:30:1:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: Err(0x600fb6c37640)
[INFO] [stdout]  right: Ok(0x600fb6c37640)
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x600fb6c57ada - std::backtrace_rs::backtrace::libunwind::trace::hb059275cfc8d6126
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5
[INFO] [stdout]    1:     0x600fb6c57ada - std::backtrace_rs::backtrace::trace_unsynchronized::h2da071e4327ce3ee
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x600fb6c57ada - std::sys::backtrace::_print_fmt::h842a1474e6f8d23f
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x600fb6c57ada - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h71a62eb3b9696b12
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x600fb6c74ab3 - core::fmt::rt::Argument::fmt::hdb6b616786b41dc1
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/fmt/rt.rs:177:76
[INFO] [stdout]    5:     0x600fb6c74ab3 - core::fmt::write::h2cc1698af7e2d686
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/fmt/mod.rs:1440:21
[INFO] [stdout]    6:     0x600fb6c55013 - std::io::Write::write_fmt::h00c8700df393f328
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/io/mod.rs:1887:15
[INFO] [stdout]    7:     0x600fb6c57922 - std::sys::backtrace::BacktraceLock::print::h147fe35b4ea13b08
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    8:     0x600fb6c5886f - std::panicking::default_hook::{{closure}}::hbd44223dbdc0d208
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:298:22
[INFO] [stdout]    9:     0x600fb6c586da - std::panicking::default_hook::h20f81eb0576efcec
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:325:9
[INFO] [stdout]   10:     0x600fb6c59142 - std::panicking::rust_panic_with_hook::h625eea43051b2edc
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:831:13
[INFO] [stdout]   11:     0x600fb6c58fda - std::panicking::begin_panic_handler::{{closure}}::h4f9159cfbc3f6bd3
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:704:13
[INFO] [stdout]   12:     0x600fb6c57fd9 - std::sys::backtrace::__rust_end_short_backtrace::h0390abce48353151
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/sys/backtrace.rs:168:18
[INFO] [stdout]   13:     0x600fb6c58c6d - rust_begin_unwind
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:695:5
[INFO] [stdout]   14:     0x600fb6c73f20 - core::panicking::panic_fmt::h9e7c637e9e5f29c9
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/panicking.rs:75:14
[INFO] [stdout]   15:     0x600fb6c74242 - core::panicking::assert_failed_inner::h538bec7c1374cd9c
[INFO] [stdout]   16:     0x600fb6c3624e - core::panicking::assert_failed::hae5091a9421c36e4
[INFO] [stdout]   17:     0x600fb6c37584 - rust_out::main::_doctest_main_src_lib_rs_397_0::h370273da62917819
[INFO] [stdout]   18:     0x600fb6c373f6 - rust_out::main::he88f0b9b281d54e0
[INFO] [stdout]   19:     0x600fb6c32fb3 - core::ops::function::FnOnce::call_once::hcf3829d8b58d0254
[INFO] [stdout]   20:     0x600fb6c32f36 - std::sys::backtrace::__rust_begin_short_backtrace::h5e1527399e8d5bd4
[INFO] [stdout]   21:     0x600fb6c32f19 - std::rt::lang_start::{{closure}}::h2c234101ed7b1b74
[INFO] [stdout]   22:     0x600fb6c52740 - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::h1b085b6c1d2518b2
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/core/src/ops/function.rs:284:13
[INFO] [stdout]   23:     0x600fb6c52740 - std::panicking::try::do_call::h382f964a5a23b565
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:587:40
[INFO] [stdout]   24:     0x600fb6c52740 - std::panicking::try::h57f991055eb622f9
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:550:19
[INFO] [stdout]   25:     0x600fb6c52740 - std::panic::catch_unwind::h4d9a74ef04456343
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panic.rs:358:14
[INFO] [stdout]   26:     0x600fb6c52740 - std::rt::lang_start_internal::{{closure}}::h2faa8ae84a93f314
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/rt.rs:163:24
[INFO] [stdout]   27:     0x600fb6c52740 - std::panicking::try::do_call::h0f8932bf638a9bf5
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:587:40
[INFO] [stdout]   28:     0x600fb6c52740 - std::panicking::try::h683416ea756b175d
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panicking.rs:550:19
[INFO] [stdout]   29:     0x600fb6c52740 - std::panic::catch_unwind::h56189fac8994979f
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/panic.rs:358:14
[INFO] [stdout]   30:     0x600fb6c52740 - std::rt::lang_start_internal::h8bbc1061691274fe
[INFO] [stdout]                                at /rustc/6067b36314ab5eb2eb47cecc464545ba58e1ad24/library/std/src/rt.rs:159:5
[INFO] [stdout]   31:     0x600fb6c32f01 - std::rt::lang_start::h601b10a269c70ef7
[INFO] [stdout]   32:     0x600fb6c376f5 - main
[INFO] [stdout]   33:     0x7fdcf8425d90 - <unknown>
[INFO] [stdout]   34:     0x7fdcf8425e40 - __libc_start_main
[INFO] [stdout]   35:     0x600fb6c32e15 - _start
[INFO] [stdout]   36:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - AtomicFnPtr<T>::compare_and_swap (line 184)
[INFO] [stdout]     src/lib.rs - AtomicFnPtr<T>::compare_exchange (line 246)
[INFO] [stdout]     src/lib.rs - AtomicFnPtr<T>::compare_exchange_weak (line 317)
[INFO] [stdout]     src/lib.rs - AtomicFnPtr<T>::fetch_update (line 397)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.31s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "a79d9b5d54a78ac949fbf5727ef2ea67af92d1aa8f2bd5c8df608be88cc7a156", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a79d9b5d54a78ac949fbf5727ef2ea67af92d1aa8f2bd5c8df608be88cc7a156", kill_on_drop: false }`
[INFO] [stdout] a79d9b5d54a78ac949fbf5727ef2ea67af92d1aa8f2bd5c8df608be88cc7a156
