[INFO] fetching crate dylib_hook 0.1.1...
[INFO] testing dylib_hook-0.1.1 against 1.100.0-beta.1+cargoflags=--release for beta-release-1.100-2
[INFO] extracting crate dylib_hook 0.1.1 into /workspace/builds/worker-4-tc2/source
[INFO] started tweaking crates.io crate dylib_hook 0.1.1
[INFO] finished tweaking crates.io crate dylib_hook 0.1.1
[INFO] tweaked toml for crates.io crate dylib_hook 0.1.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate dylib_hook 0.1.1 on toolchain 1.100.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate dylib_hook 0.1.1 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" "+1.100.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 5785f389fd4abc0f7d9f22357b18c57e957a216a223086eee158cc933a5f8d24
[INFO] running `Command { std: "docker" "start" "5785f389fd4abc0f7d9f22357b18c57e957a216a223086eee158cc933a5f8d24", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5785f389fd4abc0f7d9f22357b18c57e957a216a223086eee158cc933a5f8d24", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5785f389fd4abc0f7d9f22357b18c57e957a216a223086eee158cc933a5f8d24" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5785f389fd4abc0f7d9f22357b18c57e957a216a223086eee158cc933a5f8d24", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5785f389fd4abc0f7d9f22357b18c57e957a216a223086eee158cc933a5f8d24" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling dylib_hook v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unused dependency `libc`
[INFO] [stderr]  --> Cargo.toml:1:15
[INFO] [stderr]   |
[INFO] [stderr] 1 | [dependencies.libc]
[INFO] [stderr]   |               ^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `libc`
[INFO] [stderr] warning: `dylib_hook` (manifest) generated 1 warning
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.19s
[INFO] running `Command { std: "docker" "inspect" "5785f389fd4abc0f7d9f22357b18c57e957a216a223086eee158cc933a5f8d24", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5785f389fd4abc0f7d9f22357b18c57e957a216a223086eee158cc933a5f8d24" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling dylib_hook v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: invalid definition of the runtime `open` symbol used by the standard library
[INFO] [stdout]    --> src/lib.rs:64:9
[INFO] [stdout]     |
[INFO] [stdout]  60 | macro_rules! create_hook {
[INFO] [stdout] ...
[INFO] [stdout]  64 |         pub unsafe extern "C" fn $orig_fn($($param: $ptype),*) -> $ret {
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 149 |         create_hook!(open(cpath: *const c_char, oflag: c_int) -> c_int);
[INFO] [stdout]     |         --------------------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected `unsafe extern "C" fn(*const i8, i32, ...) -> i32` (for the current target)
[INFO] [stdout]             found    `unsafe extern "C" fn(*const i8, i32) -> i32`
[INFO] [stdout]     = help: either fix the signature or remove any attributes like `#[unsafe(no_mangle)]`, `#[unsafe(export_name = "open")]`, or `#[link_name = "open"]`
[INFO] [stdout]     = note: `#[warn(invalid_runtime_symbol_definitions)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: invalid definition of the runtime `open` symbol used by the standard library
[INFO] [stdout]    --> src/lib.rs:64:9
[INFO] [stdout]     |
[INFO] [stdout]  60 | macro_rules! create_hook {
[INFO] [stdout] ...
[INFO] [stdout]  64 |         pub unsafe extern "C" fn $orig_fn($($param: $ptype),*) -> $ret {
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 169 |         create_hook!(open(cpath: *const c_char, oflag: c_int) -> c_int);
[INFO] [stdout]     |         --------------------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected `unsafe extern "C" fn(*const i8, i32, ...) -> i32` (for the current target)
[INFO] [stdout]             found    `unsafe extern "C" fn(*const i8, i32) -> i32`
[INFO] [stdout]     = help: either fix the signature or remove any attributes like `#[unsafe(no_mangle)]`, `#[unsafe(export_name = "open")]`, or `#[link_name = "open"]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: invalid definition of the runtime `open` symbol used by the standard library
[INFO] [stdout]    --> src/lib.rs:64:9
[INFO] [stdout]     |
[INFO] [stdout]  60 | macro_rules! create_hook {
[INFO] [stdout] ...
[INFO] [stdout]  64 |         pub unsafe extern "C" fn $orig_fn($($param: $ptype),*) -> $ret {
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 198 |         create_hook!(open(cpath: *const c_char, oflag: c_int) -> c_int);
[INFO] [stdout]     |         --------------------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected `unsafe extern "C" fn(*const i8, i32, ...) -> i32` (for the current target)
[INFO] [stdout]             found    `unsafe extern "C" fn(*const i8, i32) -> i32`
[INFO] [stdout]     = help: either fix the signature or remove any attributes like `#[unsafe(no_mangle)]`, `#[unsafe(export_name = "open")]`, or `#[link_name = "open"]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: invalid definition of the runtime `open` symbol used by the standard library
[INFO] [stdout]    --> src/lib.rs:64:9
[INFO] [stdout]     |
[INFO] [stdout]  60 | macro_rules! create_hook {
[INFO] [stdout] ...
[INFO] [stdout]  64 |         pub unsafe extern "C" fn $orig_fn($($param: $ptype),*) -> $ret {
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 227 |         create_hook!(open(cpath: *const c_char, oflag: c_int) -> c_int);
[INFO] [stdout]     |         --------------------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected `unsafe extern "C" fn(*const i8, i32, ...) -> i32` (for the current target)
[INFO] [stdout]             found    `unsafe extern "C" fn(*const i8, i32) -> i32`
[INFO] [stdout]     = help: either fix the signature or remove any attributes like `#[unsafe(no_mangle)]`, `#[unsafe(export_name = "open")]`, or `#[link_name = "open"]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: invalid definition of the runtime `open` symbol used by the standard library
[INFO] [stdout]    --> src/lib.rs:64:9
[INFO] [stdout]     |
[INFO] [stdout]  60 | macro_rules! create_hook {
[INFO] [stdout] ...
[INFO] [stdout]  64 |         pub unsafe extern "C" fn $orig_fn($($param: $ptype),*) -> $ret {
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 255 |         create_hook!(open(cpath: *const c_char, oflag: c_int) -> c_int);
[INFO] [stdout]     |         --------------------------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected `unsafe extern "C" fn(*const i8, i32, ...) -> i32` (for the current target)
[INFO] [stdout]             found    `unsafe extern "C" fn(*const i8, i32) -> i32`
[INFO] [stdout]     = help: either fix the signature or remove any attributes like `#[unsafe(no_mangle)]`, `#[unsafe(export_name = "open")]`, or `#[link_name = "open"]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: symbol `open` is already defined
[INFO] [stdout]    --> src/lib.rs:64:9
[INFO] [stdout]     |
[INFO] [stdout]  60 | macro_rules! create_hook {
[INFO] [stdout] ...
[INFO] [stdout]  64 |         pub unsafe extern "C" fn $orig_fn($($param: $ptype),*) -> $ret {
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 198 |         create_hook!(open(cpath: *const c_char, oflag: c_int) -> c_int);
[INFO] [stdout]     |         --------------------------------------------------------------- in this macro invocation
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `dylib_hook` (lib test) due to 1 previous error; 5 warnings emitted
[INFO] [stderr] warning: unused dependency `libc`
[INFO] [stderr]  --> Cargo.toml:1:15
[INFO] [stderr]   |
[INFO] [stderr] 1 | [dependencies.libc]
[INFO] [stderr]   |               ^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `libc`
[INFO] [stderr] help: to still use for development builds, move to `dev-dependencies`
[INFO] [stderr] warning: `dylib_hook` (manifest) generated 1 warning
[INFO] running `Command { std: "docker" "inspect" "5785f389fd4abc0f7d9f22357b18c57e957a216a223086eee158cc933a5f8d24", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5785f389fd4abc0f7d9f22357b18c57e957a216a223086eee158cc933a5f8d24", kill_on_drop: false }`
[INFO] [stdout] 5785f389fd4abc0f7d9f22357b18c57e957a216a223086eee158cc933a5f8d24
