[INFO] cloning repository https://github.com/mlycore/container-rs-example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mlycore/container-rs-example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmlycore%2Fcontainer-rs-example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmlycore%2Fcontainer-rs-example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f24818ee8db339e84ac1727146f081cbf83285aa [INFO] checking mlycore/container-rs-example against master#5431404b87967c69438ea1e698edbe96505f0798 for pr-119849 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmlycore%2Fcontainer-rs-example" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mlycore/container-rs-example on toolchain 5431404b87967c69438ea1e698edbe96505f0798 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5431404b87967c69438ea1e698edbe96505f0798" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mlycore/container-rs-example [INFO] finished tweaking git repo https://github.com/mlycore/container-rs-example [INFO] tweaked toml for git repo https://github.com/mlycore/container-rs-example written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/mlycore/container-rs-example 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" "+5431404b87967c69438ea1e698edbe96505f0798" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking mlycore/container-rs-example against try#21bc403d557a2516df70ea80fb19b94177beede5 for pr-119849 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmlycore%2Fcontainer-rs-example" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mlycore/container-rs-example on toolchain 21bc403d557a2516df70ea80fb19b94177beede5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+21bc403d557a2516df70ea80fb19b94177beede5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mlycore/container-rs-example [INFO] finished tweaking git repo https://github.com/mlycore/container-rs-example [INFO] tweaked toml for git repo https://github.com/mlycore/container-rs-example written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/mlycore/container-rs-example 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" "+21bc403d557a2516df70ea80fb19b94177beede5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap v3.1.15 [INFO] [stderr] Downloaded nix v0.21.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+21bc403d557a2516df70ea80fb19b94177beede5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7eed043dfa646d3d0d67a7be0fe39ce258ab1aec47c744838509e9a539f30d95 [INFO] running `Command { std: "docker" "start" "-a" "7eed043dfa646d3d0d67a7be0fe39ce258ab1aec47c744838509e9a539f30d95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7eed043dfa646d3d0d67a7be0fe39ce258ab1aec47c744838509e9a539f30d95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7eed043dfa646d3d0d67a7be0fe39ce258ab1aec47c744838509e9a539f30d95", kill_on_drop: false }` [INFO] [stdout] 7eed043dfa646d3d0d67a7be0fe39ce258ab1aec47c744838509e9a539f30d95 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+21bc403d557a2516df70ea80fb19b94177beede5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ad3ce330394218e93053500d0eacc4639aa56bd8f9180ef3de6a67ea5d0f99dd [INFO] running `Command { std: "docker" "start" "-a" "ad3ce330394218e93053500d0eacc4639aa56bd8f9180ef3de6a67ea5d0f99dd", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling syn v1.0.92 [INFO] [stderr] Compiling libc v0.2.125 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking tracing-core v0.1.26 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking clap_lex v0.2.0 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Checking tracing-log v0.1.3 [INFO] [stderr] Checking nix v0.21.2 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking clap v3.1.15 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Checking matchers v0.0.1 [INFO] [stderr] Compiling tracing-attributes v0.1.21 [INFO] [stderr] Checking tracing v0.1.34 [INFO] [stderr] Checking oci-spec v0.1.0 (/opt/rustwide/workdir/oci-spec) [INFO] [stderr] Checking tracing-serde v0.1.3 [INFO] [stderr] Checking command v0.1.0 (/opt/rustwide/workdir/command) [INFO] [stderr] Checking tracing-subscriber v0.2.25 [INFO] [stdout] error[E0423]: expected function, found macro `write` [INFO] [stdout] --> command/src/pty.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | write(fd, msg_as_bytes().unwrap()); [INFO] [stdout] | ^^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 52 | write!(fd, msg_as_bytes().unwrap()); [INFO] [stdout] | + [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 1 + use core::fmt::write; [INFO] [stdout] | [INFO] [stdout] 1 + use core::ptr::write; [INFO] [stdout] | [INFO] [stdout] 1 + use nix::sys::ptrace::write; [INFO] [stdout] | [INFO] [stdout] 1 + use nix::unistd::write; [INFO] [stdout] | [INFO] [stdout] and 3 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `fd` in this scope [INFO] [stdout] --> command/src/pty.rs:52:15 [INFO] [stdout] | [INFO] [stdout] 52 | write(fd, msg_as_bytes().unwrap()); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `read` in this scope [INFO] [stdout] --> command/src/pty.rs:57:19 [INFO] [stdout] | [INFO] [stdout] 57 | let num = read(fd, &mut buf).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use core::ptr::read; [INFO] [stdout] | [INFO] [stdout] 1 + use nix::sys::ptrace::read; [INFO] [stdout] | [INFO] [stdout] 1 + use nix::unistd::read; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fs::read; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `fd` in this scope [INFO] [stdout] --> command/src/pty.rs:57:24 [INFO] [stdout] | [INFO] [stdout] 57 | let num = read(fd, &mut buf).unwrap(); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Error` [INFO] [stdout] --> command/src/create.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fmt::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AddressFamily`, `SockFlag`, `SockType`, `close`, `connect`, `read`, `socket`, `write` [INFO] [stdout] --> command/src/create.rs:14:25 [INFO] [stdout] | [INFO] [stdout] 14 | sys::socket::{bind, connect, listen, socket, AddressFamily, SockAddr, SockFlag, SockType}, [INFO] [stdout] | ^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] 15 | unistd::{close, read, write}, [INFO] [stdout] | ^^^^^ ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MntFlags` [INFO] [stdout] --> command/src/create.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | mount::{mount, MntFlags, MsFlags}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `io::Error`, `path::Path` [INFO] [stdout] --> command/src/pty.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | path::Path, io::Error, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ControlMessage`, `MsgFlags`, `OFlag`, `dup2`, `grantpt`, `open`, `posix_openpt`, `ptsname_r`, `sendmsg`, `setsid`, `stat::Mode`, `uio::IoVec`, `unlockpt` [INFO] [stdout] --> command/src/pty.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | fcntl::{open, OFlag}, [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] 8 | pty::{grantpt, posix_openpt, ptsname_r, unlockpt}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | self, connect, sendmsg, AddressFamily, ControlMessage, MsgFlags, SockAddr, SockFlag, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | stat::Mode, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 15 | uio::IoVec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 16 | }, [INFO] [stdout] 17 | unistd::{close, dup2, setsid}, [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_raw_fd` found for enum `Result` in the current scope [INFO] [stdout] --> command/src/pty.rs:36:34 [INFO] [stdout] | [INFO] [stdout] 36 | socket_fd: socket_fd.as_raw_fd(), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the method `as_raw_fd` exists on the type `i32` [INFO] [stdout] --> /rustc/21bc403d557a2516df70ea80fb19b94177beede5/library/std/src/os/fd/raw.rs:65:5 [INFO] [stdout] help: consider using `Result::expect` to unwrap the `i32` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 36 | socket_fd: socket_fd.expect("REASON").as_raw_fd(), [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] help: there is a method with a similar name [INFO] [stdout] | [INFO] [stdout] 36 | socket_fd: socket_fd.as_ref(), [INFO] [stdout] | ~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `msg_as_bytes` in this scope [INFO] [stdout] --> command/src/pty.rs:52:19 [INFO] [stdout] | [INFO] [stdout] 52 | write(fd, msg_as_bytes().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `trim` found for enum `Result` in the current scope [INFO] [stdout] --> command/src/pty.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | str.trim().to_string() [INFO] [stdout] | ^^^^ method not found in `Result<&str, Utf8Error>` [INFO] [stdout] | [INFO] [stdout] note: the method `trim` exists on the type `&str` [INFO] [stdout] --> /rustc/21bc403d557a2516df70ea80fb19b94177beede5/library/core/src/str/mod.rs:1836:5 [INFO] [stdout] help: consider using `Result::expect` to unwrap the `&str` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 59 | str.expect("REASON").trim().to_string() [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0423, E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0423`. [INFO] [stdout] [INFO] [stderr] error: could not compile `command` (lib) due to 8 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "ad3ce330394218e93053500d0eacc4639aa56bd8f9180ef3de6a67ea5d0f99dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad3ce330394218e93053500d0eacc4639aa56bd8f9180ef3de6a67ea5d0f99dd", kill_on_drop: false }` [INFO] [stdout] ad3ce330394218e93053500d0eacc4639aa56bd8f9180ef3de6a67ea5d0f99dd