[INFO] cloning repository https://github.com/nokernelspace/knob [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nokernelspace/knob" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnokernelspace%2Fknob", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnokernelspace%2Fknob'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3303ef17855f3dd871a2a35d0f23ae78ad77cbaf [INFO] testing nokernelspace/knob against master#414482f6a0d4e7290f614300581a0b55442552a3 for pr-140985 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnokernelspace%2Fknob" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nokernelspace/knob on toolchain 414482f6a0d4e7290f614300581a0b55442552a3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nokernelspace/knob [INFO] finished tweaking git repo https://github.com/nokernelspace/knob [INFO] tweaked toml for git repo https://github.com/nokernelspace/knob written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/nokernelspace/knob 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" "+414482f6a0d4e7290f614300581a0b55442552a3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 44032a2ad6d8e66c30598c54f0db19f2008858e0c28223c50240d38d23ce1db2 [INFO] running `Command { std: "docker" "start" "-a" "44032a2ad6d8e66c30598c54f0db19f2008858e0c28223c50240d38d23ce1db2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "44032a2ad6d8e66c30598c54f0db19f2008858e0c28223c50240d38d23ce1db2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44032a2ad6d8e66c30598c54f0db19f2008858e0c28223c50240d38d23ce1db2", kill_on_drop: false }` [INFO] [stdout] 44032a2ad6d8e66c30598c54f0db19f2008858e0c28223c50240d38d23ce1db2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1296e191596a8f316a66b90dc13ce50982bd3e1e2c41d0507a595ff28d67ddbd [INFO] running `Command { std: "docker" "start" "-a" "1296e191596a8f316a66b90dc13ce50982bd3e1e2c41d0507a595ff28d67ddbd", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling winnow v0.7.3 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling clap_builder v4.5.31 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling quote v1.0.39 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling clap_derive v4.5.28 [INFO] [stderr] Compiling clap v4.5.31 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_edit v0.22.24 [INFO] [stderr] Compiling toml v0.8.20 [INFO] [stderr] Compiling knob v0.9.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/buildsteps.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | 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: `toml::Value` [INFO] [stdout] --> src/compileutils.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use toml::Value; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::types::*` [INFO] [stdout] --> src/procutils.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::types::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env::consts` [INFO] [stdout] --> src/procutils.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::env::consts; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Component` and `Path` [INFO] [stdout] --> src/procutils.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::{Component, Path, PathBuf}; [INFO] [stdout] | ^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::*` [INFO] [stdout] --> src/procutils.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::time::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/types.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/buildsteps.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | let mut compiler_args = [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/compileutils.rs:38:54 [INFO] [stdout] | [INFO] [stdout] 38 | .fold(Vec::new(), |mut acc, (x, y)| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/compileutils.rs:53:54 [INFO] [stdout] | [INFO] [stdout] 53 | .fold(Vec::new(), |mut acc, (x, y)| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> src/procutils.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | Ok(status) => return true, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/procutils.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | Err(e) => return false, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code` [INFO] [stdout] --> src/procutils.rs:55:21 [INFO] [stdout] | [INFO] [stdout] 55 | let code = output.status.code().unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `platform` [INFO] [stdout] --> src/main.rs:48:28 [INFO] [stdout] | [INFO] [stdout] 48 | let (dirs, platform, shared, targets) = parse_toml(&*toml); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_platform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dirs` [INFO] [stdout] --> src/main.rs:91:22 [INFO] [stdout] | [INFO] [stdout] 91 | let (dirs, platform, shared, target) = parse_toml(&*toml); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dirs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `platform` [INFO] [stdout] --> src/main.rs:91:28 [INFO] [stdout] | [INFO] [stdout] 91 | let (dirs, platform, shared, target) = parse_toml(&*toml); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_platform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/main.rs:96:46 [INFO] [stdout] | [INFO] [stdout] 96 | let (dirs, platform, shared, target) = parse_toml(&*toml); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sources` [INFO] [stdout] --> src/main.rs:108:21 [INFO] [stdout] | [INFO] [stdout] 108 | let sources = find_sources(&dirs.sources); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sources` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src` [INFO] [stdout] --> src/main.rs:133:25 [INFO] [stdout] | [INFO] [stdout] 133 | let src = PathBuf::from(&command.file); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_src` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:115:21 [INFO] [stdout] | [INFO] [stdout] 115 | let mut includes_args: Vec = includes [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:119:21 [INFO] [stdout] | [INFO] [stdout] 119 | let mut isys_args = includes.iter().fold(Vec::new(), |mut a, i| { [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:166:21 [INFO] [stdout] | [INFO] [stdout] 166 | let mut args = [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 33.61s [INFO] running `Command { std: "docker" "inspect" "1296e191596a8f316a66b90dc13ce50982bd3e1e2c41d0507a595ff28d67ddbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1296e191596a8f316a66b90dc13ce50982bd3e1e2c41d0507a595ff28d67ddbd", kill_on_drop: false }` [INFO] [stdout] 1296e191596a8f316a66b90dc13ce50982bd3e1e2c41d0507a595ff28d67ddbd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0011187f3358525f3d74d6d540f62b0d30e50f945a20d30389a68f723962800a [INFO] running `Command { std: "docker" "start" "-a" "0011187f3358525f3d74d6d540f62b0d30e50f945a20d30389a68f723962800a", kill_on_drop: false }` [INFO] [stderr] Compiling knob v0.9.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/buildsteps.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | 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: `toml::Value` [INFO] [stdout] --> src/compileutils.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use toml::Value; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::types::*` [INFO] [stdout] --> src/procutils.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::types::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env::consts` [INFO] [stdout] --> src/procutils.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::env::consts; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Component` and `Path` [INFO] [stdout] --> src/procutils.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::{Component, Path, PathBuf}; [INFO] [stdout] | ^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::*` [INFO] [stdout] --> src/procutils.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::time::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/types.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/buildsteps.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | let mut compiler_args = [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/compileutils.rs:38:54 [INFO] [stdout] | [INFO] [stdout] 38 | .fold(Vec::new(), |mut acc, (x, y)| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/compileutils.rs:53:54 [INFO] [stdout] | [INFO] [stdout] 53 | .fold(Vec::new(), |mut acc, (x, y)| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> src/procutils.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | Ok(status) => return true, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/procutils.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | Err(e) => return false, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code` [INFO] [stdout] --> src/procutils.rs:55:21 [INFO] [stdout] | [INFO] [stdout] 55 | let code = output.status.code().unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `platform` [INFO] [stdout] --> src/main.rs:48:28 [INFO] [stdout] | [INFO] [stdout] 48 | let (dirs, platform, shared, targets) = parse_toml(&*toml); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_platform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dirs` [INFO] [stdout] --> src/main.rs:91:22 [INFO] [stdout] | [INFO] [stdout] 91 | let (dirs, platform, shared, target) = parse_toml(&*toml); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dirs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `platform` [INFO] [stdout] --> src/main.rs:91:28 [INFO] [stdout] | [INFO] [stdout] 91 | let (dirs, platform, shared, target) = parse_toml(&*toml); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_platform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/main.rs:96:46 [INFO] [stdout] | [INFO] [stdout] 96 | let (dirs, platform, shared, target) = parse_toml(&*toml); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sources` [INFO] [stdout] --> src/main.rs:108:21 [INFO] [stdout] | [INFO] [stdout] 108 | let sources = find_sources(&dirs.sources); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sources` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src` [INFO] [stdout] --> src/main.rs:133:25 [INFO] [stdout] | [INFO] [stdout] 133 | let src = PathBuf::from(&command.file); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_src` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:115:21 [INFO] [stdout] | [INFO] [stdout] 115 | let mut includes_args: Vec = includes [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:119:21 [INFO] [stdout] | [INFO] [stdout] 119 | let mut isys_args = includes.iter().fold(Vec::new(), |mut a, i| { [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:166:21 [INFO] [stdout] | [INFO] [stdout] 166 | let mut args = [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.88s [INFO] running `Command { std: "docker" "inspect" "0011187f3358525f3d74d6d540f62b0d30e50f945a20d30389a68f723962800a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0011187f3358525f3d74d6d540f62b0d30e50f945a20d30389a68f723962800a", kill_on_drop: false }` [INFO] [stdout] 0011187f3358525f3d74d6d540f62b0d30e50f945a20d30389a68f723962800a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 703078438bc0ed70c3615758882786372347715f11087b1a76db733d3532d310 [INFO] running `Command { std: "docker" "start" "-a" "703078438bc0ed70c3615758882786372347715f11087b1a76db733d3532d310", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Path` [INFO] [stderr] --> src/buildsteps.rs:4:17 [INFO] [stderr] | [INFO] [stderr] 4 | use std::path::{Path, PathBuf}; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `toml::Value` [INFO] [stderr] --> src/compileutils.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use toml::Value; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::types::*` [INFO] [stderr] --> src/procutils.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::types::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::env::consts` [INFO] [stderr] --> src/procutils.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::env::consts; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Component` and `Path` [INFO] [stderr] --> src/procutils.rs:5:17 [INFO] [stderr] | [INFO] [stderr] 5 | use std::path::{Component, Path, PathBuf}; [INFO] [stderr] | ^^^^^^^^^ ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::time::*` [INFO] [stderr] --> src/procutils.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use std::time::*; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Path` [INFO] [stderr] --> src/types.rs:3:17 [INFO] [stderr] | [INFO] [stderr] 3 | use std::path::{Path, PathBuf}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/buildsteps.rs:64:9 [INFO] [stderr] | [INFO] [stderr] 64 | let mut compiler_args = [INFO] [stderr] | ----^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/compileutils.rs:38:54 [INFO] [stderr] | [INFO] [stderr] 38 | .fold(Vec::new(), |mut acc, (x, y)| { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/compileutils.rs:53:54 [INFO] [stderr] | [INFO] [stderr] 53 | .fold(Vec::new(), |mut acc, (x, y)| { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `status` [INFO] [stderr] --> src/procutils.rs:29:12 [INFO] [stderr] | [INFO] [stderr] 29 | Ok(status) => return true, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/procutils.rs:30:13 [INFO] [stderr] | [INFO] [stderr] 30 | Err(e) => return false, [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `code` [INFO] [stderr] --> src/procutils.rs:55:21 [INFO] [stderr] | [INFO] [stderr] 55 | let code = output.status.code().unwrap(); [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `platform` [INFO] [stderr] --> src/main.rs:48:28 [INFO] [stderr] | [INFO] [stderr] 48 | let (dirs, platform, shared, targets) = parse_toml(&*toml); [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_platform` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `dirs` [INFO] [stderr] --> src/main.rs:91:22 [INFO] [stderr] | [INFO] [stderr] 91 | let (dirs, platform, shared, target) = parse_toml(&*toml); [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dirs` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `platform` [INFO] [stderr] --> src/main.rs:91:28 [INFO] [stderr] | [INFO] [stderr] 91 | let (dirs, platform, shared, target) = parse_toml(&*toml); [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_platform` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `target` [INFO] [stderr] --> src/main.rs:96:46 [INFO] [stderr] | [INFO] [stderr] 96 | let (dirs, platform, shared, target) = parse_toml(&*toml); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sources` [INFO] [stderr] --> src/main.rs:108:21 [INFO] [stderr] | [INFO] [stderr] 108 | let sources = find_sources(&dirs.sources); [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sources` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `src` [INFO] [stderr] --> src/main.rs:133:25 [INFO] [stderr] | [INFO] [stderr] 133 | let src = PathBuf::from(&command.file); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_src` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:115:21 [INFO] [stderr] | [INFO] [stderr] 115 | let mut includes_args: Vec = includes [INFO] [stderr] | ----^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:119:21 [INFO] [stderr] | [INFO] [stderr] 119 | let mut isys_args = includes.iter().fold(Vec::new(), |mut a, i| { [INFO] [stderr] | ----^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:166:21 [INFO] [stderr] | [INFO] [stderr] 166 | let mut args = [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: `knob` (bin "knob" test) generated 22 warnings (run `cargo fix --bin "knob" --tests` to apply 11 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/knob-c3a55bd3abae5f9a) [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" "703078438bc0ed70c3615758882786372347715f11087b1a76db733d3532d310", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "703078438bc0ed70c3615758882786372347715f11087b1a76db733d3532d310", kill_on_drop: false }` [INFO] [stdout] 703078438bc0ed70c3615758882786372347715f11087b1a76db733d3532d310