[INFO] fetching crate atomic_fn 0.2.1...
[INFO] testing atomic_fn-0.2.1 against try#9f93af291970322f4f1c6315ccde4d7078201159 for pr-146098-6
[INFO] extracting crate atomic_fn 0.2.1 into /workspace/builds/worker-5-tc2/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-5-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate atomic_fn 0.2.1 on toolchain 9f93af291970322f4f1c6315ccde4d7078201159
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "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" "+9f93af291970322f4f1c6315ccde4d7078201159" "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" "+9f93af291970322f4f1c6315ccde4d7078201159" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8255194cb2c2a5b2f75835b5209ca4a9cf6abd314943189bfea06816bc66366b
[INFO] running `Command { std: "docker" "start" "-a" "8255194cb2c2a5b2f75835b5209ca4a9cf6abd314943189bfea06816bc66366b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8255194cb2c2a5b2f75835b5209ca4a9cf6abd314943189bfea06816bc66366b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8255194cb2c2a5b2f75835b5209ca4a9cf6abd314943189bfea06816bc66366b", kill_on_drop: false }`
[INFO] [stdout] 8255194cb2c2a5b2f75835b5209ca4a9cf6abd314943189bfea06816bc66366b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 24c58c0ed9698af32bab3c30bab782917a0a744572d229048a02a419e7e060d5
[INFO] running `Command { std: "docker" "start" "-a" "24c58c0ed9698af32bab3c30bab782917a0a744572d229048a02a419e7e060d5", 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.25s
[INFO] running `Command { std: "docker" "inspect" "24c58c0ed9698af32bab3c30bab782917a0a744572d229048a02a419e7e060d5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "24c58c0ed9698af32bab3c30bab782917a0a744572d229048a02a419e7e060d5", kill_on_drop: false }`
[INFO] [stdout] 24c58c0ed9698af32bab3c30bab782917a0a744572d229048a02a419e7e060d5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c9db2ec40d5f88ba98327907204d9688e4ba54703f1e8d916dfe5c1292d40c1d
[INFO] running `Command { std: "docker" "start" "-a" "c9db2ec40d5f88ba98327907204d9688e4ba54703f1e8d916dfe5c1292d40c1d", 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" "c9db2ec40d5f88ba98327907204d9688e4ba54703f1e8d916dfe5c1292d40c1d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c9db2ec40d5f88ba98327907204d9688e4ba54703f1e8d916dfe5c1292d40c1d", kill_on_drop: false }`
[INFO] [stdout] c9db2ec40d5f88ba98327907204d9688e4ba54703f1e8d916dfe5c1292d40c1d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] a552e565f884edcfcec8821d6d316221afab0f0e327ada854339b8779bb0c74e
[INFO] running `Command { std: "docker" "start" "-a" "a552e565f884edcfcec8821d6d316221afab0f0e327ada854339b8779bb0c74e", 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_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 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' (70) panicked at src/lib.rs:30:1:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: Err(0x595c8c870f10)
[INFO] [stdout]  right: Ok(0x595c8c870f10)
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x595c8c89f442 - std::backtrace_rs::backtrace::libunwind::trace::h16affffe904e891e
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x595c8c89f442 - std::backtrace_rs::backtrace::trace_unsynchronized::h5c14b13373ed4150
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x595c8c89f442 - std::sys::backtrace::_print_fmt::hcbb507f162c816cc
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x595c8c89f442 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h8be9aa933f14675f
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x595c8c8adfbf - core::fmt::rt::Argument::fmt::h30ed739d33467c3a
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/fmt/rt.rs:173:76
[INFO] [stdout]    5:     0x595c8c8adfbf - core::fmt::write::hfd0efbb002ac7eea
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/fmt/mod.rs:1469:25
[INFO] [stdout]    6:     0x595c8c87d803 - std::io::default_write_fmt::hf7668c9f69c3a921
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x595c8c87d803 - std::io::Write::write_fmt::ha6503cd07dd1d506
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/io/mod.rs:1954:13
[INFO] [stdout]    8:     0x595c8c882a92 - std::sys::backtrace::BacktraceLock::print::hf2554f6030d393f7
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    9:     0x595c8c88438c - std::panicking::default_hook::{{closure}}::h8873121c56335b01
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:301:27
[INFO] [stdout]   10:     0x595c8c8841e6 - std::panicking::default_hook::hbafefc2d196267a2
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:328:9
[INFO] [stdout]   11:     0x595c8c884965 - std::panicking::panic_with_hook::h9f5b09d5adc1a745
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:834:13
[INFO] [stdout]   12:     0x595c8c8847fa - std::panicking::panic_handler::{{closure}}::h08111e483bdf6a89
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:707:13
[INFO] [stdout]   13:     0x595c8c882bc9 - std::sys::backtrace::__rust_end_short_backtrace::h1b86e3414ecbbe8d
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:174:18
[INFO] [stdout]   14:     0x595c8c87226d - __rustc[b292c645e8102103]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:698:5
[INFO] [stdout]   15:     0x595c8c8b1060 - core::panicking::panic_fmt::h31cc490ecc8cc1fa
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/panicking.rs:80:14
[INFO] [stdout]   16:     0x595c8c8b0f03 - core::panicking::assert_failed_inner::h865658b89c1b891d
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/panicking.rs:444:17
[INFO] [stdout]   17:     0x595c8c870bba - core::panicking::assert_failed::hb7576cf9e1dcc249
[INFO] [stdout]   18:     0x595c8c870e4a - rust_out::main::_doctest_main_src_lib_rs_397_0::h40b6ff1d3fea4aad
[INFO] [stdout]   19:     0x595c8c870ce6 - rust_out::main::hca4b1f7e004a5b5b
[INFO] [stdout]   20:     0x595c8c86da93 - core::ops::function::FnOnce::call_once::hd1d9844f43ba9ade
[INFO] [stdout]   21:     0x595c8c86d9d6 - std::sys::backtrace::__rust_begin_short_backtrace::h1b07d04bd89bf1d2
[INFO] [stdout]   22:     0x595c8c86d9b9 - std::rt::lang_start::{{closure}}::h195b227e6d961974
[INFO] [stdout]   23:     0x595c8c87eb10 - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::hfe01ef9c04091e5f
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/ops/function.rs:287:21
[INFO] [stdout]   24:     0x595c8c87eb10 - std::panicking::catch_unwind::do_call::h3720541c1dc2745c
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:590:40
[INFO] [stdout]   25:     0x595c8c87eb10 - std::panicking::catch_unwind::hf812e1c72a8544c2
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:553:19
[INFO] [stdout]   26:     0x595c8c87eb10 - std::panic::catch_unwind::h9e80dffea8831154
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panic.rs:359:14
[INFO] [stdout]   27:     0x595c8c87eb10 - std::rt::lang_start_internal::{{closure}}::h03410fa218b2c977
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/rt.rs:175:24
[INFO] [stdout]   28:     0x595c8c87eb10 - std::panicking::catch_unwind::do_call::hcc46efa18e4a9c15
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:590:40
[INFO] [stdout]   29:     0x595c8c87eb10 - std::panicking::catch_unwind::hc0afbf6668eb863a
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:553:19
[INFO] [stdout]   30:     0x595c8c87eb10 - std::panic::catch_unwind::h9640c0d1343096b8
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panic.rs:359:14
[INFO] [stdout]   31:     0x595c8c87eb10 - std::rt::lang_start_internal::hea659f61d058debe
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/rt.rs:171:5
[INFO] [stdout]   32:     0x595c8c86d9a1 - std::rt::lang_start::h1eafb7a9125a057d
[INFO] [stdout]   33:     0x595c8c871f85 - main
[INFO] [stdout]   34:     0x75de521e61ca - <unknown>
[INFO] [stdout]   35:     0x75de521e628b - __libc_start_main
[INFO] [stdout]   36:     0x595c8c86d8b5 - _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.24s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "a552e565f884edcfcec8821d6d316221afab0f0e327ada854339b8779bb0c74e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a552e565f884edcfcec8821d6d316221afab0f0e327ada854339b8779bb0c74e", kill_on_drop: false }`
[INFO] [stdout] a552e565f884edcfcec8821d6d316221afab0f0e327ada854339b8779bb0c74e
