[INFO] cloning repository https://github.com/trdthg/rs-lite-pura
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/trdthg/rs-lite-pura" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrdthg%2Frs-lite-pura", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrdthg%2Frs-lite-pura'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2d029e97bad95feab6a184ccdfda5391d025e70c
[INFO] testing trdthg/rs-lite-pura against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrdthg%2Frs-lite-pura" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/trdthg/rs-lite-pura
[INFO] finished tweaking git repo https://github.com/trdthg/rs-lite-pura
[INFO] tweaked toml for git repo https://github.com/trdthg/rs-lite-pura written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/trdthg/rs-lite-pura on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/trdthg/rs-lite-pura 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c8bf9e0e71456cc905ff9a91f3bb4dccc41ede7c4d51347ba11043f6d2554ab7
[INFO] running `Command { std: "docker" "start" "-a" "c8bf9e0e71456cc905ff9a91f3bb4dccc41ede7c4d51347ba11043f6d2554ab7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c8bf9e0e71456cc905ff9a91f3bb4dccc41ede7c4d51347ba11043f6d2554ab7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c8bf9e0e71456cc905ff9a91f3bb4dccc41ede7c4d51347ba11043f6d2554ab7", kill_on_drop: false }`
[INFO] [stdout] c8bf9e0e71456cc905ff9a91f3bb4dccc41ede7c4d51347ba11043f6d2554ab7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 39c658e7c860d18f39b182eebde8d1ba04f997afd077dae2437b440b1c754865
[INFO] running `Command { std: "docker" "start" "-a" "39c658e7c860d18f39b182eebde8d1ba04f997afd077dae2437b440b1c754865", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.36
[INFO] [stderr]    Compiling syn v1.0.86
[INFO] [stderr]    Compiling libc v0.2.119
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling serde_derive v1.0.136
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling indexmap v1.8.0
[INFO] [stderr]    Compiling serde v1.0.136
[INFO] [stderr]    Compiling serde_json v1.0.79
[INFO] [stderr]    Compiling textwrap v0.14.2
[INFO] [stderr]    Compiling ryu v1.0.9
[INFO] [stderr]    Compiling termcolor v1.1.2
[INFO] [stderr]    Compiling itoa v1.0.1
[INFO] [stderr]    Compiling quote v1.0.15
[INFO] [stderr]    Compiling os_str_bytes v6.0.0
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling time v0.1.44
[INFO] [stderr]    Compiling nix v0.23.1
[INFO] [stderr]    Compiling chrono v0.4.19
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling thiserror-impl v1.0.30
[INFO] [stderr]    Compiling clap_derive v3.1.2
[INFO] [stderr]    Compiling thiserror v1.0.30
[INFO] [stderr]    Compiling clap v3.1.2
[INFO] [stderr]    Compiling rs-lite-pura v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0412]: cannot find type `PtySocket` in this scope
[INFO] [stdout]    --> src/main.rs:126:28
[INFO] [stdout]     |
[INFO] [stdout] 126 |     let pty_socket: Option<PtySocket> = if has_terminal { None } else { None };
[INFO] [stdout]     |                            ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 106 | pub fn create<PtySocket>(create: Create) -> Result<()> {
[INFO] [stdout]     |              +++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BufWriter`, `PathBuf`, `Path`, and `fs::File`
[INFO] [stdout]  --> src/logger.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     fs::File,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 3 |     io::{BufWriter, Write},
[INFO] [stdout]   |          ^^^^^^^^^
[INFO] [stdout] 4 |     path::{Path, PathBuf},
[INFO] [stdout]   |            ^^^^  ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Error` and `Result`
[INFO] [stdout]  --> src/oci/spec_linux.rs:1:20
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::error::{Error, Result};
[INFO] [stdout]   |                    ^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `path::Path`
[INFO] [stdout]  --> src/oci/spec_linux.rs:3:33
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::{collections::HashMap, path::Path};
[INFO] [stdout]   |                                 ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PathBuf`
[INFO] [stdout]  --> src/main.rs:7:23
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::path::{Path, PathBuf};
[INFO] [stdout]   |                       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/main.rs:129:8
[INFO] [stdout]     |
[INFO] [stdout] 129 |     Ok((()))
[INFO] [stdout]     |        ^  ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 129 -     Ok((()))
[INFO] [stdout] 129 +     Ok(() )
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/core/terminal.rs:11:21
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pub fn new() -> Result<Self> {
[INFO] [stdout]    |            ---      ^^^^^^^^^^^^ expected `Result<Pty, Error>`, found `()`
[INFO] [stdout]    |            |
[INFO] [stdout]    |            implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `std::result::Result<Pty, error::Error>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: borrow of moved value: `state_file_path`
[INFO] [stdout]   --> src/oci/state.rs:74:70
[INFO] [stdout]    |
[INFO] [stdout] 73 |         let state_file_path = value.join("state.json");
[INFO] [stdout]    |             --------------- move occurs because `state_file_path` has type `PathBuf`, which does not implement the `Copy` trait
[INFO] [stdout] 74 |         let state_json_str = read_to_string(state_file_path).map_err(|e| {
[INFO] [stdout]    |                                             ---------------          ^^^ value borrowed here after move
[INFO] [stdout]    |                                             |
[INFO] [stdout]    |                                             value moved here
[INFO] [stdout] 75 |             crate::Error::StringError(format!("state file not found: {state_file_path:?}"))
[INFO] [stdout]    |                                                                       --------------- borrow occurs due to use in closure
[INFO] [stdout]    |
[INFO] [stdout] help: consider borrowing `state_file_path`
[INFO] [stdout]    |
[INFO] [stdout] 74 |         let state_json_str = read_to_string(&state_file_path).map_err(|e| {
[INFO] [stdout]    |                                             +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/oci/state.rs:77:73
[INFO] [stdout]    |
[INFO] [stdout] 77 |         let state_json = serde_json::from_str(&state_json_str).map_err(|e| {
[INFO] [stdout]    |                                                                         ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/oci/state.rs:74:71
[INFO] [stdout]    |
[INFO] [stdout] 74 |         let state_json_str = read_to_string(state_file_path).map_err(|e| {
[INFO] [stdout]    |                                                                       ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]   --> src/main.rs:98:27
[INFO] [stdout]    |
[INFO] [stdout] 98 |         Commands::Start { id } => todo!(),
[INFO] [stdout]    |                           ^^ help: try ignoring the field: `id: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]   --> src/main.rs:99:26
[INFO] [stdout]    |
[INFO] [stdout] 99 |         Commands::Kill { id, signal } => todo!(),
[INFO] [stdout]    |                          ^^ help: try ignoring the field: `id: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `signal`
[INFO] [stdout]   --> src/main.rs:99:30
[INFO] [stdout]    |
[INFO] [stdout] 99 |         Commands::Kill { id, signal } => todo!(),
[INFO] [stdout]    |                              ^^^^^^ help: try ignoring the field: `signal: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]    --> src/main.rs:100:28
[INFO] [stdout]     |
[INFO] [stdout] 100 |         Commands::Delete { id } => todo!(),
[INFO] [stdout]     |                            ^^ help: try ignoring the field: `id: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]    --> src/main.rs:101:27
[INFO] [stdout]     |
[INFO] [stdout] 101 |         Commands::State { id } => todo!(),
[INFO] [stdout]     |                           ^^ help: try ignoring the field: `id: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0382, E0412.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rs-lite-pura` (bin "rs-lite-pura") due to 3 previous errors; 12 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "39c658e7c860d18f39b182eebde8d1ba04f997afd077dae2437b440b1c754865", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "39c658e7c860d18f39b182eebde8d1ba04f997afd077dae2437b440b1c754865", kill_on_drop: false }`
[INFO] [stdout] 39c658e7c860d18f39b182eebde8d1ba04f997afd077dae2437b440b1c754865
