[INFO] cloning repository https://github.com/jvff/rust-things-gateway-adapter-ipc-test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jvff/rust-things-gateway-adapter-ipc-test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjvff%2Frust-things-gateway-adapter-ipc-test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjvff%2Frust-things-gateway-adapter-ipc-test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a7d6fb20e3ed86389e381f7cffe0cea38819c35f [INFO] testing jvff/rust-things-gateway-adapter-ipc-test against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjvff%2Frust-things-gateway-adapter-ipc-test" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jvff/rust-things-gateway-adapter-ipc-test on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jvff/rust-things-gateway-adapter-ipc-test [INFO] finished tweaking git repo https://github.com/jvff/rust-things-gateway-adapter-ipc-test [INFO] tweaked toml for git repo https://github.com/jvff/rust-things-gateway-adapter-ipc-test written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/jvff/rust-things-gateway-adapter-ipc-test already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7753f1f477e2acd05d5641185620f2391436f3b55a2f8798acc0f1cc1a9a734f [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" "7753f1f477e2acd05d5641185620f2391436f3b55a2f8798acc0f1cc1a9a734f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7753f1f477e2acd05d5641185620f2391436f3b55a2f8798acc0f1cc1a9a734f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7753f1f477e2acd05d5641185620f2391436f3b55a2f8798acc0f1cc1a9a734f", kill_on_drop: false }` [INFO] [stdout] 7753f1f477e2acd05d5641185620f2391436f3b55a2f8798acc0f1cc1a9a734f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 276bc42a562f312e153d4edc0ea35e7a4183aa411d4b777e036b8b56192e8c20 [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" "276bc42a562f312e153d4edc0ea35e7a4183aa411d4b777e036b8b56192e8c20", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Compiling libc v0.2.44 [INFO] [stderr] Compiling serde v1.0.80 [INFO] [stderr] Compiling cmake v0.1.35 [INFO] [stderr] Compiling nanomsg-sys v0.7.2 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling nanomsg v0.7.2 [INFO] [stderr] Compiling syn v0.15.22 [INFO] [stderr] Compiling serde_derive v1.0.80 [INFO] [stderr] Compiling serde_json v1.0.33 [INFO] [stderr] Compiling rust-gateway v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 108 | / loop { [INFO] [stdout] 109 | | socket [INFO] [stdout] 110 | | .read_to_string(&mut message) [INFO] [stdout] 111 | | .expect("Failed to read from socket"); [INFO] [stdout] ... | [INFO] [stdout] 133 | | message.clear(); [INFO] [stdout] 134 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 135 | [INFO] [stdout] 136 | endpoint.shutdown(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 146 | / loop { [INFO] [stdout] 147 | | socket [INFO] [stdout] 148 | | .read_to_string(&mut message) [INFO] [stdout] 149 | | .expect("Failed to read from plugin socket"); [INFO] [stdout] ... | [INFO] [stdout] 156 | | message.clear(); [INFO] [stdout] 157 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 158 | [INFO] [stdout] 159 | endpoint.shutdown(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `endpoint` [INFO] [stdout] --> src/main.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | let mut endpoint = socket [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_endpoint` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `endpoint` [INFO] [stdout] --> src/main.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | let mut endpoint = socket [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_endpoint` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | let mut endpoint = socket [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] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | let mut endpoint = socket [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | socket.write_all(reply_message.as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 136 | endpoint.shutdown(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 159 | endpoint.shutdown(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [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/rust_gateway-c81df8484f2817d8.rust_gateway.501703ea-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/rust_gateway-c81df8484f2817d8.rust_gateway.501703ea-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/rust_gateway-c81df8484f2817d8.rust_gateway.501703ea-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/rust_gateway-c81df8484f2817d8.rust_gateway.501703ea-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/rust_gateway-c81df8484f2817d8.rust_gateway.501703ea-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/rust_gateway-c81df8484f2817d8.rust_gateway.501703ea-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/rust_gateway-c81df8484f2817d8.rust_gateway.501703ea-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/rust_gateway-c81df8484f2817d8.rust_gateway.501703ea-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/rust_gateway-c81df8484f2817d8.rust_gateway.501703ea-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/rust_gateway-c81df8484f2817d8.rust_gateway.501703ea-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/rust_gateway-c81df8484f2817d8.rust_gateway.501703ea-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/rust_gateway-c81df8484f2817d8.rust_gateway.501703ea-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/rust_gateway-c81df8484f2817d8.rust_gateway.501703ea-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/rust_gateway-c81df8484f2817d8.rust_gateway.501703ea-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/rust_gateway-c81df8484f2817d8.rust_gateway.501703ea-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/rust_gateway-c81df8484f2817d8.rust_gateway.501703ea-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/rust_gateway-c81df8484f2817d8.1a212u59dokheoqd.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/usr/local/lib" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libserde_json-f71670c620e540be.rlib" "/opt/rustwide/target/debug/deps/libryu-3885e61aeb97370e.rlib" "/opt/rustwide/target/debug/deps/libitoa-3fcba51b14786bdb.rlib" "/opt/rustwide/target/debug/deps/libserde-d7215a7c81ca194b.rlib" "/opt/rustwide/target/debug/deps/libnanomsg-d0d4c601f6fae8c8.rlib" "/opt/rustwide/target/debug/deps/libnanomsg_sys-603a03cb7b6c6aee.rlib" "/opt/rustwide/target/debug/deps/liblibc-6d7d1c7a5939de0b.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-ff9290e971253a38.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-5534b29ea7b2d8f5.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-8bfbb13072fc2761.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-d6d1fa92fa620f17.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-7cfd201521727d95.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-0e8010e8fce8e5a7.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-19093fec3c6dd913.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-89c4cbe9256c1890.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-73e4507673363945.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-3fe98c0f46f27964.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-a76787f08d45e37d.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-8cea480e62c5b261.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-1fb939608cd05a1c.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-842e67e3ab562f66.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-0c1c8fec3b1a54cc.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-689faa634b72af17.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-6c2c561a8181be5e.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-88c4d85fe493b0a6.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-f5394bdb1df5df01.rlib" "-Wl,-Bdynamic" "-lnanomsg" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/rust_gateway-c81df8484f2817d8" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: cannot find -lnanomsg [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-gateway` due to 2 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "276bc42a562f312e153d4edc0ea35e7a4183aa411d4b777e036b8b56192e8c20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "276bc42a562f312e153d4edc0ea35e7a4183aa411d4b777e036b8b56192e8c20", kill_on_drop: false }` [INFO] [stdout] 276bc42a562f312e153d4edc0ea35e7a4183aa411d4b777e036b8b56192e8c20