[INFO] cloning repository https://github.com/jason-ni/tunnel [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jason-ni/tunnel" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjason-ni%2Ftunnel", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjason-ni%2Ftunnel'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 80052b57f3251fccc40458f624d8a00c5e424500 [INFO] testing jason-ni/tunnel against 1.90.0 for beta-1.91-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjason-ni%2Ftunnel" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jason-ni/tunnel [INFO] finished tweaking git repo https://github.com/jason-ni/tunnel [INFO] tweaked toml for git repo https://github.com/jason-ni/tunnel written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jason-ni/tunnel on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jason-ni/tunnel 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.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-fd v0.3.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.40 [INFO] [stderr] Downloaded nix v0.24.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 31bbffd0e2ff4caa50d1e3ef8d1b97a1748de59f07f91f1430ed45cf06f96084 [INFO] running `Command { std: "docker" "start" "-a" "31bbffd0e2ff4caa50d1e3ef8d1b97a1748de59f07f91f1430ed45cf06f96084", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "31bbffd0e2ff4caa50d1e3ef8d1b97a1748de59f07f91f1430ed45cf06f96084", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31bbffd0e2ff4caa50d1e3ef8d1b97a1748de59f07f91f1430ed45cf06f96084", kill_on_drop: false }` [INFO] [stdout] 31bbffd0e2ff4caa50d1e3ef8d1b97a1748de59f07f91f1430ed45cf06f96084 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5437f2b51c2444e5f394dce224ad93712c7aedf129a5b5d95ed548971bd80972 [INFO] running `Command { std: "docker" "start" "-a" "5437f2b51c2444e5f394dce224ad93712c7aedf129a5b5d95ed548971bd80972", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling once_cell v1.13.0 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling tunnel v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling nix v0.24.1 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling tokio v1.19.2 [INFO] [stderr] Compiling tokio-fd v0.3.0 [INFO] [stdout] warning: unused imports: `AsyncWrite` and `WriteHalf` [INFO] [stdout] --> src/main.rs:9:31 [INFO] [stdout] | [INFO] [stdout] 9 | use tokio::io::{AsyncReadExt, AsyncWrite, AsyncWriteExt, ReadHalf, WriteHalf}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 28 | async fn write(mut wfd: RawFd) -> io::Result<()> { [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: unused variable: `afd1_wh` [INFO] [stdout] --> src/main.rs:47:27 [INFO] [stdout] | [INFO] [stdout] 47 | let (mut afd1_rh, mut afd1_wh) = tokio::io::split(afd1); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_afd1_wh` [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] --> src/main.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | let (mut fd1, mut fd2) = pipe2(OFlag::O_CLOEXEC | OFlag::O_NONBLOCK)?; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 45 | let (mut fd1, mut fd2) = pipe2(OFlag::O_CLOEXEC | OFlag::O_NONBLOCK)?; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | let mut afd1 = AsyncFd::try_from(fd1)?; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | let (mut afd1_rh, mut afd1_wh) = tokio::io::split(afd1); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:47:23 [INFO] [stdout] | [INFO] [stdout] 47 | let (mut afd1_rh, mut afd1_wh) = tokio::io::split(afd1); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write` is never used [INFO] [stdout] --> src/main.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | async fn write(mut wfd: RawFd) -> io::Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_in_another_thread` is never used [INFO] [stdout] --> src/main.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn write_in_another_thread(fd: RawFd) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcsoDWBm/symbols.o" "<3 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "-lgomodule" "/opt/rustwide/target/debug/deps/{libtokio_fd-4c828b0d927f3d69,libtokio-5a6d81cad2084b1a,libsignal_hook_registry-2afd216e52890255,libnum_cpus-c8cb2ddfebe4a0c5,libsocket2-79045f4aa80b864d,libmemchr-233a2862461d83c1,libonce_cell-a11e76f2e6ede7f8,libbytes-8d7c9ac739cb4981,libmio-9a1e76850372eadf,liblog-d1fe0693536a12cb,libpin_project_lite-b698864a218e1545,libparking_lot-6289ff8a7ddc730f,libparking_lot_core-031613edfee89b3c,libsmallvec-43ec19cf2a1ec9c3,liblock_api-653c6edcedea062f,libscopeguard-ff6c05979f5d3a08,libnix-f544641c2aa550eb,libmemoffset-d05c9d135e91cff3,libbitflags-3333d968e5f279ee,libcfg_if-3183e62f61f23a61,liblibc-aa5baf952c7deac2}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,libcfg_if-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcsoDWBm/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "gomodule" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/tunnel-371bcdc379035251" "-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 -lgomodule [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tunnel` (bin "tunnel") due to 1 previous error; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5437f2b51c2444e5f394dce224ad93712c7aedf129a5b5d95ed548971bd80972", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5437f2b51c2444e5f394dce224ad93712c7aedf129a5b5d95ed548971bd80972", kill_on_drop: false }` [INFO] [stdout] 5437f2b51c2444e5f394dce224ad93712c7aedf129a5b5d95ed548971bd80972