[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 try#9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 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-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Julian-Alberts/tin-can on toolchain 9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "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-tc2/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" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8af9fb40dceb8da15dc0b67b09f05bd079a122fb3a960bffde58f69e964f972e [INFO] running `Command { std: "docker" "start" "-a" "8af9fb40dceb8da15dc0b67b09f05bd079a122fb3a960bffde58f69e964f972e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8af9fb40dceb8da15dc0b67b09f05bd079a122fb3a960bffde58f69e964f972e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8af9fb40dceb8da15dc0b67b09f05bd079a122fb3a960bffde58f69e964f972e", kill_on_drop: false }` [INFO] [stdout] 8af9fb40dceb8da15dc0b67b09f05bd079a122fb3a960bffde58f69e964f972e [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e863dc7af0509c85bbfba9f0fda4c4de26963cab7682357b28526b95f1edaa88 [INFO] running `Command { std: "docker" "start" "-a" "e863dc7af0509c85bbfba9f0fda4c4de26963cab7682357b28526b95f1edaa88", 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] Compiling tin-can v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking num_threads v0.1.7 [INFO] [stderr] Compiling quote v1.0.37 [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: `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: `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: 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: 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: 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: 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] error: this conversion is useless `PathBuf` to `PathBuf` [INFO] [stdout] --> src/container/step/mount_namespace.rs:131:24 [INFO] [stdout] | [INFO] [stdout] 131 | upper: upper_rw.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `PathBuf` to `PathBuf` [INFO] [stdout] --> src/container/step/mount_namespace.rs:136:22 [INFO] [stdout] | [INFO] [stdout] 136 | src: new_root.clone().into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `PathBuf` to `PathBuf` [INFO] [stdout] --> src/container/step/mount_namespace.rs:137:25 [INFO] [stdout] | [INFO] [stdout] 137 | target: new_root.clone().into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `PathBuf` to `PathBuf` [INFO] [stdout] --> src/container/step/mount_namespace.rs:140:27 [INFO] [stdout] | [INFO] [stdout] 140 | new_root: new_root.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `PathBuf` to `PathBuf` [INFO] [stdout] --> src/container/step/mount_namespace.rs:131:24 [INFO] [stdout] | [INFO] [stdout] 131 | upper: upper_rw.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `PathBuf` to `PathBuf` [INFO] [stdout] --> src/container/step/mount_namespace.rs:136:22 [INFO] [stdout] | [INFO] [stdout] 136 | src: new_root.clone().into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `PathBuf` to `PathBuf` [INFO] [stdout] --> src/container/step/mount_namespace.rs:137:25 [INFO] [stdout] | [INFO] [stdout] 137 | target: new_root.clone().into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `PathBuf` to `PathBuf` [INFO] [stdout] --> src/container/step/mount_namespace.rs:140:27 [INFO] [stdout] | [INFO] [stdout] 140 | new_root: new_root.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tin-can` (lib test) due to 4 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `tin-can` (lib) due to 4 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e863dc7af0509c85bbfba9f0fda4c4de26963cab7682357b28526b95f1edaa88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e863dc7af0509c85bbfba9f0fda4c4de26963cab7682357b28526b95f1edaa88", kill_on_drop: false }` [INFO] [stdout] e863dc7af0509c85bbfba9f0fda4c4de26963cab7682357b28526b95f1edaa88