[INFO] cloning repository https://github.com/WilliamVenner/null_fn
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/WilliamVenner/null_fn" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWilliamVenner%2Fnull_fn", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWilliamVenner%2Fnull_fn'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c86edc58e509259bf215c3d6a70bf08c6143bfc2
[INFO] testing WilliamVenner/null_fn/c86edc58e509259bf215c3d6a70bf08c6143bfc2 against nightly-2024-10-28+rustflags=-Zrandomize-layout for randomize-layout
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWilliamVenner%2Fnull_fn" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/WilliamVenner/null_fn on toolchain nightly-2024-10-28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/WilliamVenner/null_fn
[INFO] finished tweaking git repo https://github.com/WilliamVenner/null_fn
[INFO] tweaked toml for git repo https://github.com/WilliamVenner/null_fn written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/WilliamVenner/null_fn already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fd22a668046949154837810b0164c1f63ab3ae995c32d6d4278233933e827007
[INFO] running `Command { std: "docker" "start" "-a" "fd22a668046949154837810b0164c1f63ab3ae995c32d6d4278233933e827007", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fd22a668046949154837810b0164c1f63ab3ae995c32d6d4278233933e827007", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fd22a668046949154837810b0164c1f63ab3ae995c32d6d4278233933e827007", kill_on_drop: false }`
[INFO] [stdout] fd22a668046949154837810b0164c1f63ab3ae995c32d6d4278233933e827007
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Zrandomize-layout" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e0839131dfaf151f4f4d9c9455af3a59f65f201672cc1cc59f0e831611469463
[INFO] running `Command { std: "docker" "start" "-a" "e0839131dfaf151f4f4d9c9455af3a59f65f201672cc1cc59f0e831611469463", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.29
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling syn v1.0.76
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling null_fn v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.38s
[INFO] running `Command { std: "docker" "inspect" "e0839131dfaf151f4f4d9c9455af3a59f65f201672cc1cc59f0e831611469463", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e0839131dfaf151f4f4d9c9455af3a59f65f201672cc1cc59f0e831611469463", kill_on_drop: false }`
[INFO] [stdout] e0839131dfaf151f4f4d9c9455af3a59f65f201672cc1cc59f0e831611469463
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Zrandomize-layout" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 99d165672ceadbd05e034328a6d73f6cf3d88acfba68759fcdf989ba6923d34c
[INFO] running `Command { std: "docker" "start" "-a" "99d165672ceadbd05e034328a6d73f6cf3d88acfba68759fcdf989ba6923d34c", 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.14s
[INFO] running `Command { std: "docker" "inspect" "99d165672ceadbd05e034328a6d73f6cf3d88acfba68759fcdf989ba6923d34c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "99d165672ceadbd05e034328a6d73f6cf3d88acfba68759fcdf989ba6923d34c", kill_on_drop: false }`
[INFO] [stdout] 99d165672ceadbd05e034328a6d73f6cf3d88acfba68759fcdf989ba6923d34c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Zrandomize-layout" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 6257c1a8902c42b209317a395a1d0981a4df941af30aad2f601f463152209ed6
[INFO] running `Command { std: "docker" "start" "-a" "6257c1a8902c42b209317a395a1d0981a4df941af30aad2f601f463152209ed6", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.01s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/null_fn-d3b7792f3a47a52a)
[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/../README.md - (line 11) ... FAILED
[INFO] [stdout] test src/../README.md - null_fn (line 11) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/../README.md - (line 11) stdout ----
[INFO] [stdout] error: expected expression, found `;`
[INFO] [stdout]   --> src/../README.md: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/../README.md: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/../README.md: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/../README.md: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/../README.md: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/../README.md: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/../README.md - null_fn (line 11) stdout ----
[INFO] [stdout] error: expected expression, found `;`
[INFO] [stdout]   --> src/../README.md: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/../README.md: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/../README.md: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/../README.md: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/../README.md: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/../README.md: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] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/../README.md - (line 11)
[INFO] [stdout]     src/../README.md - null_fn (line 11)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "6257c1a8902c42b209317a395a1d0981a4df941af30aad2f601f463152209ed6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6257c1a8902c42b209317a395a1d0981a4df941af30aad2f601f463152209ed6", kill_on_drop: false }`
[INFO] [stdout] 6257c1a8902c42b209317a395a1d0981a4df941af30aad2f601f463152209ed6
