[INFO] fetching crate null_fn 0.1.1...
[INFO] testing null_fn-0.1.1 against try#9f93af291970322f4f1c6315ccde4d7078201159 for pr-146098-6
[INFO] extracting crate null_fn 0.1.1 into /workspace/builds/worker-6-tc2/source
[INFO] started tweaking crates.io crate null_fn 0.1.1
[INFO] finished tweaking crates.io crate null_fn 0.1.1
[INFO] tweaked toml for crates.io crate null_fn 0.1.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate null_fn 0.1.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] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 4 packages to latest compatible versions
[INFO] [stderr]       Adding syn v1.0.109 (available: v2.0.109)
[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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 878bdfa565e338f4e87c9cda32d9d1e2f2cb980d63c0b81a66b1531c99ebf871
[INFO] running `Command { std: "docker" "start" "-a" "878bdfa565e338f4e87c9cda32d9d1e2f2cb980d63c0b81a66b1531c99ebf871", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "878bdfa565e338f4e87c9cda32d9d1e2f2cb980d63c0b81a66b1531c99ebf871", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "878bdfa565e338f4e87c9cda32d9d1e2f2cb980d63c0b81a66b1531c99ebf871", kill_on_drop: false }`
[INFO] [stdout] 878bdfa565e338f4e87c9cda32d9d1e2f2cb980d63c0b81a66b1531c99ebf871
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 78dccaace01fad95eed5b94dc356a55a3595acf0bcf576790ca391a27158c99c
[INFO] running `Command { std: "docker" "start" "-a" "78dccaace01fad95eed5b94dc356a55a3595acf0bcf576790ca391a27158c99c", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling null_fn v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.28s
[INFO] running `Command { std: "docker" "inspect" "78dccaace01fad95eed5b94dc356a55a3595acf0bcf576790ca391a27158c99c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "78dccaace01fad95eed5b94dc356a55a3595acf0bcf576790ca391a27158c99c", kill_on_drop: false }`
[INFO] [stdout] 78dccaace01fad95eed5b94dc356a55a3595acf0bcf576790ca391a27158c99c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 00355bf6be02100e656b7bd41d0b41955912eaa9960e8d8279cc341885f7f75b
[INFO] running `Command { std: "docker" "start" "-a" "00355bf6be02100e656b7bd41d0b41955912eaa9960e8d8279cc341885f7f75b", kill_on_drop: false }`
[INFO] [stderr]    Compiling null_fn v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.39s
[INFO] running `Command { std: "docker" "inspect" "00355bf6be02100e656b7bd41d0b41955912eaa9960e8d8279cc341885f7f75b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "00355bf6be02100e656b7bd41d0b41955912eaa9960e8d8279cc341885f7f75b", kill_on_drop: false }`
[INFO] [stdout] 00355bf6be02100e656b7bd41d0b41955912eaa9960e8d8279cc341885f7f75b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] bd108f97244ac41ccb64b0108291c23df6bcb99416526a87ffcb0b4dd35d09a3
[INFO] running `Command { std: "docker" "start" "-a" "bd108f97244ac41ccb64b0108291c23df6bcb99416526a87ffcb0b4dd35d09a3", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/null_fn-1778188470ffc718)
[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 null_fn
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test src/lib.rs - (line 11) ... FAILED
[INFO] [stdout] test src/lib.rs - null_fn (line 19) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 11) stdout ----
[INFO] [stdout] error: expected expression, found `;`
[INFO] [stdout]   --> src/lib.rs:22:89
[INFO] [stdout]    |
[INFO] [stdout] 13 |         UTIL_PlayerByUserId = /* magically find the pointer to the function; sigscan? */;
[INFO] [stdout]    |                                                                                         ^ expected expression
[INFO] [stdout] 
[INFO] [stdout] error[E0428]: the name `UTIL_PlayerByUserId` is defined multiple times
[INFO] [stdout]  --> src/lib.rs:16:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | static mut UTIL_PlayerByUserId: unsafe extern "C" fn(userid: i32) -> *mut c_void = unsafe { std::mem::transmute::<*const (), _>(std::ptr:...
[INFO] [stdout]   | ----------------------------------------------------------------------------------------- previous definition of the value `UTIL_PlayerByUserId` here
[INFO] [stdout] ...
[INFO] [stdout] 7 | static mut UTIL_PlayerByUserId: unsafe extern "C" fn(userid: i32) -> *mut c_void = std::ptr::null(); // works!
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `UTIL_PlayerByUserId` redefined here
[INFO] [stdout]   |
[INFO] [stdout]   = note: `UTIL_PlayerByUserId` must be defined only once in the value namespace of this module
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `null_fn` in this scope
[INFO] [stdout]  --> src/lib.rs:15:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[null_fn]
[INFO] [stdout]   |   ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `null_fn` is imported here, but it is a crate, not an attribute
[INFO] [stdout]  --> src/lib.rs:12:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | extern crate r#null_fn;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]   |
[INFO] [stdout] 2 + use null_fn::null_fn;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope
[INFO] [stdout]  --> src/lib.rs:13:75
[INFO] [stdout]   |
[INFO] [stdout] 4 | static mut UTIL_PlayerByUserId: unsafe extern "C" fn(userid: i32) -> *mut c_void = unsafe { std::mem::transmute::<*const (), _>(std::ptr:...
[INFO] [stdout]   |                                                                           ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::ffi::c_void;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::os::raw::c_void;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use core::ffi::c_void;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope
[INFO] [stdout]  --> src/lib.rs:16:75
[INFO] [stdout]   |
[INFO] [stdout] 7 | static mut UTIL_PlayerByUserId: unsafe extern "C" fn(userid: i32) -> *mut c_void = std::ptr::null(); // works!
[INFO] [stdout]   |                                                                           ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::ffi::c_void;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::os::raw::c_void;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use core::ffi::c_void;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0428.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - null_fn (line 19) stdout ----
[INFO] [stdout] error: expected expression, found `;`
[INFO] [stdout]   --> src/lib.rs:30:89
[INFO] [stdout]    |
[INFO] [stdout] 13 |         UTIL_PlayerByUserId = /* magically find the pointer to the function; sigscan? */;
[INFO] [stdout]    |                                                                                         ^ expected expression
[INFO] [stdout] 
[INFO] [stdout] error[E0428]: the name `UTIL_PlayerByUserId` is defined multiple times
[INFO] [stdout]  --> src/lib.rs:24:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | static mut UTIL_PlayerByUserId: unsafe extern "C" fn(userid: i32) -> *mut c_void = unsafe { std::mem::transmute::<*const (), _>(std::ptr:...
[INFO] [stdout]   | ----------------------------------------------------------------------------------------- previous definition of the value `UTIL_PlayerByUserId` here
[INFO] [stdout] ...
[INFO] [stdout] 7 | static mut UTIL_PlayerByUserId: unsafe extern "C" fn(userid: i32) -> *mut c_void = std::ptr::null(); // works!
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `UTIL_PlayerByUserId` redefined here
[INFO] [stdout]   |
[INFO] [stdout]   = note: `UTIL_PlayerByUserId` must be defined only once in the value namespace of this module
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `null_fn` in this scope
[INFO] [stdout]  --> src/lib.rs:23:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[null_fn]
[INFO] [stdout]   |   ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `null_fn` is imported here, but it is a crate, not an attribute
[INFO] [stdout]  --> src/lib.rs:20:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | extern crate r#null_fn;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]   |
[INFO] [stdout] 2 + use null_fn::null_fn;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope
[INFO] [stdout]  --> src/lib.rs:21:75
[INFO] [stdout]   |
[INFO] [stdout] 4 | static mut UTIL_PlayerByUserId: unsafe extern "C" fn(userid: i32) -> *mut c_void = unsafe { std::mem::transmute::<*const (), _>(std::ptr:...
[INFO] [stdout]   |                                                                           ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::ffi::c_void;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::os::raw::c_void;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use core::ffi::c_void;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope
[INFO] [stdout]  --> src/lib.rs:24:75
[INFO] [stdout]   |
[INFO] [stdout] 7 | static mut UTIL_PlayerByUserId: unsafe extern "C" fn(userid: i32) -> *mut c_void = std::ptr::null(); // works!
[INFO] [stdout]   |                                                                           ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::ffi::c_void;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::os::raw::c_void;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use core::ffi::c_void;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0428.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 11)
[INFO] [stdout]     src/lib.rs - null_fn (line 19)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.50s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "bd108f97244ac41ccb64b0108291c23df6bcb99416526a87ffcb0b4dd35d09a3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bd108f97244ac41ccb64b0108291c23df6bcb99416526a87ffcb0b4dd35d09a3", kill_on_drop: false }`
[INFO] [stdout] bd108f97244ac41ccb64b0108291c23df6bcb99416526a87ffcb0b4dd35d09a3
