[INFO] cloning repository https://github.com/SOSDove/sos-platform-tool [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SOSDove/sos-platform-tool" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSOSDove%2Fsos-platform-tool", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSOSDove%2Fsos-platform-tool'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c23d7af0519fa4e21f7214a5417d9b30605a1392 [INFO] testing SOSDove/sos-platform-tool against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSOSDove%2Fsos-platform-tool" "/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/SOSDove/sos-platform-tool [INFO] finished tweaking git repo https://github.com/SOSDove/sos-platform-tool [INFO] tweaked toml for git repo https://github.com/SOSDove/sos-platform-tool written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/SOSDove/sos-platform-tool on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/SOSDove/sos-platform-tool 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded addr2line v0.20.0 [INFO] [stderr] Downloaded backtrace v0.3.68 [INFO] [stderr] Downloaded futures-executor v0.3.28 [INFO] [stderr] Downloaded futures-core v0.3.28 [INFO] [stderr] Downloaded futures-io v0.3.28 [INFO] [stderr] Downloaded futures-macro v0.3.28 [INFO] [stderr] Downloaded futures-task v0.3.28 [INFO] [stderr] Downloaded clap v4.4.12 [INFO] [stderr] Downloaded futures v0.3.28 [INFO] [stderr] Downloaded mio v0.8.8 [INFO] [stderr] Downloaded socket2 v0.5.3 [INFO] [stderr] Downloaded futures-channel v0.3.28 [INFO] [stderr] Downloaded pin-project-lite v0.2.12 [INFO] [stderr] Downloaded futures-sink v0.3.28 [INFO] [stderr] Downloaded futures-util v0.3.28 [INFO] [stderr] Downloaded clap_builder v4.4.12 [INFO] [stderr] Downloaded tokio-macros v2.1.0 [INFO] [stderr] Downloaded object v0.31.1 [INFO] [stderr] Downloaded tokio v1.32.0 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d1f6958c679062a2d727e9e44285eeb685ca6454aa97d654c6b88a3aea59d164 [INFO] running `Command { std: "docker" "start" "-a" "d1f6958c679062a2d727e9e44285eeb685ca6454aa97d654c6b88a3aea59d164", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d1f6958c679062a2d727e9e44285eeb685ca6454aa97d654c6b88a3aea59d164", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1f6958c679062a2d727e9e44285eeb685ca6454aa97d654c6b88a3aea59d164", kill_on_drop: false }` [INFO] [stdout] d1f6958c679062a2d727e9e44285eeb685ca6454aa97d654c6b88a3aea59d164 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 75bbaaa9d2aec5046f6b57c6c083f6c33776f724df7713a8d883073d46fe25c9 [INFO] running `Command { std: "docker" "start" "-a" "75bbaaa9d2aec5046f6b57c6c083f6c33776f724df7713a8d883073d46fe25c9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling pin-project-lite v0.2.12 [INFO] [stderr] Compiling anstyle v1.0.1 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling anstyle-parse v0.2.1 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling anstyle-query v1.0.0 [INFO] [stderr] Compiling smallvec v1.11.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling clap_lex v0.6.0 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Compiling colored v2.1.0 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling anstream v0.6.5 [INFO] [stderr] Compiling clap_builder v4.4.12 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.29 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling socket2 v0.5.3 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling tokio v1.32.0 [INFO] [stderr] Compiling clap v4.4.12 [INFO] [stderr] Compiling futures-executor v0.3.28 [INFO] [stderr] Compiling futures v0.3.28 [INFO] [stderr] Compiling sos-platform-tool v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `colored::Colorize` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use colored::Colorize; [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: `docker` [INFO] [stdout] --> src/cli.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{docker, run_tool}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ext` [INFO] [stdout] --> src/docker.rs:25:35 [INFO] [stdout] | [INFO] [stdout] 25 | pub async fn run_docker_container(ext: &str, path: &str, key: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ext` [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/main.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | Err(e) => print_error("Error Removing Container"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_str_to_u32` is never used [INFO] [stdout] --> src/file_ops.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn parse_str_to_u32(s: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.75s [INFO] running `Command { std: "docker" "inspect" "75bbaaa9d2aec5046f6b57c6c083f6c33776f724df7713a8d883073d46fe25c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75bbaaa9d2aec5046f6b57c6c083f6c33776f724df7713a8d883073d46fe25c9", kill_on_drop: false }` [INFO] [stdout] 75bbaaa9d2aec5046f6b57c6c083f6c33776f724df7713a8d883073d46fe25c9 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 492493b2d4cdd2c5d9aaafca13d9428bb491d77e9a5d3f88f26bcf56f6ab0e30 [INFO] running `Command { std: "docker" "start" "-a" "492493b2d4cdd2c5d9aaafca13d9428bb491d77e9a5d3f88f26bcf56f6ab0e30", kill_on_drop: false }` [INFO] [stderr] Compiling sos-platform-tool v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `colored::Colorize` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use colored::Colorize; [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: `docker` [INFO] [stdout] --> src/cli.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{docker, run_tool}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ext` [INFO] [stdout] --> src/docker.rs:25:35 [INFO] [stdout] | [INFO] [stdout] 25 | pub async fn run_docker_container(ext: &str, path: &str, key: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ext` [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/main.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | Err(e) => print_error("Error Removing Container"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_str_to_u32` is never used [INFO] [stdout] --> src/file_ops.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn parse_str_to_u32(s: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.57s [INFO] running `Command { std: "docker" "inspect" "492493b2d4cdd2c5d9aaafca13d9428bb491d77e9a5d3f88f26bcf56f6ab0e30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "492493b2d4cdd2c5d9aaafca13d9428bb491d77e9a5d3f88f26bcf56f6ab0e30", kill_on_drop: false }` [INFO] [stdout] 492493b2d4cdd2c5d9aaafca13d9428bb491d77e9a5d3f88f26bcf56f6ab0e30 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9d6f5dde2f8b7ddaad773c167dc6653034986291b9000e41f0c088ea03256f2a [INFO] running `Command { std: "docker" "start" "-a" "9d6f5dde2f8b7ddaad773c167dc6653034986291b9000e41f0c088ea03256f2a", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `colored::Colorize` [INFO] [stderr] --> src/main.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use colored::Colorize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `docker` [INFO] [stderr] --> src/cli.rs:4:13 [INFO] [stderr] | [INFO] [stderr] 4 | use crate::{docker, run_tool}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ext` [INFO] [stderr] --> src/docker.rs:25:35 [INFO] [stderr] | [INFO] [stderr] 25 | pub async fn run_docker_container(ext: &str, path: &str, key: &str) -> Result<(), Box> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ext` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/main.rs:71:13 [INFO] [stderr] | [INFO] [stderr] 71 | Err(e) => print_error("Error Removing Container"), [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: function `parse_str_to_u32` is never used [INFO] [stderr] --> src/file_ops.rs:11:8 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn parse_str_to_u32(s: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `sos-platform-tool` (bin "sos-platform-tool" test) generated 5 warnings (run `cargo fix --bin "sos-platform-tool" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/sos_platform_tool-58983fc7405f3de5) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9d6f5dde2f8b7ddaad773c167dc6653034986291b9000e41f0c088ea03256f2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d6f5dde2f8b7ddaad773c167dc6653034986291b9000e41f0c088ea03256f2a", kill_on_drop: false }` [INFO] [stdout] 9d6f5dde2f8b7ddaad773c167dc6653034986291b9000e41f0c088ea03256f2a