[INFO] fetching crate libtun 0.1.0... [INFO] testing libtun-0.1.0 against 1.59.0 for beta-1.60-1 [INFO] extracting crate libtun 0.1.0 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate libtun 0.1.0 on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-10/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0ca132ee43fcadecc1ac84c98d3581f992531eaa7d9f91a07f8d7b8bf1b991b0 [INFO] running `Command { std: "docker" "start" "-a" "0ca132ee43fcadecc1ac84c98d3581f992531eaa7d9f91a07f8d7b8bf1b991b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0ca132ee43fcadecc1ac84c98d3581f992531eaa7d9f91a07f8d7b8bf1b991b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ca132ee43fcadecc1ac84c98d3581f992531eaa7d9f91a07f8d7b8bf1b991b0", kill_on_drop: false }` [INFO] [stdout] 0ca132ee43fcadecc1ac84c98d3581f992531eaa7d9f91a07f8d7b8bf1b991b0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 12ed2184161025f66b1531c9bb0e5aca88c1496e23e4bd647d841c64ba5652f6 [INFO] running `Command { std: "docker" "start" "-a" "12ed2184161025f66b1531c9bb0e5aca88c1496e23e4bd647d841c64ba5652f6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling parking v1.0.6 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling async-task v3.0.0 [INFO] [stderr] Compiling futures-lite v1.12.0 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-lite v0.1.11 [INFO] [stderr] Compiling ctor v0.1.21 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling snafu-derive v0.6.10 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling blocking v0.4.7 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling blocking v1.1.0 [INFO] [stderr] Compiling async-executor v1.4.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.8 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling polling v2.2.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling backtrace v0.3.64 [INFO] [stderr] Compiling libtun v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling async-io v1.6.0 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling async-global-executor v2.0.2 [INFO] [stderr] Compiling async-std v1.10.0 [INFO] [stderr] Compiling snafu v0.6.10 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling smol v0.1.18 [INFO] [stderr] Compiling futures v0.3.21 [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`, `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] error: aborting due to 2 previous errors; 12 warnings emitted [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` due to 3 previous errors; 12 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "12ed2184161025f66b1531c9bb0e5aca88c1496e23e4bd647d841c64ba5652f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12ed2184161025f66b1531c9bb0e5aca88c1496e23e4bd647d841c64ba5652f6", kill_on_drop: false }` [INFO] [stdout] 12ed2184161025f66b1531c9bb0e5aca88c1496e23e4bd647d841c64ba5652f6