[INFO] crate libtun 0.1.0 is already in cache [INFO] testing libtun-0.1.0 against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] extracting crate libtun 0.1.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate libtun 0.1.0 on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", 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-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--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-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0178755d34ccf90d1749441bd002dd8d13e21875945ae02bba712e125f0936f9 [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" "0178755d34ccf90d1749441bd002dd8d13e21875945ae02bba712e125f0936f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0178755d34ccf90d1749441bd002dd8d13e21875945ae02bba712e125f0936f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0178755d34ccf90d1749441bd002dd8d13e21875945ae02bba712e125f0936f9", kill_on_drop: false }` [INFO] [stdout] 0178755d34ccf90d1749441bd002dd8d13e21875945ae02bba712e125f0936f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 75a14249f7bff8db8e811ed738b3f7dc36a34282dbf7a0246939c4e4d7bd424c [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" "75a14249f7bff8db8e811ed738b3f7dc36a34282dbf7a0246939c4e4d7bd424c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling cache-padded v1.1.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling fastrand v1.3.3 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling event-listener v2.2.0 [INFO] [stderr] Compiling waker-fn v1.0.0 [INFO] [stderr] Compiling parking v1.0.5 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling gimli v0.22.0 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling object v0.20.0 [INFO] [stderr] Compiling async-task v3.0.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling concurrent-queue v1.1.1 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling miniz_oxide v0.4.0 [INFO] [stderr] Compiling async-channel v1.1.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling futures-lite v0.1.9 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling blocking v0.4.7 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling libtun v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling addr2line v0.13.0 [INFO] [stderr] Compiling backtrace v0.3.50 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling snafu-derive v0.6.8 [INFO] [stderr] Compiling snafu v0.6.8 [INFO] [stderr] Compiling pin-project v0.4.22 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling smol v0.1.18 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling async-std v1.6.2 [INFO] [stderr] Compiling ipnet v2.3.0 [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::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::raw_linux::RawTun` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `take_writer` found for mutable reference `&mut raw::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::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`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "75a14249f7bff8db8e811ed738b3f7dc36a34282dbf7a0246939c4e4d7bd424c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75a14249f7bff8db8e811ed738b3f7dc36a34282dbf7a0246939c4e4d7bd424c", kill_on_drop: false }` [INFO] [stdout] 75a14249f7bff8db8e811ed738b3f7dc36a34282dbf7a0246939c4e4d7bd424c