[INFO] fetching crate mono-rs 0.1.10...
[INFO] testing mono-rs-0.1.10 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8
[INFO] extracting crate mono-rs 0.1.10 into /workspace/builds/worker-3-tc1/source
[INFO] started tweaking crates.io crate mono-rs 0.1.10
[INFO] finished tweaking crates.io crate mono-rs 0.1.10
[INFO] tweaked toml for crates.io crate mono-rs 0.1.10 written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate mono-rs 0.1.10 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c009b5f71d3996065b78708f83164e30ec094946dcc4b3389d4fc52cb54b0b6b
[INFO] running `Command { std: "docker" "start" "-a" "c009b5f71d3996065b78708f83164e30ec094946dcc4b3389d4fc52cb54b0b6b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c009b5f71d3996065b78708f83164e30ec094946dcc4b3389d4fc52cb54b0b6b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c009b5f71d3996065b78708f83164e30ec094946dcc4b3389d4fc52cb54b0b6b", kill_on_drop: false }`
[INFO] [stdout] c009b5f71d3996065b78708f83164e30ec094946dcc4b3389d4fc52cb54b0b6b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ae54cffd23ea95d23cf20cfbeff11c110581e1ef6135d9ee4aa880c480148425
[INFO] running `Command { std: "docker" "start" "-a" "ae54cffd23ea95d23cf20cfbeff11c110581e1ef6135d9ee4aa880c480148425", kill_on_drop: false }`
[INFO] [stderr]    Compiling mono-rs v0.1.10 (/opt/rustwide/workdir)
[INFO] [stdout] warning: struct `Exception` is never constructed
[INFO] [stdout]  --> src/exception.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Exception {
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Thread` is never constructed
[INFO] [stdout]  --> src/thread.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Thread {
[INFO] [stdout]   |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method returns a dangling pointer to dropped local variable `cstr_ptr`
[INFO] [stdout]   --> src/void.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 35 |     fn as_raw_void(self) -> *mut c_void {
[INFO] [stdout]    |                             ----------- return type is `*mut c_void`
[INFO] [stdout] 36 |         let cstr = Box::new(CString::new(self).unwrap());
[INFO] [stdout] 37 |         let mut cstr_ptr = cstr.as_ptr();
[INFO] [stdout]    |             ------------ local variable `cstr_ptr` is dropped at the end of the method
[INFO] [stdout] 38 |         Box::leak(cstr);
[INFO] [stdout] 39 |         &mut cstr_ptr as *mut _ as *mut c_void
[INFO] [stdout]    |         -------------^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         dangling pointer created here
[INFO] [stdout]    |
[INFO] [stdout]    = note: a dangling pointer is safe, but dereferencing one is undefined behavior
[INFO] [stdout]    = note: `#[warn(dangling_pointers_from_locals)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method returns a dangling pointer to dropped local variable `cstr_ptr`
[INFO] [stdout]   --> src/void.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |     fn as_raw_void(self) -> *mut c_void {
[INFO] [stdout]    |                             ----------- return type is `*mut c_void`
[INFO] [stdout] 45 |         let cstr = Box::new(CString::new(self.as_str()).unwrap());
[INFO] [stdout] 46 |         let mut cstr_ptr = cstr.as_ptr();
[INFO] [stdout]    |             ------------ local variable `cstr_ptr` is dropped at the end of the method
[INFO] [stdout] 47 |         Box::leak(cstr);
[INFO] [stdout] 48 |         &mut cstr_ptr as *mut _ as *mut c_void
[INFO] [stdout]    |         -------------^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         dangling pointer created here
[INFO] [stdout]    |
[INFO] [stdout]    = note: a dangling pointer is safe, but dereferencing one is undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.74s
[INFO] running `Command { std: "docker" "inspect" "ae54cffd23ea95d23cf20cfbeff11c110581e1ef6135d9ee4aa880c480148425", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ae54cffd23ea95d23cf20cfbeff11c110581e1ef6135d9ee4aa880c480148425", kill_on_drop: false }`
[INFO] [stdout] ae54cffd23ea95d23cf20cfbeff11c110581e1ef6135d9ee4aa880c480148425
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] edfd3d36844ddba21753282d192b20367ce58ed726c9cdd31336675625c7e592
[INFO] running `Command { std: "docker" "start" "-a" "edfd3d36844ddba21753282d192b20367ce58ed726c9cdd31336675625c7e592", kill_on_drop: false }`
[INFO] [stdout] warning: struct `Exception` is never constructed
[INFO] [stdout]  --> src/exception.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Exception {
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Thread` is never constructed
[INFO] [stdout]  --> src/thread.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Thread {
[INFO] [stdout]   |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method returns a dangling pointer to dropped local variable `cstr_ptr`
[INFO] [stdout]   --> src/void.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 35 |     fn as_raw_void(self) -> *mut c_void {
[INFO] [stdout]    |                             ----------- return type is `*mut c_void`
[INFO] [stdout] 36 |         let cstr = Box::new(CString::new(self).unwrap());
[INFO] [stdout] 37 |         let mut cstr_ptr = cstr.as_ptr();
[INFO] [stdout]    |             ------------ local variable `cstr_ptr` is dropped at the end of the method
[INFO] [stdout] 38 |         Box::leak(cstr);
[INFO] [stdout] 39 |         &mut cstr_ptr as *mut _ as *mut c_void
[INFO] [stdout]    |         -------------^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         dangling pointer created here
[INFO] [stdout]    |
[INFO] [stdout]    = note: a dangling pointer is safe, but dereferencing one is undefined behavior
[INFO] [stdout]    = note: `#[warn(dangling_pointers_from_locals)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method returns a dangling pointer to dropped local variable `cstr_ptr`
[INFO] [stdout]   --> src/void.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |     fn as_raw_void(self) -> *mut c_void {
[INFO] [stdout]    |                             ----------- return type is `*mut c_void`
[INFO] [stdout] 45 |         let cstr = Box::new(CString::new(self.as_str()).unwrap());
[INFO] [stdout] 46 |         let mut cstr_ptr = cstr.as_ptr();
[INFO] [stdout]    |             ------------ local variable `cstr_ptr` is dropped at the end of the method
[INFO] [stdout] 47 |         Box::leak(cstr);
[INFO] [stdout] 48 |         &mut cstr_ptr as *mut _ as *mut c_void
[INFO] [stdout]    |         -------------^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         dangling pointer created here
[INFO] [stdout]    |
[INFO] [stdout]    = note: a dangling pointer is safe, but dereferencing one is undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling mono-rs v0.1.10 (/opt/rustwide/workdir)
[INFO] [stdout] warning: struct `Exception` is never constructed
[INFO] [stdout]  --> src/exception.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Exception {
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Thread` is never constructed
[INFO] [stdout]  --> src/thread.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Thread {
[INFO] [stdout]   |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method returns a dangling pointer to dropped local variable `cstr_ptr`
[INFO] [stdout]   --> src/void.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 35 |     fn as_raw_void(self) -> *mut c_void {
[INFO] [stdout]    |                             ----------- return type is `*mut c_void`
[INFO] [stdout] 36 |         let cstr = Box::new(CString::new(self).unwrap());
[INFO] [stdout] 37 |         let mut cstr_ptr = cstr.as_ptr();
[INFO] [stdout]    |             ------------ local variable `cstr_ptr` is dropped at the end of the method
[INFO] [stdout] 38 |         Box::leak(cstr);
[INFO] [stdout] 39 |         &mut cstr_ptr as *mut _ as *mut c_void
[INFO] [stdout]    |         -------------^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         dangling pointer created here
[INFO] [stdout]    |
[INFO] [stdout]    = note: a dangling pointer is safe, but dereferencing one is undefined behavior
[INFO] [stdout]    = note: `#[warn(dangling_pointers_from_locals)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method returns a dangling pointer to dropped local variable `cstr_ptr`
[INFO] [stdout]   --> src/void.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |     fn as_raw_void(self) -> *mut c_void {
[INFO] [stdout]    |                             ----------- return type is `*mut c_void`
[INFO] [stdout] 45 |         let cstr = Box::new(CString::new(self.as_str()).unwrap());
[INFO] [stdout] 46 |         let mut cstr_ptr = cstr.as_ptr();
[INFO] [stdout]    |             ------------ local variable `cstr_ptr` is dropped at the end of the method
[INFO] [stdout] 47 |         Box::leak(cstr);
[INFO] [stdout] 48 |         &mut cstr_ptr as *mut _ as *mut c_void
[INFO] [stdout]    |         -------------^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         dangling pointer created here
[INFO] [stdout]    |
[INFO] [stdout]    = note: a dangling pointer is safe, but dereferencing one is undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note:  "cc" "-m64" "/tmp/rustcQHPOnR/symbols.o" "<4 object files omitted>" "-Wl,--as-needed" "-Wl,-Bdynamic" "-lmono-2.0" "-Wl,-Bstatic" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,librustc_std_workspace_std-*,libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcQHPOnR/raw-dylibs" "-B<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/mono_rs-89bf7062ca8aee3a" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
[INFO] [stdout]   = note: some arguments are omitted. use `--verbose` to show all linker arguments
[INFO] [stdout]   = note: rust-lld: error: unable to find library -lmono-2.0
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `mono-rs` (lib test) due to 1 previous error; 4 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "edfd3d36844ddba21753282d192b20367ce58ed726c9cdd31336675625c7e592", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "edfd3d36844ddba21753282d192b20367ce58ed726c9cdd31336675625c7e592", kill_on_drop: false }`
[INFO] [stdout] edfd3d36844ddba21753282d192b20367ce58ed726c9cdd31336675625c7e592
