[INFO] fetching crate libtun 0.1.0... [INFO] testing libtun-0.1.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate libtun 0.1.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate libtun 0.1.0 [INFO] finished tweaking crates.io crate libtun 0.1.0 [INFO] tweaked toml for crates.io crate libtun 0.1.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate libtun 0.1.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 113 packages to latest compatible versions [INFO] [stderr] Adding async-channel v1.9.0 (available: v2.5.0) [INFO] [stderr] Adding rand v0.7.3 (available: v0.9.2) [INFO] [stderr] Adding smol v0.1.18 (available: v2.0.2) [INFO] [stderr] Adding snafu v0.6.10 (available: v0.8.9) [INFO] [stderr] Adding socket2 v0.3.19 (available: v0.6.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bdeee62b05d944392de9fa3a65933362d5478c2cf18c4c4e33b8252952c1da13 [INFO] running `Command { std: "docker" "start" "-a" "bdeee62b05d944392de9fa3a65933362d5478c2cf18c4c4e33b8252952c1da13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bdeee62b05d944392de9fa3a65933362d5478c2cf18c4c4e33b8252952c1da13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bdeee62b05d944392de9fa3a65933362d5478c2cf18c4c4e33b8252952c1da13", kill_on_drop: false }` [INFO] [stdout] bdeee62b05d944392de9fa3a65933362d5478c2cf18c4c4e33b8252952c1da13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0008ee7610abfee79e2eb9093dedc7405d1bf332e73e959c2482ae6a0485a085 [INFO] running `Command { std: "docker" "start" "-a" "0008ee7610abfee79e2eb9093dedc7405d1bf332e73e959c2482ae6a0485a085", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling futures-lite v2.6.1 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling async-io v2.6.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling waker-fn v1.2.0 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling value-bag v1.11.1 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling futures-lite v0.1.11 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling cache-padded v1.3.0 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling parking v1.0.6 [INFO] [stderr] Compiling concurrent-queue v1.2.4 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling async-lock v3.4.1 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling async-task v3.0.0 [INFO] [stderr] Compiling async-executor v1.13.3 [INFO] [stderr] Compiling blocking v1.6.2 [INFO] [stderr] Compiling blocking v0.4.7 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling cc v1.2.39 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling snafu-derive v0.6.10 [INFO] [stderr] Compiling libtun v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling backtrace v0.3.76 [INFO] [stderr] Compiling snafu v0.6.10 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling polling v3.11.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling smol v0.1.18 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling async-std v1.13.2 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stdout] warning: unused import: `libc` [INFO] [stdout] --> src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use libc; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ErrorKind` and `Error` [INFO] [stdout] --> src/lib.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{Error, ErrorKind}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LittleEndian` [INFO] [stdout] --> src/packet.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | use byteorder::{BigEndian, LittleEndian, ReadBytesExt, WriteBytesExt}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/raw.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/raw/raw_linux.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AddrParseError` [INFO] [stdout] --> src/systun.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use ipnet::{AddrParseError, IpNet}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryInto` [INFO] [stdout] --> src/systun.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/systun.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::{Error, Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Thread` [INFO] [stdout] --> src/systun.rs:11:31 [INFO] [stdout] | [INFO] [stdout] 11 | use std::thread::{JoinHandle, Thread}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LittleEndian` [INFO] [stdout] --> src/protocol/icmp.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | use byteorder::{BigEndian, LittleEndian, ReadBytesExt, WriteBytesExt}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `take_reader` found for mutable reference `&mut raw_linux::RawTun` in the current scope [INFO] [stdout] --> src/systun.rs:168:26 [INFO] [stdout] | [INFO] [stdout] 168 | let raw_reader = raw.take_reader().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&mut raw_linux::RawTun` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `take_writer` found for mutable reference `&mut raw_linux::RawTun` in the current scope [INFO] [stdout] --> src/systun.rs:170:26 [INFO] [stdout] | [INFO] [stdout] 170 | let raw_writer = raw.take_writer().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&mut raw_linux::RawTun` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/packet.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{Cursor, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_std::prelude` [INFO] [stdout] --> src/systun.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use async_std::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `libtun` (lib) due to 2 previous errors; 12 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "0008ee7610abfee79e2eb9093dedc7405d1bf332e73e959c2482ae6a0485a085", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0008ee7610abfee79e2eb9093dedc7405d1bf332e73e959c2482ae6a0485a085", kill_on_drop: false }` [INFO] [stdout] 0008ee7610abfee79e2eb9093dedc7405d1bf332e73e959c2482ae6a0485a085