[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] testing mlycore/container-rs-example against beta-2022-07-16 for beta-1.63-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmlycore%2Fcontainer-rs-example" "/workspace/builds/worker-9/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/mlycore/container-rs-example on toolchain beta-2022-07-16
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-16" "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-9/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: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-16" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 503bc2d1c7e028a41331de67439df75435196a67bd055bd470d49907f218b8f1
[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" "503bc2d1c7e028a41331de67439df75435196a67bd055bd470d49907f218b8f1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "503bc2d1c7e028a41331de67439df75435196a67bd055bd470d49907f218b8f1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "503bc2d1c7e028a41331de67439df75435196a67bd055bd470d49907f218b8f1", kill_on_drop: false }`
[INFO] [stdout] 503bc2d1c7e028a41331de67439df75435196a67bd055bd470d49907f218b8f1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "build" "--frozen" "--message-format=json", 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] c708ef9067754f03e735a06dcd880722686296a926170261887f4c5356318c87
[INFO] running `Command { std: "docker" "start" "-a" "c708ef9067754f03e735a06dcd880722686296a926170261887f4c5356318c87", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.92
[INFO] [stderr]    Compiling libc v0.2.125
[INFO] [stderr]    Compiling serde_json v1.0.81
[INFO] [stderr]    Compiling os_str_bytes v6.0.0
[INFO] [stderr]    Compiling textwrap v0.15.0
[INFO] [stderr]    Compiling once_cell v1.10.0
[INFO] [stderr]    Compiling indexmap v1.8.1
[INFO] [stderr]    Compiling tracing-core v0.1.26
[INFO] [stderr]    Compiling regex v1.5.5
[INFO] [stderr]    Compiling proc-macro2 v1.0.37
[INFO] [stderr]    Compiling thread_local v1.1.4
[INFO] [stderr]    Compiling clap_lex v0.2.0
[INFO] [stderr]    Compiling tracing-log v0.1.3
[INFO] [stderr]    Compiling quote v1.0.18
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling nix v0.21.2
[INFO] [stderr]    Compiling chrono v0.4.19
[INFO] [stderr]    Compiling clap v3.1.15
[INFO] [stderr]    Compiling serde_derive v1.0.137
[INFO] [stderr]    Compiling tracing-attributes v0.1.21
[INFO] [stderr]    Compiling tracing v0.1.34
[INFO] [stderr]    Compiling serde v1.0.137
[INFO] [stderr]    Compiling oci-spec v0.1.0 (/opt/rustwide/workdir/oci-spec)
[INFO] [stderr]    Compiling tracing-serde v0.1.3
[INFO] [stderr]    Compiling command v0.1.0 (/opt/rustwide/workdir/command)
[INFO] [stderr]    Compiling 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 `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[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] 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 an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 36 |             socket_fd: socket_fd.as_ref(),
[INFO] [stdout]    |                                  ~~~~~~
[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] 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` 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" "c708ef9067754f03e735a06dcd880722686296a926170261887f4c5356318c87", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c708ef9067754f03e735a06dcd880722686296a926170261887f4c5356318c87", kill_on_drop: false }`
[INFO] [stdout] c708ef9067754f03e735a06dcd880722686296a926170261887f4c5356318c87
