[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 try#ecabaf78506b7a4668d42dc20268c086b93f0fad for pr-87041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fboluobanana%2Frust_example" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/boluobanana/rust_example on toolchain ecabaf78506b7a4668d42dc20268c086b93f0fad [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "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-5/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" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d3ab79670a0673cb8fd378a4d77b6d817a41ce017790c1c9579c53dec663a406 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d3ab79670a0673cb8fd378a4d77b6d817a41ce017790c1c9579c53dec663a406", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d3ab79670a0673cb8fd378a4d77b6d817a41ce017790c1c9579c53dec663a406", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3ab79670a0673cb8fd378a4d77b6d817a41ce017790c1c9579c53dec663a406", kill_on_drop: false }` [INFO] [stdout] d3ab79670a0673cb8fd378a4d77b6d817a41ce017790c1c9579c53dec663a406 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 74af6d4e149916330f9747f35c724bed76fb3f21c5a42829f7cd3c3e353ca28b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "74af6d4e149916330f9747f35c724bed76fb3f21c5a42829f7cd3c3e353ca28b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling bitflags v1.2.1 [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 version_check v0.9.2 [INFO] [stderr] Compiling cc v1.0.62 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling pin-project-lite v0.1.11 [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 itoa v0.4.6 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling hash_test v0.1.0 (/opt/rustwide/workdir/hash_test) [INFO] [stderr] Compiling system_api_test v0.1.0 (/opt/rustwide/workdir/system_api_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 option_test v0.1.0 (/opt/rustwide/workdir/option_test) [INFO] [stderr] Compiling wayland-sys v0.28.2 [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] [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: 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 x11-dl v2.18.5 [INFO] [stderr] Compiling lock_api v0.4.1 [INFO] [stderr] Compiling libloading v0.6.6 [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] [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 instant v0.1.9 [INFO] [stderr] Compiling lazy_init_test v0.1.0 (/opt/rustwide/workdir/lazy_init_test) [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling nom v6.0.1 [INFO] [stderr] Compiling dlib v0.4.2 [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] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling andrew v0.3.1 [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/run_dylib_example-1c3bec26661d158f.run_dylib_example.026955c9-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/run_dylib_example-1c3bec26661d158f.run_dylib_example.026955c9-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/run_dylib_example-1c3bec26661d158f.run_dylib_example.026955c9-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/run_dylib_example-1c3bec26661d158f.run_dylib_example.026955c9-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/run_dylib_example-1c3bec26661d158f.run_dylib_example.026955c9-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/run_dylib_example-1c3bec26661d158f.run_dylib_example.026955c9-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/run_dylib_example-1c3bec26661d158f.run_dylib_example.026955c9-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/run_dylib_example-1c3bec26661d158f.run_dylib_example.026955c9-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/run_dylib_example-1c3bec26661d158f.run_dylib_example.026955c9-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/run_dylib_example-1c3bec26661d158f.19vaaytq7ovrj14v.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-ldylib_window_example" "-Wl,--start-group" "-Wl,-Bstatic" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-37fdd654777c296f.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-d883bf2137e9181a.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-22ab8f3db88b586e.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-0167c9242d0931d5.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-361790a1a5505fc5.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-01c2ffe1ecd05a67.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-ec79e29a889fe805.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-001a3456e8a8331b.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-e8f1404290f0f040.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-76f46d0f23360a60.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-baf0bdc5eb131895.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-3a6a4ee6592d9370.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-1cc90d9dd57195f8.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-0e91863ffbec5148.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-69528f2eac185ac9.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-52d5241975807511.rlib" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-9924c22ae1efcf66.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-d1241f7bd234a268.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/ecabaf78506b7a4668d42dc20268c086b93f0fad/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/run_dylib_example-1c3bec26661d158f" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" [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] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `run_dylib_example` [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "74af6d4e149916330f9747f35c724bed76fb3f21c5a42829f7cd3c3e353ca28b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74af6d4e149916330f9747f35c724bed76fb3f21c5a42829f7cd3c3e353ca28b", kill_on_drop: false }` [INFO] [stdout] 74af6d4e149916330f9747f35c724bed76fb3f21c5a42829f7cd3c3e353ca28b