[INFO] cloning repository https://github.com/jason-ni/tunnel
[INFO] running `"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"`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjason-ni%2Ftunnel'...
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 80052b57f3251fccc40458f624d8a00c5e424500
[INFO] testing jason-ni/tunnel against 1.101.0-beta.1+cargoflags=--release for beta-release-1.101-2
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjason-ni%2Ftunnel" "/workspace/builds/worker-2-tc2/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/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-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/jason-ni/tunnel on toolchain 1.101.0-beta.1
[INFO] running `"cargo" "+1.101.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"`
[INFO] crate git repo https://github.com/jason-ni/tunnel already has a lockfile, it will not be regenerated
[INFO] running `"cargo" "+1.101.0-beta.1" "fetch" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"`
[INFO] [stdout] 2e538ad4ae506f5e55dd3e4f92e3e56f182ce8dd82368b5d32152c2aa5b8c8e8
[INFO] running `"docker" "start" "2e538ad4ae506f5e55dd3e4f92e3e56f182ce8dd82368b5d32152c2aa5b8c8e8"`
[INFO] running `"docker" "inspect" "2e538ad4ae506f5e55dd3e4f92e3e56f182ce8dd82368b5d32152c2aa5b8c8e8"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "2e538ad4ae506f5e55dd3e4f92e3e56f182ce8dd82368b5d32152c2aa5b8c8e8" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "2e538ad4ae506f5e55dd3e4f92e3e56f182ce8dd82368b5d32152c2aa5b8c8e8"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "2e538ad4ae506f5e55dd3e4f92e3e56f182ce8dd82368b5d32152c2aa5b8c8e8" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "build" "--frozen" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling libc v0.2.126
[INFO] [stderr]    Compiling proc-macro2 v1.0.40
[INFO] [stderr]    Compiling quote v1.0.20
[INFO] [stderr]    Compiling unicode-ident v1.0.1
[INFO] [stderr]    Compiling lock_api v0.4.7
[INFO] [stderr]    Compiling syn v1.0.98
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling smallvec v1.9.0
[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 parking_lot_core v0.9.3
[INFO] [stderr]    Compiling num_cpus v1.13.1
[INFO] [stderr]    Compiling signal-hook-registry v1.4.0
[INFO] [stderr]    Compiling socket2 v0.4.4
[INFO] [stderr]    Compiling mio v0.8.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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:28:20
[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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:45:14
[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:23
[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:13
[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:14
[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:27
[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: unused variable: `afd1_wh`
[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]    |                       ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_afd1_wh`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[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)]` (part of `#[warn(unused)]`) 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" "/opt/rustwide/target/release/build/tunnel/69186f188ec4e6f1/out/rustcTiWlnM/symbols.o" "<4 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "-lgomodule" "/opt/rustwide/target/release/build/tokio-fd/a2aee5ff8cc20a7e/out/libtokio_fd-a2aee5ff8cc20a7e.rlib" "/opt/rustwide/target/release/build/tokio/9a36043c1da3edf2/out/libtokio-9a36043c1da3edf2.rlib" "/opt/rustwide/target/release/build/signal-hook-registry/7b9d0cc71f3915c2/out/libsignal_hook_registry-7b9d0cc71f3915c2.rlib" "/opt/rustwide/target/release/build/num_cpus/d2095acfd6fa2e67/out/libnum_cpus-d2095acfd6fa2e67.rlib" "/opt/rustwide/target/release/build/socket2/07f0fa5c31bb4964/out/libsocket2-07f0fa5c31bb4964.rlib" "/opt/rustwide/target/release/build/memchr/169a283baabc769c/out/libmemchr-169a283baabc769c.rlib" "/opt/rustwide/target/release/build/once_cell/6616b7fd1e02e322/out/libonce_cell-6616b7fd1e02e322.rlib" "/opt/rustwide/target/release/build/bytes/958159f172e7328c/out/libbytes-958159f172e7328c.rlib" "/opt/rustwide/target/release/build/mio/3ad657f4183e217c/out/libmio-3ad657f4183e217c.rlib" "/opt/rustwide/target/release/build/log/1d27c73b6ca7a69d/out/liblog-1d27c73b6ca7a69d.rlib" "/opt/rustwide/target/release/build/pin-project-lite/f359feec2e39ccd7/out/libpin_project_lite-f359feec2e39ccd7.rlib" "/opt/rustwide/target/release/build/parking_lot/0ab5e74377b792eb/out/libparking_lot-0ab5e74377b792eb.rlib" "/opt/rustwide/target/release/build/parking_lot_core/85784c4a1b156185/out/libparking_lot_core-85784c4a1b156185.rlib" "/opt/rustwide/target/release/build/smallvec/df5e7b2a4ea68bd2/out/libsmallvec-df5e7b2a4ea68bd2.rlib" "/opt/rustwide/target/release/build/lock_api/be704431b2a9985b/out/liblock_api-be704431b2a9985b.rlib" "/opt/rustwide/target/release/build/scopeguard/4978b89441064a19/out/libscopeguard-4978b89441064a19.rlib" "/opt/rustwide/target/release/build/nix/208f84464ba07a41/out/libnix-208f84464ba07a41.rlib" "/opt/rustwide/target/release/build/memoffset/6f224cd9d3ebc3e8/out/libmemoffset-6f224cd9d3ebc3e8.rlib" "/opt/rustwide/target/release/build/bitflags/aace8c4c29432a54/out/libbitflags-aace8c4c29432a54.rlib" "/opt/rustwide/target/release/build/cfg-if/ba05036509a584eb/out/libcfg_if-ba05036509a584eb.rlib" "/opt/rustwide/target/release/build/libc/9c98c565b4b037ce/out/liblibc-9c98c565b4b037ce.rlib" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib/{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" "/opt/rustwide/target/release/build/tunnel/69186f188ec4e6f1/out/rustcTiWlnM/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" "gomodule" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/release/build/tunnel/69186f188ec4e6f1/out/tunnel" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-Wl,-O1" "-Wl,--strip-debug" "-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 `"docker" "inspect" "2e538ad4ae506f5e55dd3e4f92e3e56f182ce8dd82368b5d32152c2aa5b8c8e8"`
[INFO] running `"docker" "rm" "-f" "2e538ad4ae506f5e55dd3e4f92e3e56f182ce8dd82368b5d32152c2aa5b8c8e8"`
[INFO] [stdout] 2e538ad4ae506f5e55dd3e4f92e3e56f182ce8dd82368b5d32152c2aa5b8c8e8
