[INFO] fetching crate legomushroom-tun 0.5.4... [INFO] checking legomushroom-tun-0.5.4 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] extracting crate legomushroom-tun 0.5.4 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate legomushroom-tun 0.5.4 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate legomushroom-tun 0.5.4 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate legomushroom-tun 0.5.4 [INFO] tweaked toml for crates.io crate legomushroom-tun 0.5.4 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate crates.io crate legomushroom-tun 0.5.4 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-macros v1.4.1 [INFO] [stderr] Downloaded phf_shared v0.8.0 [INFO] [stderr] Downloaded phf v0.8.0 [INFO] [stderr] Downloaded ioctl-sys v0.6.0 [INFO] [stderr] Downloaded futures-executor v0.3.17 [INFO] [stderr] Downloaded futures-macro v0.3.17 [INFO] [stderr] Downloaded futures-channel v0.3.17 [INFO] [stderr] Downloaded futures v0.3.17 [INFO] [stderr] Downloaded syn v1.0.79 [INFO] [stderr] Downloaded tokio-util v0.6.8 [INFO] [stderr] Downloaded packet v0.1.4 [INFO] [stderr] Downloaded tokio v1.12.0 [INFO] [stderr] Downloaded siphasher v0.3.7 [INFO] [stderr] Downloaded hwaddr v0.1.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d80b77d67dcd1931cd517a8ab77016422c3eb7531ef4d8ecccbcec2af17d7833 [INFO] running `Command { std: "docker" "start" "-a" "d80b77d67dcd1931cd517a8ab77016422c3eb7531ef4d8ecccbcec2af17d7833", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d80b77d67dcd1931cd517a8ab77016422c3eb7531ef4d8ecccbcec2af17d7833", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d80b77d67dcd1931cd517a8ab77016422c3eb7531ef4d8ecccbcec2af17d7833", kill_on_drop: false }` [INFO] [stdout] d80b77d67dcd1931cd517a8ab77016422c3eb7531ef4d8ecccbcec2af17d7833 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 701a8fc9065da23bd45e16c014565abd558eedd2491d20890de18cd7f549f617 [INFO] running `Command { std: "docker" "start" "-a" "701a8fc9065da23bd45e16c014565abd558eedd2491d20890de18cd7f549f617", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.79 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Checking futures-sink v0.3.17 [INFO] [stderr] Checking siphasher v0.3.7 [INFO] [stderr] Checking slab v0.4.4 [INFO] [stderr] Compiling hwaddr v0.1.7 [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking futures-io v0.3.17 [INFO] [stderr] Checking ioctl-sys v0.6.0 [INFO] [stderr] Checking phf_shared v0.8.0 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Compiling thiserror-impl v1.0.29 [INFO] [stderr] Checking thiserror v1.0.29 [INFO] [stderr] Checking packet v0.1.4 [INFO] [stderr] Checking legomushroom-tun v0.5.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/platform/posix/fd.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | use libc::{self, fcntl, F_GETFL, F_SETFL, O_NONBLOCK}; [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/platform/posix/split.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use libc; [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/platform/linux/device.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use libc; [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking futures-executor v0.3.17 [INFO] [stderr] Checking futures v0.3.17 [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/platform/posix/fd.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | use libc::{self, fcntl, F_GETFL, F_SETFL, O_NONBLOCK}; [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/platform/posix/split.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use libc; [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/platform/linux/device.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use libc; [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tun` [INFO] [stdout] --> examples/read.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | let mut config = tun::Configuration::default(); [INFO] [stdout] | ^^^ use of undeclared crate or module `tun` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 15 + use legomushroom_tun::Configuration; [INFO] [stdout] | [INFO] [stdout] 15 + use legomushroom_tun::platform::Configuration; [INFO] [stdout] | [INFO] [stdout] help: if you import `Configuration`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 18 - let mut config = tun::Configuration::default(); [INFO] [stdout] 18 + let mut config = Configuration::default(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tun` [INFO] [stdout] --> examples/read.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 30 | let mut dev = tun::create(&config).unwrap(); [INFO] [stdout] | ^^^ use of undeclared crate or module `tun` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> examples/read.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `legomushroom-tun` (example "read") due to 3 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "701a8fc9065da23bd45e16c014565abd558eedd2491d20890de18cd7f549f617", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "701a8fc9065da23bd45e16c014565abd558eedd2491d20890de18cd7f549f617", kill_on_drop: false }` [INFO] [stdout] 701a8fc9065da23bd45e16c014565abd558eedd2491d20890de18cd7f549f617