[INFO] cloning repository https://github.com/boluobanana/rust_example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/boluobanana/rust_example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fboluobanana%2Frust_example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fboluobanana%2Frust_example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 62d1f85c60115ac7185bc7c5e6972c1724419ec2 [INFO] testing boluobanana/rust_example against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fboluobanana%2Frust_example" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/boluobanana/rust_example on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/boluobanana/rust_example [INFO] finished tweaking git repo https://github.com/boluobanana/rust_example [INFO] tweaked toml for git repo https://github.com/boluobanana/rust_example written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/boluobanana/rust_example already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "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-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 00e3ec41b748db5707aa1a4f84774551e77f1f39a4bc37e4d96254706f422643 [INFO] running `Command { std: "docker" "start" "-a" "00e3ec41b748db5707aa1a4f84774551e77f1f39a4bc37e4d96254706f422643", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "00e3ec41b748db5707aa1a4f84774551e77f1f39a4bc37e4d96254706f422643", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00e3ec41b748db5707aa1a4f84774551e77f1f39a4bc37e4d96254706f422643", kill_on_drop: false }` [INFO] [stdout] 00e3ec41b748db5707aa1a4f84774551e77f1f39a4bc37e4d96254706f422643 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1b6ce5cdd21aadedebe421c960fd62fe956a552ed4341a0ff28914545866325e [INFO] running `Command { std: "docker" "start" "-a" "1b6ce5cdd21aadedebe421c960fd62fe956a552ed4341a0ff28914545866325e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling smallvec v1.4.2 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling ttf-parser v0.6.2 [INFO] [stderr] Compiling cc v1.0.62 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.4 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling xdg v2.2.0 [INFO] [stderr] Compiling futures-core v0.3.7 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling pin-project-lite v0.1.11 [INFO] [stderr] Compiling winit v0.23.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling run_dylib_example v0.1.0 (/opt/rustwide/workdir/run_dylib_example) [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling system_api_test v0.1.0 (/opt/rustwide/workdir/system_api_test) [INFO] [stdout] warning: unused imports: `Command`, `Output`, `io` [INFO] [stdout] --> system_api_test/src/os/process.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io, process::{Command, Output}}; [INFO] [stdout] | ^^ ^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling hash_test v0.1.0 (/opt/rustwide/workdir/hash_test) [INFO] [stderr] Compiling option_test v0.1.0 (/opt/rustwide/workdir/option_test) [INFO] [stderr] Compiling empty_test v0.1.0 (/opt/rustwide/workdir/empty_test) [INFO] [stderr] Compiling btree v0.1.0 (/opt/rustwide/workdir/btree) [INFO] [stderr] Compiling libloading v0.6.6 [INFO] [stdout] warning: unused import: `collections::hash_map::DefaultHasher` [INFO] [stdout] --> hash_test/src/main.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::hash_map::DefaultHasher, hash::{Hash, Hasher}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> hash_test/src/main.rs:11:31 [INFO] [stdout] | [INFO] [stdout] 11 | fn hash(&self, state: &mut H) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cache1` [INFO] [stdout] --> option_test/src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | cache1: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root` [INFO] [stdout] --> btree/src/main.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | let mut root = Node::new(12); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_root` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> btree/src/main.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let mut root = Node::new(12); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling lock_api v0.4.1 [INFO] [stderr] Compiling lazy_init_test v0.1.0 (/opt/rustwide/workdir/lazy_init_test) [INFO] [stdout] warning: function is never used: `print_env` [INFO] [stdout] --> run_dylib_example/src/utils.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | pub(crate) fn print_env() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-Wl,--as-needed" "-L" "/opt/rustwide/rustup-home/toolchains/99e3aef02079e9c10583638520cd0c134dc3a01d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/run_dylib_example-23bea28c5474e6d5.run_dylib_example.byg0kbk1-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/run_dylib_example-23bea28c5474e6d5.run_dylib_example.byg0kbk1-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/run_dylib_example-23bea28c5474e6d5.run_dylib_example.byg0kbk1-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/run_dylib_example-23bea28c5474e6d5.run_dylib_example.byg0kbk1-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/run_dylib_example-23bea28c5474e6d5.run_dylib_example.byg0kbk1-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/run_dylib_example-23bea28c5474e6d5.run_dylib_example.byg0kbk1-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/run_dylib_example-23bea28c5474e6d5.run_dylib_example.byg0kbk1-cgu.6.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/run_dylib_example-23bea28c5474e6d5" "/opt/rustwide/target/debug/deps/run_dylib_example-23bea28c5474e6d5.4fif1vixbb51xdrr.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/99e3aef02079e9c10583638520cd0c134dc3a01d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-ldylib_window_example" "-Wl,--start-group" "-Wl,-Bstatic" "/opt/rustwide/rustup-home/toolchains/99e3aef02079e9c10583638520cd0c134dc3a01d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-21256c14e4504640.rlib" "/opt/rustwide/rustup-home/toolchains/99e3aef02079e9c10583638520cd0c134dc3a01d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-986e7fea4474d4d2.rlib" "/opt/rustwide/rustup-home/toolchains/99e3aef02079e9c10583638520cd0c134dc3a01d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-91d85f45babdb06e.rlib" "/opt/rustwide/rustup-home/toolchains/99e3aef02079e9c10583638520cd0c134dc3a01d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-756509c31813f9a6.rlib" "/opt/rustwide/rustup-home/toolchains/99e3aef02079e9c10583638520cd0c134dc3a01d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-5c2ef587e740c0cc.rlib" "/opt/rustwide/rustup-home/toolchains/99e3aef02079e9c10583638520cd0c134dc3a01d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-ad8f9371d31db1b3.rlib" "/opt/rustwide/rustup-home/toolchains/99e3aef02079e9c10583638520cd0c134dc3a01d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-402820fb3b4d3dd8.rlib" "/opt/rustwide/rustup-home/toolchains/99e3aef02079e9c10583638520cd0c134dc3a01d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-5e8e903f07dc8747.rlib" "/opt/rustwide/rustup-home/toolchains/99e3aef02079e9c10583638520cd0c134dc3a01d/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-7ab9ae5080c07187.rlib" "/opt/rustwide/rustup-home/toolchains/99e3aef02079e9c10583638520cd0c134dc3a01d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-c8e8d47c6bf14de2.rlib" "/opt/rustwide/rustup-home/toolchains/99e3aef02079e9c10583638520cd0c134dc3a01d/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-5a02dbb58abd015a.rlib" "/opt/rustwide/rustup-home/toolchains/99e3aef02079e9c10583638520cd0c134dc3a01d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-cedc8fec61444895.rlib" "/opt/rustwide/rustup-home/toolchains/99e3aef02079e9c10583638520cd0c134dc3a01d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-a1c96351c52bc56a.rlib" "/opt/rustwide/rustup-home/toolchains/99e3aef02079e9c10583638520cd0c134dc3a01d/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-e41c6d24baeb2249.rlib" "/opt/rustwide/rustup-home/toolchains/99e3aef02079e9c10583638520cd0c134dc3a01d/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-62493b241881590c.rlib" "/opt/rustwide/rustup-home/toolchains/99e3aef02079e9c10583638520cd0c134dc3a01d/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-a1fd7734706d5518.rlib" "/opt/rustwide/rustup-home/toolchains/99e3aef02079e9c10583638520cd0c134dc3a01d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-c8ded1707ad10767.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/99e3aef02079e9c10583638520cd0c134dc3a01d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-1eec8756baa5bc24.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" [INFO] [stdout] = note: /usr/bin/ld: cannot find -ldylib_window_example [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `run_dylib_example` [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "1b6ce5cdd21aadedebe421c960fd62fe956a552ed4341a0ff28914545866325e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b6ce5cdd21aadedebe421c960fd62fe956a552ed4341a0ff28914545866325e", kill_on_drop: false }` [INFO] [stdout] 1b6ce5cdd21aadedebe421c960fd62fe956a552ed4341a0ff28914545866325e