[INFO] fetching crate dylib_hook 0.1.1...
[INFO] testing dylib_hook-0.1.1 against 1.99.0-beta.8+cargoflags=--release for beta-release-1.100-2
[INFO] extracting crate dylib_hook 0.1.1 into /workspace/builds/worker-4-tc1/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-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate dylib_hook 0.1.1 on toolchain 1.99.0-beta.8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "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.99.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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] e54cdcd2c9fa8df314b91e0369749ac11a429217f0a4f01598b0721dc04f70c7
[INFO] running `Command { std: "docker" "start" "e54cdcd2c9fa8df314b91e0369749ac11a429217f0a4f01598b0721dc04f70c7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e54cdcd2c9fa8df314b91e0369749ac11a429217f0a4f01598b0721dc04f70c7", 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" "e54cdcd2c9fa8df314b91e0369749ac11a429217f0a4f01598b0721dc04f70c7" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e54cdcd2c9fa8df314b91e0369749ac11a429217f0a4f01598b0721dc04f70c7", 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" "e54cdcd2c9fa8df314b91e0369749ac11a429217f0a4f01598b0721dc04f70c7" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling dylib_hook v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.20s
[INFO] running `Command { std: "docker" "inspect" "e54cdcd2c9fa8df314b91e0369749ac11a429217f0a4f01598b0721dc04f70c7", 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" "e54cdcd2c9fa8df314b91e0369749ac11a429217f0a4f01598b0721dc04f70c7" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "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]  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]     = note: this warning originates in the macro `create_hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[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]  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]     = note: this warning originates in the macro `create_hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[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]  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]     = note: this warning originates in the macro `create_hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[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]  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]     = note: this warning originates in the macro `create_hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[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]  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]     = note: this warning originates in the macro `create_hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: symbol `open` is already defined
[INFO] [stdout]    --> src/lib.rs:64:9
[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: this error originates in the macro `create_hook` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `dylib_hook` (lib test) due to 1 previous error; 5 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "e54cdcd2c9fa8df314b91e0369749ac11a429217f0a4f01598b0721dc04f70c7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e54cdcd2c9fa8df314b91e0369749ac11a429217f0a4f01598b0721dc04f70c7", kill_on_drop: false }`
[INFO] [stdout] e54cdcd2c9fa8df314b91e0369749ac11a429217f0a4f01598b0721dc04f70c7
