[INFO] fetching crate atomic_fn 0.2.1...
[INFO] testing atomic_fn-0.2.1 against 1.90.0 for beta-1.91-2
[INFO] extracting crate atomic_fn 0.2.1 into /workspace/builds/worker-6-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-6-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate atomic_fn 0.2.1 on toolchain 1.90.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "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" "+1.90.0" "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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c2601085785ab1a66a0f0206bf58e8ccc7782cb69cd37115a2af3b8f1a5dde48
[INFO] running `Command { std: "docker" "start" "-a" "c2601085785ab1a66a0f0206bf58e8ccc7782cb69cd37115a2af3b8f1a5dde48", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c2601085785ab1a66a0f0206bf58e8ccc7782cb69cd37115a2af3b8f1a5dde48", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c2601085785ab1a66a0f0206bf58e8ccc7782cb69cd37115a2af3b8f1a5dde48", kill_on_drop: false }`
[INFO] [stdout] c2601085785ab1a66a0f0206bf58e8ccc7782cb69cd37115a2af3b8f1a5dde48
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cb5122574ad3490873af98ec7ec497b00e0fd464313b06eb7e0f4c17bdec1815
[INFO] running `Command { std: "docker" "start" "-a" "cb5122574ad3490873af98ec7ec497b00e0fd464313b06eb7e0f4c17bdec1815", 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.22s
[INFO] running `Command { std: "docker" "inspect" "cb5122574ad3490873af98ec7ec497b00e0fd464313b06eb7e0f4c17bdec1815", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cb5122574ad3490873af98ec7ec497b00e0fd464313b06eb7e0f4c17bdec1815", kill_on_drop: false }`
[INFO] [stdout] cb5122574ad3490873af98ec7ec497b00e0fd464313b06eb7e0f4c17bdec1815
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 780d13c89793c41904a0f30253feaadf4737f2e95f180e8164160a7c9b02c40a
[INFO] running `Command { std: "docker" "start" "-a" "780d13c89793c41904a0f30253feaadf4737f2e95f180e8164160a7c9b02c40a", 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.29s
[INFO] running `Command { std: "docker" "inspect" "780d13c89793c41904a0f30253feaadf4737f2e95f180e8164160a7c9b02c40a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "780d13c89793c41904a0f30253feaadf4737f2e95f180e8164160a7c9b02c40a", kill_on_drop: false }`
[INFO] [stdout] 780d13c89793c41904a0f30253feaadf4737f2e95f180e8164160a7c9b02c40a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] a1c31c6ed4678a3854d52a6382a5905b07e6849a1f3321ea8f255e57c31c1b12
[INFO] running `Command { std: "docker" "start" "-a" "a1c31c6ed4678a3854d52a6382a5905b07e6849a1f3321ea8f255e57c31c1b12", 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.03s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/atomic_fn-63e92aaf4c65ddc7)
[INFO] [stderr]    Doc-tests atomic_fn
[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] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test src/lib.rs - AtomicFnPtr<T>::compare_exchange_weak (line 317) ... FAILED
[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] 
[INFO] [stdout] failures:
[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] 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>::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_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>::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 x == ptr {
[INFO] [stdout] 24 +     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] 32 | 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' panicked at src/lib.rs:30:1:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: Err(0x5acaffece520)
[INFO] [stdout]  right: Ok(0x5acaffece520)
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5acaffeef6b2 - std::backtrace_rs::backtrace::libunwind::trace::h2d45396358f41939
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5acaffeef6b2 - std::backtrace_rs::backtrace::trace_unsynchronized::hffcefc0b67f1d6e2
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5acaffeef6b2 - std::sys::backtrace::_print_fmt::hd72f71d23b436b92
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x5acaffeef6b2 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::hdcfcb6d4c8489523
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x5acafff0ad83 - core::fmt::rt::Argument::fmt::h2c56b3114963061a
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/rt.rs:173:76
[INFO] [stdout]    5:     0x5acafff0ad83 - core::fmt::write::h8a494366950f23bb
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/mod.rs:1468:25
[INFO] [stdout]    6:     0x5acaffeed2f3 - std::io::default_write_fmt::ha27fbccbc65eb6fa
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x5acaffeed2f3 - std::io::Write::write_fmt::h6556609fca33d0b1
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:1954:13
[INFO] [stdout]    8:     0x5acaffeef502 - std::sys::backtrace::BacktraceLock::print::hb2a626a81e06b2dc
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    9:     0x5acaffef0593 - std::panicking::default_hook::{{closure}}::h4f78485264f12d10
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:300:27
[INFO] [stdout]   10:     0x5acaffef0375 - std::panicking::default_hook::h2c66fc99e962531d
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:327:9
[INFO] [stdout]   11:     0x5acaffef0e65 - std::panicking::rust_panic_with_hook::h33ac55f64bbd807d
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:833:13
[INFO] [stdout]   12:     0x5acaffef0cfa - std::panicking::begin_panic_handler::{{closure}}::h30e7cb89678a57fe
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:706:13
[INFO] [stdout]   13:     0x5acaffeefba9 - std::sys::backtrace::__rust_end_short_backtrace::hed60f27456c16ced
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:174:18
[INFO] [stdout]   14:     0x5acaffef098d - __rustc[de2ca18b4c54d5b8]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:697:5
[INFO] [stdout]   15:     0x5acafff0a270 - core::panicking::panic_fmt::h62f63d096dd276af
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:75:14
[INFO] [stdout]   16:     0x5acafff0a4f7 - core::panicking::assert_failed_inner::h102b4539a88470c2
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:448:17
[INFO] [stdout]   17:     0x5acaffecd1ea - core::panicking::assert_failed::hd69762cfa4df5ee8
[INFO] [stdout]   18:     0x5acaffece49a - rust_out::main::_doctest_main_src_lib_rs_397_0::h38894f71f344dc46
[INFO] [stdout]   19:     0x5acaffece366 - rust_out::main::h2d10ba762d3f8adf
[INFO] [stdout]   20:     0x5acaffec9f83 - core::ops::function::FnOnce::call_once::h89333dd4ac8e03fc
[INFO] [stdout]   21:     0x5acaffec9f06 - std::sys::backtrace::__rust_begin_short_backtrace::h8a10de1e92516da1
[INFO] [stdout]   22:     0x5acaffec9ee9 - std::rt::lang_start::{{closure}}::h0af3a8cb06b34c3e
[INFO] [stdout]   23:     0x5acaffeea890 - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::h638295a043b40957
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:290:21
[INFO] [stdout]   24:     0x5acaffeea890 - std::panicking::catch_unwind::do_call::hbd68098bdea1ca50
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40
[INFO] [stdout]   25:     0x5acaffeea890 - std::panicking::catch_unwind::h50591d85bf847c7c
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19
[INFO] [stdout]   26:     0x5acaffeea890 - std::panic::catch_unwind::h2487b4c4f2ae22c6
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14
[INFO] [stdout]   27:     0x5acaffeea890 - std::rt::lang_start_internal::{{closure}}::h61f0945cc6c9a811
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/rt.rs:175:24
[INFO] [stdout]   28:     0x5acaffeea890 - std::panicking::catch_unwind::do_call::h34b9c3722acd6bd1
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40
[INFO] [stdout]   29:     0x5acaffeea890 - std::panicking::catch_unwind::hf9a822ea043fb0d6
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19
[INFO] [stdout]   30:     0x5acaffeea890 - std::panic::catch_unwind::h5b3cac802237ed89
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14
[INFO] [stdout]   31:     0x5acaffeea890 - std::rt::lang_start_internal::h34f9328d113fd60a
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/rt.rs:171:5
[INFO] [stdout]   32:     0x5acaffec9ed1 - std::rt::lang_start::h8f736fe0a226e45f
[INFO] [stdout]   33:     0x5acaffece5d5 - main
[INFO] [stdout]   34:     0x7ac1166761ca - <unknown>
[INFO] [stdout]   35:     0x7ac11667628b - __libc_start_main
[INFO] [stdout]   36:     0x5acaffec9de5 - _start
[INFO] [stdout]   37:                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.64s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "a1c31c6ed4678a3854d52a6382a5905b07e6849a1f3321ea8f255e57c31c1b12", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a1c31c6ed4678a3854d52a6382a5905b07e6849a1f3321ea8f255e57c31c1b12", kill_on_drop: false }`
[INFO] [stdout] a1c31c6ed4678a3854d52a6382a5905b07e6849a1f3321ea8f255e57c31c1b12
