[INFO] cloning repository https://github.com/jakwinkler/virturust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jakwinkler/virturust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjakwinkler%2Fvirturust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjakwinkler%2Fvirturust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 53cf340f96134d9d56a83dbecdd0ab12ade06c7f [INFO] testing jakwinkler/virturust against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjakwinkler%2Fvirturust" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jakwinkler/virturust [INFO] removed 0 missing tests [INFO] finished tweaking git repo https://github.com/jakwinkler/virturust [INFO] tweaked toml for git repo https://github.com/jakwinkler/virturust written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jakwinkler/virturust on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jakwinkler/virturust 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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded filetime v0.2.27 [INFO] [stderr] Downloaded tempfile v3.27.0 [INFO] [stderr] Downloaded plain v0.2.3 [INFO] [stderr] Downloaded xattr v1.6.1 [INFO] [stderr] Downloaded colorchoice v1.0.5 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.64 [INFO] [stderr] Downloaded predicates-tree v1.0.13 [INFO] [stderr] Downloaded predicates-core v1.0.10 [INFO] [stderr] Downloaded env_filter v1.0.0 [INFO] [stderr] Downloaded lru-slab v0.1.2 [INFO] [stderr] Downloaded assert_cmd v2.2.0 [INFO] [stderr] Downloaded env_logger v0.11.9 [INFO] [stderr] Downloaded anstream v1.0.0 [INFO] [stderr] Downloaded portable-atomic-util v0.2.5 [INFO] [stderr] Downloaded tar v0.4.44 [INFO] [stderr] Downloaded predicates v3.1.4 [INFO] [stderr] Downloaded quinn-udp v0.5.14 [INFO] [stderr] Downloaded jiff-static v0.2.23 [INFO] [stderr] Downloaded quinn v0.11.9 [INFO] [stderr] Downloaded redox_syscall v0.7.3 [INFO] [stderr] Downloaded anstyle-parse v1.0.0 [INFO] [stderr] Downloaded quinn-proto v0.11.14 [INFO] [stderr] Downloaded web-sys v0.3.91 [INFO] [stderr] Downloaded jiff v0.2.23 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 647dd7782b4476ee7b1e4dae83ffa75eddc45798c58702b6ffd48d46c40c78f2 [INFO] running `Command { std: "docker" "start" "-a" "647dd7782b4476ee7b1e4dae83ffa75eddc45798c58702b6ffd48d46c40c78f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "647dd7782b4476ee7b1e4dae83ffa75eddc45798c58702b6ffd48d46c40c78f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "647dd7782b4476ee7b1e4dae83ffa75eddc45798c58702b6ffd48d46c40c78f2", kill_on_drop: false }` [INFO] [stdout] 647dd7782b4476ee7b1e4dae83ffa75eddc45798c58702b6ffd48d46c40c78f2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e42772de0d34caab1bcc3c80ca6f2c484234344374bfd4481c541fde5f42970 [INFO] running `Command { std: "docker" "start" "-a" "5e42772de0d34caab1bcc3c80ca6f2c484234344374bfd4481c541fde5f42970", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling libc v0.2.183 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling pin-project-lite v0.2.17 [INFO] [stderr] Compiling bytes v1.11.1 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling itoa v1.0.17 [INFO] [stderr] Compiling find-msvc-tools v0.1.9 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling cc v1.2.56 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling once_cell v1.21.4 [INFO] [stderr] Compiling rustls-pki-types v1.14.0 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling bitflags v2.11.0 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling colorchoice v1.0.5 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling rustls v0.23.37 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling anstyle v1.0.14 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling socket2 v0.6.3 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling anstyle-parse v1.0.0 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling ipnet v2.12.0 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling linux-raw-sys v0.12.1 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling anstream v1.0.0 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Compiling webpki-roots v1.0.6 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling futures-sink v0.3.32 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling simd-adler32 v0.3.8 [INFO] [stderr] Compiling clap_lex v1.1.0 [INFO] [stderr] Compiling anyhow v1.0.102 [INFO] [stderr] Compiling ryu v1.0.23 [INFO] [stderr] Compiling iri-string v0.7.10 [INFO] [stderr] Compiling winnow v0.7.15 [INFO] [stderr] Compiling clap_builder v4.6.0 [INFO] [stderr] Compiling xattr v1.6.1 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.6.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling rustls-webpki v0.103.9 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling tokio v1.50.0 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling clap_derive v4.6.0 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling env_filter v1.0.0 [INFO] [stderr] Compiling anstream v0.6.21 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling filetime v0.2.27 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling jiff v0.2.23 [INFO] [stderr] Compiling uuid v1.22.0 [INFO] [stderr] Compiling tar v0.4.44 [INFO] [stderr] Compiling clap v4.6.0 [INFO] [stderr] Compiling flate2 v1.1.9 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling hyper-util v0.1.20 [INFO] [stderr] Compiling env_logger v0.11.9 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling reqwest v0.12.28 [INFO] [stderr] Compiling corten v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/container.rs:522:19 [INFO] [stdout] | [INFO] [stdout] 522 | use std::io::{Read, Write}; [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 variable: `code` [INFO] [stdout] --> src/build.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | let code = libc::WEXITSTATUS(status); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nfds` [INFO] [stdout] --> src/container.rs:552:13 [INFO] [stdout] | [INFO] [stdout] 552 | let nfds = if interactive { 2 } else { 1 }; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_nfds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/namespace.rs:224:9 [INFO] [stdout] | [INFO] [stdout] 224 | let mut env_map: std::collections::HashMap = std::env::vars().collect(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::CStr` [INFO] [stdout] --> src/main.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | use std::ffi::CStr; [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 import: `std::collections::HashMap` [INFO] [stdout] --> src/main.rs:1136:9 [INFO] [stdout] | [INFO] [stdout] 1136 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/main.rs:55:50 [INFO] [stdout] | [INFO] [stdout] 53 | unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] 54 | std::env::set_var("CORTEN_REAL_UID", actual_uid.to_string()); [INFO] [stdout] 55 | std::env::set_var("CORTEN_REAL_GID", unsafe { libc::getgid() }.to_string()); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:1155:9 [INFO] [stdout] | [INFO] [stdout] 1155 | let mut color_idx = 0; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_idx` [INFO] [stdout] --> src/main.rs:1155:9 [INFO] [stdout] | [INFO] [stdout] 1155 | let mut color_idx = 0; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_idx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 05s [INFO] running `Command { std: "docker" "inspect" "5e42772de0d34caab1bcc3c80ca6f2c484234344374bfd4481c541fde5f42970", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e42772de0d34caab1bcc3c80ca6f2c484234344374bfd4481c541fde5f42970", kill_on_drop: false }` [INFO] [stdout] 5e42772de0d34caab1bcc3c80ca6f2c484234344374bfd4481c541fde5f42970 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0f424c1c2c1b01e1e2753d6014ab0cbebb80ddf8ee181ac2481856d23afc766a [INFO] running `Command { std: "docker" "start" "-a" "0f424c1c2c1b01e1e2753d6014ab0cbebb80ddf8ee181ac2481856d23afc766a", kill_on_drop: false }` [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling predicates-core v1.0.10 [INFO] [stderr] Compiling termtree v0.5.1 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling assert_cmd v2.2.0 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling predicates-tree v1.0.13 [INFO] [stderr] Compiling float-cmp v0.10.0 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling xattr v1.6.1 [INFO] [stderr] Compiling tempfile v3.27.0 [INFO] [stderr] Compiling tar v0.4.44 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling bstr v1.12.1 [INFO] [stderr] Compiling env_filter v1.0.0 [INFO] [stderr] Compiling predicates v3.1.4 [INFO] [stderr] Compiling env_logger v0.11.9 [INFO] [stderr] Compiling corten v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/container.rs:522:19 [INFO] [stdout] | [INFO] [stdout] 522 | use std::io::{Read, Write}; [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 import: `Read` [INFO] [stdout] --> src/container.rs:522:19 [INFO] [stdout] | [INFO] [stdout] 522 | use std::io::{Read, Write}; [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 variable: `code` [INFO] [stdout] --> src/build.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | let code = libc::WEXITSTATUS(status); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code` [INFO] [stdout] --> src/build.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | let code = libc::WEXITSTATUS(status); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nfds` [INFO] [stdout] --> src/container.rs:552:13 [INFO] [stdout] | [INFO] [stdout] 552 | let nfds = if interactive { 2 } else { 1 }; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_nfds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nfds` [INFO] [stdout] --> src/container.rs:552:13 [INFO] [stdout] | [INFO] [stdout] 552 | let nfds = if interactive { 2 } else { 1 }; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_nfds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/namespace.rs:224:9 [INFO] [stdout] | [INFO] [stdout] 224 | let mut env_map: std::collections::HashMap = std::env::vars().collect(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/namespace.rs:224:9 [INFO] [stdout] | [INFO] [stdout] 224 | let mut env_map: std::collections::HashMap = std::env::vars().collect(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::CStr` [INFO] [stdout] --> src/main.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | use std::ffi::CStr; [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 import: `std::collections::HashMap` [INFO] [stdout] --> src/main.rs:1136:9 [INFO] [stdout] | [INFO] [stdout] 1136 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/main.rs:55:50 [INFO] [stdout] | [INFO] [stdout] 53 | unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] 54 | std::env::set_var("CORTEN_REAL_UID", actual_uid.to_string()); [INFO] [stdout] 55 | std::env::set_var("CORTEN_REAL_GID", unsafe { libc::getgid() }.to_string()); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:1155:9 [INFO] [stdout] | [INFO] [stdout] 1155 | let mut color_idx = 0; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_idx` [INFO] [stdout] --> src/main.rs:1155:9 [INFO] [stdout] | [INFO] [stdout] 1155 | let mut color_idx = 0; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_idx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `log_dirs` and `log_files` in initializer of `ImageConfig` [INFO] [stdout] --> tests/image_config_test.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | let config = ImageConfig { [INFO] [stdout] | ^^^^^^^^^^^ missing `log_dirs` and `log_files` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stderr] error: could not compile `corten` (test "image_config_test") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "0f424c1c2c1b01e1e2753d6014ab0cbebb80ddf8ee181ac2481856d23afc766a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f424c1c2c1b01e1e2753d6014ab0cbebb80ddf8ee181ac2481856d23afc766a", kill_on_drop: false }` [INFO] [stdout] 0f424c1c2c1b01e1e2753d6014ab0cbebb80ddf8ee181ac2481856d23afc766a