[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 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrdthg%2Frs-lite-pura" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/trdthg/rs-lite-pura on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-13/source/Cargo.toml [INFO] crate git repo https://github.com/trdthg/rs-lite-pura already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "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] 3220e568316441b2396e3e7d791e67c0f1c11394880f7a206321cec14d86eb3d [INFO] running `Command { std: "docker" "start" "-a" "3220e568316441b2396e3e7d791e67c0f1c11394880f7a206321cec14d86eb3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3220e568316441b2396e3e7d791e67c0f1c11394880f7a206321cec14d86eb3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3220e568316441b2396e3e7d791e67c0f1c11394880f7a206321cec14d86eb3d", kill_on_drop: false }` [INFO] [stdout] 3220e568316441b2396e3e7d791e67c0f1c11394880f7a206321cec14d86eb3d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5b7daef543f188d2f20cda79f318650816d87a8f59c731875071518d9b47ea3e [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" "5b7daef543f188d2f20cda79f318650816d87a8f59c731875071518d9b47ea3e", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling textwrap v0.14.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling os_str_bytes v6.0.0 [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 serde_derive v1.0.136 [INFO] [stderr] Compiling clap_derive v3.1.2 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling clap v3.1.2 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling serde_json v1.0.79 [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] 106 | pub fn create(create: Create) -> Result<()> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 126 | let pty_socket: Option = if has_terminal { None } else { None }; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufWriter`, `PathBuf`, `Path`, `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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error`, `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)]` 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 { [INFO] [stdout] | --- ^^^^^^^^^^^^ expected enum `std::result::Result`, 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` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, 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` due to 3 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5b7daef543f188d2f20cda79f318650816d87a8f59c731875071518d9b47ea3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b7daef543f188d2f20cda79f318650816d87a8f59c731875071518d9b47ea3e", kill_on_drop: false }` [INFO] [stdout] 5b7daef543f188d2f20cda79f318650816d87a8f59c731875071518d9b47ea3e