[INFO] cloning repository https://github.com/myst6re/vtun-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/myst6re/vtun-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmyst6re%2Fvtun-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmyst6re%2Fvtun-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7aa89fbf07a7faf8403c8565195a1dd0233ac068 [INFO] documenting myst6re/vtun-rs against beta-2022-05-20 for beta-1.62-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmyst6re%2Fvtun-rs" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/myst6re/vtun-rs on toolchain beta-2022-05-20 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/myst6re/vtun-rs [INFO] finished tweaking git repo https://github.com/myst6re/vtun-rs [INFO] tweaked toml for git repo https://github.com/myst6re/vtun-rs written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/myst6re/vtun-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 108a8739b0031dcb6f911d480af074d806afb848d0c35804b27cf6411dd4ee97 [INFO] running `Command { std: "docker" "start" "-a" "108a8739b0031dcb6f911d480af074d806afb848d0c35804b27cf6411dd4ee97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "108a8739b0031dcb6f911d480af074d806afb848d0c35804b27cf6411dd4ee97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "108a8739b0031dcb6f911d480af074d806afb848d0c35804b27cf6411dd4ee97", kill_on_drop: false }` [INFO] [stdout] 108a8739b0031dcb6f911d480af074d806afb848d0c35804b27cf6411dd4ee97 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "RUSTDOCFLAGS=--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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f85774b779f76a72bcc1869b0d7a1103ce61781d801431a74fc8bc2d10057b3d [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" "f85774b779f76a72bcc1869b0d7a1103ce61781d801431a74fc8bc2d10057b3d", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.15 [INFO] [stderr] Checking strsim v0.5.1 [INFO] [stderr] Checking ansi_term v0.8.0 [INFO] [stderr] Checking bitflags v0.4.0 [INFO] [stderr] Compiling nix v0.6.0 [INFO] [stderr] Checking term_size v0.1.0 [INFO] [stderr] Checking clap v2.10.4 [INFO] [stderr] Documenting vtun-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `nix`? [INFO] [stdout] --> src/tunnel.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use nix::sys::socket::setsockopt; [INFO] [stdout] | ^^^ maybe a missing crate `nix`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `nix`? [INFO] [stdout] --> src/tunnel.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use nix::sys::socket::sockopt::KeepAlive; [INFO] [stdout] | ^^^ maybe a missing crate `nix`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Read` in this scope [INFO] [stdout] --> src/tunnel.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | fn tunnel_net(in_c: S, out_c: S) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Read; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Write` in this scope [INFO] [stdout] --> src/tunnel.rs:9:25 [INFO] [stdout] | [INFO] [stdout] 9 | fn tunnel_net(in_c: S, out_c: S) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Write; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Write; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `AsRawFd` in this scope [INFO] [stdout] --> src/tunnel.rs:9:33 [INFO] [stdout] | [INFO] [stdout] 9 | fn tunnel_net(in_c: S, out_c: S) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::unix::prelude::AsRawFd; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Read` in this scope [INFO] [stdout] --> src/tunnel.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | fn tunnel_loc(in_c: S, out_c: S) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Read; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Write` in this scope [INFO] [stdout] --> src/tunnel.rs:25:25 [INFO] [stdout] | [INFO] [stdout] 25 | fn tunnel_loc(in_c: S, out_c: S) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Write; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Write; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `AsRawFd` in this scope [INFO] [stdout] --> src/tunnel.rs:25:33 [INFO] [stdout] | [INFO] [stdout] 25 | fn tunnel_loc(in_c: S, out_c: S) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::unix::prelude::AsRawFd; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Read` in this scope [INFO] [stdout] --> src/tunnel.rs:41:19 [INFO] [stdout] | [INFO] [stdout] 41 | fn tunnel_loop(net: S, loc: S) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Read; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Write` in this scope [INFO] [stdout] --> src/tunnel.rs:41:26 [INFO] [stdout] | [INFO] [stdout] 41 | fn tunnel_loop(net: S, loc: S) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Write; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Write; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `AsRawFd` in this scope [INFO] [stdout] --> src/tunnel.rs:41:34 [INFO] [stdout] | [INFO] [stdout] 41 | fn tunnel_loop(net: S, loc: S) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::unix::prelude::AsRawFd; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Duration` in this scope [INFO] [stdout] --> src/tunnel.rs:51:65 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn tunnel(mut stream: TcpStream, udp: bool, timeout: Option) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/tunnel.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | if (udp) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 56 - if (udp) { [INFO] [stdout] 56 + if udp { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not document `vtun-rs` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --crate-type bin --crate-name vtun_rs src/main.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items '-Arustdoc::private-intra-doc-links' -C metadata=0702ccf21c20ecb2 -L dependency=/opt/rustwide/target/debug/deps --extern clap=/opt/rustwide/target/debug/deps/libclap-037bbe40c07a60aa.rmeta --extern nix=/opt/rustwide/target/debug/deps/libnix-491fefca1c7041d5.rmeta --cap-lints=warn --crate-version 0.1.0` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "f85774b779f76a72bcc1869b0d7a1103ce61781d801431a74fc8bc2d10057b3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f85774b779f76a72bcc1869b0d7a1103ce61781d801431a74fc8bc2d10057b3d", kill_on_drop: false }` [INFO] [stdout] f85774b779f76a72bcc1869b0d7a1103ce61781d801431a74fc8bc2d10057b3d