[INFO] fetching crate atomic_fn 0.2.1...
[INFO] testing atomic_fn-0.2.1 against master#2fd6efc32704647e64d3d646d21c4c68eae100e4 for pr-149852-1
[INFO] extracting crate atomic_fn 0.2.1 into /workspace/builds/worker-2-tc1/source
[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-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate atomic_fn 0.2.1 on toolchain 2fd6efc32704647e64d3d646d21c4c68eae100e4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "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" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "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" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6b6f434ddddde108339d25b1cd2a2a2b1d5a377347f0ceb357a5bbc2eb5203d2
[INFO] running `Command { std: "docker" "start" "-a" "6b6f434ddddde108339d25b1cd2a2a2b1d5a377347f0ceb357a5bbc2eb5203d2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6b6f434ddddde108339d25b1cd2a2a2b1d5a377347f0ceb357a5bbc2eb5203d2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6b6f434ddddde108339d25b1cd2a2a2b1d5a377347f0ceb357a5bbc2eb5203d2", kill_on_drop: false }`
[INFO] [stdout] 6b6f434ddddde108339d25b1cd2a2a2b1d5a377347f0ceb357a5bbc2eb5203d2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 819b00566938c6d9cf46bffebee48d8f6f90cad1c52e2b423ea464a624137ff9
[INFO] running `Command { std: "docker" "start" "-a" "819b00566938c6d9cf46bffebee48d8f6f90cad1c52e2b423ea464a624137ff9", 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.17s
[INFO] running `Command { std: "docker" "inspect" "819b00566938c6d9cf46bffebee48d8f6f90cad1c52e2b423ea464a624137ff9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "819b00566938c6d9cf46bffebee48d8f6f90cad1c52e2b423ea464a624137ff9", kill_on_drop: false }`
[INFO] [stdout] 819b00566938c6d9cf46bffebee48d8f6f90cad1c52e2b423ea464a624137ff9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1194303a44b0459834bad479dd328da8caca285cfdf250e833536f056a898a86
[INFO] running `Command { std: "docker" "start" "-a" "1194303a44b0459834bad479dd328da8caca285cfdf250e833536f056a898a86", 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] [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.41s
[INFO] running `Command { std: "docker" "inspect" "1194303a44b0459834bad479dd328da8caca285cfdf250e833536f056a898a86", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1194303a44b0459834bad479dd328da8caca285cfdf250e833536f056a898a86", kill_on_drop: false }`
[INFO] [stdout] 1194303a44b0459834bad479dd328da8caca285cfdf250e833536f056a898a86
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 2304732a67e650fc14f7fb674e2ff8e7b464157793b26ca40dbcbf2ccfe8c825
[INFO] running `Command { std: "docker" "start" "-a" "2304732a67e650fc14f7fb674e2ff8e7b464157793b26ca40dbcbf2ccfe8c825", 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-fe1c6f17f1e1df67)
[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_exchange (line 246) ... FAILED
[INFO] [stdout] test src/lib.rs - AtomicFnPtr<T>::compare_and_swap (line 184) ... FAILED
[INFO] [stdout] test src/lib.rs - AtomicFnPtr<T>::fetch_update (line 397) ... FAILED
[INFO] [stdout] test src/lib.rs - AtomicFnPtr<T>::compare_exchange_weak (line 317) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[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] 260 | 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]    --> 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] 260 | 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]    --> 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] 263 | (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] 265 | 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] 272 | (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_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] 198 | 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]    --> 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] 198 | 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]    --> 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] 201 | (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] 203 | 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] 205 | (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>::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] 418 |     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] 418 -     if x == ptr {
[INFO] [stdout] 418 +     if std::ptr::fn_addr_eq(x, ptr) {
[INFO] [stdout]     |
[INFO] [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:426:1
[INFO] [stdout]     |
[INFO] [stdout] 426 | assert_eq!(some_ptr.load(Ordering::SeqCst), new);
[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: this warning originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings 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' (70) panicked at src/lib.rs:30:1:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: Err(0x5bfb43f6cfb0)
[INFO] [stdout]  right: Ok(0x5bfb43f6cfb0)
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5bfb43f97fc2 - std[716c9a7a72e5c14e]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5bfb43f97fc2 - std[716c9a7a72e5c14e]::backtrace_rs::backtrace::trace_unsynchronized::<std[716c9a7a72e5c14e]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5bfb43f97fc2 - std[716c9a7a72e5c14e]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x5bfb43f97fc2 - <<std[716c9a7a72e5c14e]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[c5ed12ab89cc536a]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x5bfb43fa8eba - <core[c5ed12ab89cc536a]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x5bfb43fa8eba - core[c5ed12ab89cc536a]::fmt::write
[INFO] [stdout]    6:     0x5bfb43f9c0f6 - std[716c9a7a72e5c14e]::io::default_write_fmt::<std[716c9a7a72e5c14e]::sys::stdio::unix::Stderr>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x5bfb43f9c0f6 - <std[716c9a7a72e5c14e]::sys::stdio::unix::Stderr as std[716c9a7a72e5c14e]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x5bfb43f82eef - <std[716c9a7a72e5c14e]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x5bfb43f82eef - std[716c9a7a72e5c14e]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x5bfb43f94171 - std[716c9a7a72e5c14e]::panicking::default_hook
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:319:9
[INFO] [stdout]   11:     0x5bfb43f9432b - std[716c9a7a72e5c14e]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:825:13
[INFO] [stdout]   12:     0x5bfb43f82fa8 - std[716c9a7a72e5c14e]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:698:13
[INFO] [stdout]   13:     0x5bfb43f7ac29 - std[716c9a7a72e5c14e]::sys::backtrace::__rust_end_short_backtrace::<std[716c9a7a72e5c14e]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   14:     0x5bfb43f8384d - __rustc[4f0b026143eab78e]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:689:5
[INFO] [stdout]   15:     0x5bfb43fa952c - core[c5ed12ab89cc536a]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/panicking.rs:80:14
[INFO] [stdout]   16:     0x5bfb43fa9443 - core[c5ed12ab89cc536a]::panicking::assert_failed_inner
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/panicking.rs:439:17
[INFO] [stdout]   17:     0x5bfb43f6a9b9 - core[c5ed12ab89cc536a]::panicking::assert_failed::<core[c5ed12ab89cc536a]::result::Result<fn(), fn()>, core[c5ed12ab89cc536a]::result::Result<fn(), fn()>>
[INFO] [stdout]   18:     0x5bfb43f6cf24 - rust_out[31cf89adcf23a82a]::main::_doctest_main_src_lib_rs_397_0
[INFO] [stdout]   19:     0x5bfb43f6cc66 - rust_out[31cf89adcf23a82a]::main
[INFO] [stdout]   20:     0x5bfb43f6d173 - <fn() as core[c5ed12ab89cc536a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]   21:     0x5bfb43f6a9c6 - std[716c9a7a72e5c14e]::sys::backtrace::__rust_begin_short_backtrace::<fn(), ()>
[INFO] [stdout]   22:     0x5bfb43f6cbf9 - std[716c9a7a72e5c14e]::rt::lang_start::<()>::{closure#0}
[INFO] [stdout]   23:     0x5bfb43f93766 - <&dyn core[c5ed12ab89cc536a]::ops::function::Fn<(), Output = i32> + core[c5ed12ab89cc536a]::marker::Sync + core[c5ed12ab89cc536a]::panic::unwind_safe::RefUnwindSafe as core[c5ed12ab89cc536a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/ops/function.rs:287:21
[INFO] [stdout]   24:     0x5bfb43f93766 - std[716c9a7a72e5c14e]::panicking::catch_unwind::do_call::<&dyn core[c5ed12ab89cc536a]::ops::function::Fn<(), Output = i32> + core[c5ed12ab89cc536a]::marker::Sync + core[c5ed12ab89cc536a]::panic::unwind_safe::RefUnwindSafe, i32>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:581:40
[INFO] [stdout]   25:     0x5bfb43f93766 - std[716c9a7a72e5c14e]::panicking::catch_unwind::<i32, &dyn core[c5ed12ab89cc536a]::ops::function::Fn<(), Output = i32> + core[c5ed12ab89cc536a]::marker::Sync + core[c5ed12ab89cc536a]::panic::unwind_safe::RefUnwindSafe>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:544:19
[INFO] [stdout]   26:     0x5bfb43f93766 - std[716c9a7a72e5c14e]::panic::catch_unwind::<&dyn core[c5ed12ab89cc536a]::ops::function::Fn<(), Output = i32> + core[c5ed12ab89cc536a]::marker::Sync + core[c5ed12ab89cc536a]::panic::unwind_safe::RefUnwindSafe, i32>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panic.rs:359:14
[INFO] [stdout]   27:     0x5bfb43f93766 - std[716c9a7a72e5c14e]::rt::lang_start_internal::{closure#0}
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/rt.rs:175:24
[INFO] [stdout]   28:     0x5bfb43f93766 - std[716c9a7a72e5c14e]::panicking::catch_unwind::do_call::<std[716c9a7a72e5c14e]::rt::lang_start_internal::{closure#0}, isize>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:581:40
[INFO] [stdout]   29:     0x5bfb43f93766 - std[716c9a7a72e5c14e]::panicking::catch_unwind::<isize, std[716c9a7a72e5c14e]::rt::lang_start_internal::{closure#0}>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:544:19
[INFO] [stdout]   30:     0x5bfb43f93766 - std[716c9a7a72e5c14e]::panic::catch_unwind::<std[716c9a7a72e5c14e]::rt::lang_start_internal::{closure#0}, isize>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panic.rs:359:14
[INFO] [stdout]   31:     0x5bfb43f93766 - std[716c9a7a72e5c14e]::rt::lang_start_internal
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/rt.rs:171:5
[INFO] [stdout]   32:     0x5bfb43f6a931 - std[716c9a7a72e5c14e]::rt::lang_start::<()>
[INFO] [stdout]   33:     0x5bfb43f6d1e5 - main
[INFO] [stdout]   34:     0x75c1da0931ca - <unknown>
[INFO] [stdout]   35:     0x75c1da09328b - __libc_start_main
[INFO] [stdout]   36:     0x5bfb43f691e5 - _start
[INFO] [stdout]   37:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[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] 330 | 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]    --> 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] 330 | 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]    --> 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] 332 | 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] 337 |     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] 
[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.34s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "2304732a67e650fc14f7fb674e2ff8e7b464157793b26ca40dbcbf2ccfe8c825", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2304732a67e650fc14f7fb674e2ff8e7b464157793b26ca40dbcbf2ccfe8c825", kill_on_drop: false }`
[INFO] [stdout] 2304732a67e650fc14f7fb674e2ff8e7b464157793b26ca40dbcbf2ccfe8c825
