[INFO] cloning repository https://github.com/Julian-Alberts/tin-can [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Julian-Alberts/tin-can" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJulian-Alberts%2Ftin-can", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJulian-Alberts%2Ftin-can'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6964e0934a9285c37e794a07b190a2e5c35dbf86 [INFO] checking Julian-Alberts/tin-can against master#336209eef13882bd1e211b24779584cb7ef911eb for pr-129249 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJulian-Alberts%2Ftin-can" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Julian-Alberts/tin-can on toolchain 336209eef13882bd1e211b24779584cb7ef911eb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+336209eef13882bd1e211b24779584cb7ef911eb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Julian-Alberts/tin-can [INFO] finished tweaking git repo https://github.com/Julian-Alberts/tin-can [INFO] tweaked toml for git repo https://github.com/Julian-Alberts/tin-can written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Julian-Alberts/tin-can 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" "+336209eef13882bd1e211b24779584cb7ef911eb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thiserror v2.0.7 [INFO] [stderr] Downloaded simplelog v0.12.2 [INFO] [stderr] Downloaded thiserror-impl v2.0.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+336209eef13882bd1e211b24779584cb7ef911eb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7e87ad73108e18a38650ac2236392bc56c8778ba3032d5813fe3d51adb93e8a5 [INFO] running `Command { std: "docker" "start" "-a" "7e87ad73108e18a38650ac2236392bc56c8778ba3032d5813fe3d51adb93e8a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7e87ad73108e18a38650ac2236392bc56c8778ba3032d5813fe3d51adb93e8a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e87ad73108e18a38650ac2236392bc56c8778ba3032d5813fe3d51adb93e8a5", kill_on_drop: false }` [INFO] [stdout] 7e87ad73108e18a38650ac2236392bc56c8778ba3032d5813fe3d51adb93e8a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+336209eef13882bd1e211b24779584cb7ef911eb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 89e3274af07cb970a49ab05dbfb731ed87a6e6cc076294135fcdff27ffd61334 [INFO] running `Command { std: "docker" "start" "-a" "89e3274af07cb970a49ab05dbfb731ed87a6e6cc076294135fcdff27ffd61334", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.168 [INFO] [stderr] Compiling thiserror v2.0.7 [INFO] [stderr] Compiling time-macros v0.2.19 [INFO] [stderr] Checking num_threads v0.1.7 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling tin-can v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Checking time v0.3.37 [INFO] [stderr] Checking simplelog v0.12.2 [INFO] [stderr] Compiling thiserror-impl v2.0.7 [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/container/step/mount_namespace.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `str::Utf8Error` [INFO] [stdout] --> src/linux.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | str::Utf8Error, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/container/step/mount_namespace.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `str::Utf8Error` [INFO] [stdout] --> src/linux.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | str::Utf8Error, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ops::RangeBounds` [INFO] [stdout] --> src/container.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{io::BufRead, ops::RangeBounds}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ops::RangeBounds` [INFO] [stdout] --> src/container.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{io::BufRead, ops::RangeBounds}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_valid` is never used [INFO] [stdout] --> src/container.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 66 | / impl IdMap [INFO] [stdout] 67 | | where [INFO] [stdout] 68 | | T: MapType, [INFO] [stdout] | |_______________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 115 | fn is_valid(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_valid` is never used [INFO] [stdout] --> src/container.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 66 | / impl IdMap [INFO] [stdout] 67 | | where [INFO] [stdout] 68 | | T: MapType, [INFO] [stdout] | |_______________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 115 | fn is_valid(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `kind` is never read [INFO] [stdout] --> src/container/step/user_namespace.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 133 | pub struct IdMapError { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 134 | error: std::io::Error, [INFO] [stdout] 135 | kind: IdMapErrorKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `kind` is never read [INFO] [stdout] --> src/container/step/user_namespace.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 133 | pub struct IdMapError { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 134 | error: std::io::Error, [INFO] [stdout] 135 | kind: IdMapErrorKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/container/step/user_namespace.rs:149:8 [INFO] [stdout] | [INFO] [stdout] 145 | / impl IdMapError [INFO] [stdout] 146 | | where [INFO] [stdout] 147 | | T: MapType, [INFO] [stdout] | |_______________- associated function in this implementation [INFO] [stdout] 148 | { [INFO] [stdout] 149 | fn new(kind: IdMapErrorKind, error: std::io::Error) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/container/step/user_namespace.rs:149:8 [INFO] [stdout] | [INFO] [stdout] 145 | / impl IdMapError [INFO] [stdout] 146 | | where [INFO] [stdout] 147 | | T: MapType, [INFO] [stdout] | |_______________- associated function in this implementation [INFO] [stdout] 148 | { [INFO] [stdout] 149 | fn new(kind: IdMapErrorKind, error: std::io::Error) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_user_name` is never used [INFO] [stdout] --> src/linux.rs:390:15 [INFO] [stdout] | [INFO] [stdout] 390 | pub(crate) fn get_user_name(uid: u32) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_user_name` is never used [INFO] [stdout] --> src/linux.rs:390:15 [INFO] [stdout] | [INFO] [stdout] 390 | pub(crate) fn get_user_name(uid: u32) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IdMap` [INFO] [stdout] --> examples/simple.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | ContainerBuilder, IdMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `User` and `switch_user::SwitchUser` [INFO] [stdout] --> examples/alpine-container.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | switch_user::SwitchUser, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | ContainerBuilder, IdMap, User, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `container` [INFO] [stdout] --> examples/alpine-container.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let container = ContainerBuilder::new(UserNamespaceRoot::new_with_current_user_as_root( [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_container` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.27s [INFO] running `Command { std: "docker" "inspect" "89e3274af07cb970a49ab05dbfb731ed87a6e6cc076294135fcdff27ffd61334", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89e3274af07cb970a49ab05dbfb731ed87a6e6cc076294135fcdff27ffd61334", kill_on_drop: false }` [INFO] [stdout] 89e3274af07cb970a49ab05dbfb731ed87a6e6cc076294135fcdff27ffd61334