[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 against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWilliamVenner%2Fnull_fn" "/workspace/builds/worker-20/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-20/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/WilliamVenner/null_fn on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "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-20/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: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f0a98c73482273faea3bc5cb867016a7c1e396a6a9d5dbba0fcff6d29ff0598b [INFO] running `Command { std: "docker" "start" "-a" "f0a98c73482273faea3bc5cb867016a7c1e396a6a9d5dbba0fcff6d29ff0598b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f0a98c73482273faea3bc5cb867016a7c1e396a6a9d5dbba0fcff6d29ff0598b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0a98c73482273faea3bc5cb867016a7c1e396a6a9d5dbba0fcff6d29ff0598b", kill_on_drop: false }` [INFO] [stdout] f0a98c73482273faea3bc5cb867016a7c1e396a6a9d5dbba0fcff6d29ff0598b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5c411b67d66d902d8af0658ad284b03e5888dfe51bd4d76a5732e1372102b2cc [INFO] running `Command { std: "docker" "start" "-a" "5c411b67d66d902d8af0658ad284b03e5888dfe51bd4d76a5732e1372102b2cc", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling null_fn v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.80s [INFO] running `Command { std: "docker" "inspect" "5c411b67d66d902d8af0658ad284b03e5888dfe51bd4d76a5732e1372102b2cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c411b67d66d902d8af0658ad284b03e5888dfe51bd4d76a5732e1372102b2cc", kill_on_drop: false }` [INFO] [stdout] 5c411b67d66d902d8af0658ad284b03e5888dfe51bd4d76a5732e1372102b2cc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 032ddeae9b311c1b02f5aee5aef5c31ef37a0631c43c8d3071ffa47c16def92f [INFO] running `Command { std: "docker" "start" "-a" "032ddeae9b311c1b02f5aee5aef5c31ef37a0631c43c8d3071ffa47c16def92f", kill_on_drop: false }` [INFO] [stderr] Compiling null_fn v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.23s [INFO] running `Command { std: "docker" "inspect" "032ddeae9b311c1b02f5aee5aef5c31ef37a0631c43c8d3071ffa47c16def92f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "032ddeae9b311c1b02f5aee5aef5c31ef37a0631c43c8d3071ffa47c16def92f", kill_on_drop: false }` [INFO] [stdout] 032ddeae9b311c1b02f5aee5aef5c31ef37a0631c43c8d3071ffa47c16def92f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 07381e1937b629c443aa9f9fdf238fa07d4a51fab8a0a500781f732668ccad1c [INFO] running `Command { std: "docker" "start" "-a" "07381e1937b629c443aa9f9fdf238fa07d4a51fab8a0a500781f732668ccad1c", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stdout] running 0 tests [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/null_fn-1a39035bd6f5f8e9) [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:21:89 [INFO] [stdout] | [INFO] [stdout] 12 | 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:15:1 [INFO] [stdout] | [INFO] [stdout] 3 | 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] 6 | 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:14:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[null_fn] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] null_fn::null_fn [INFO] [stdout] note: `null_fn` is imported here, but it is a crate, not an attribute [INFO] [stdout] --> src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate r#null_fn; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope [INFO] [stdout] --> src/lib.rs:12:75 [INFO] [stdout] | [INFO] [stdout] 3 | 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] 3 | use core::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 3 | use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope [INFO] [stdout] --> src/lib.rs:15:75 [INFO] [stdout] | [INFO] [stdout] 6 | 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] 3 | use core::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 3 | use std::os::raw::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:29:89 [INFO] [stdout] | [INFO] [stdout] 12 | 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:23:1 [INFO] [stdout] | [INFO] [stdout] 3 | 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] 6 | 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:22:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[null_fn] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] null_fn::null_fn [INFO] [stdout] note: `null_fn` is imported here, but it is a crate, not an attribute [INFO] [stdout] --> src/lib.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate r#null_fn; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope [INFO] [stdout] --> src/lib.rs:20:75 [INFO] [stdout] | [INFO] [stdout] 3 | 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] 3 | use core::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 3 | use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope [INFO] [stdout] --> src/lib.rs:23:75 [INFO] [stdout] | [INFO] [stdout] 6 | 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] 3 | use core::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 3 | use std::os::raw::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.07s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "07381e1937b629c443aa9f9fdf238fa07d4a51fab8a0a500781f732668ccad1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07381e1937b629c443aa9f9fdf238fa07d4a51fab8a0a500781f732668ccad1c", kill_on_drop: false }` [INFO] [stdout] 07381e1937b629c443aa9f9fdf238fa07d4a51fab8a0a500781f732668ccad1c