[INFO] cloning repository https://github.com/manishsingh10895/workspaces [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/manishsingh10895/workspaces" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmanishsingh10895%2Fworkspaces", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmanishsingh10895%2Fworkspaces'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f36feef1cb661e2c1841077603a208aa41f52ac4 [INFO] building manishsingh10895/workspaces against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmanishsingh10895%2Fworkspaces" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/manishsingh10895/workspaces [INFO] finished tweaking git repo https://github.com/manishsingh10895/workspaces [INFO] tweaked toml for git repo https://github.com/manishsingh10895/workspaces written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/manishsingh10895/workspaces on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/manishsingh10895/workspaces 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded csv-core v0.1.12 [INFO] [stderr] Downloaded dirs v4.0.0 [INFO] [stderr] Downloaded once_cell v1.21.1 [INFO] [stderr] Downloaded colored v2.2.0 [INFO] [stderr] Downloaded newline-converter v0.2.2 [INFO] [stderr] Downloaded failure_derive v0.1.8 [INFO] [stderr] Downloaded wait-timeout v0.2.1 [INFO] [stderr] Downloaded exitfailure v0.5.1 [INFO] [stderr] Downloaded failure v0.1.8 [INFO] [stderr] Downloaded dirs-sys v0.3.7 [INFO] [stderr] Downloaded ctor v0.1.26 [INFO] [stderr] Downloaded proc-macro2 v1.0.94 [INFO] [stderr] Downloaded cc v1.2.16 [INFO] [stderr] Downloaded crossterm v0.25.0 [INFO] [stderr] Downloaded inquire v0.5.3 [INFO] [stderr] Downloaded redox_syscall v0.5.10 [INFO] [stderr] Downloaded hermit-abi v0.5.0 [INFO] [stderr] Downloaded is-terminal v0.4.16 [INFO] [stderr] Downloaded libc v0.2.171 [INFO] [stderr] Downloaded csv v1.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 765913a84d07426bc3247c575b88a09f9b334b9fd3705cfaccec76c32d21770c [INFO] running `Command { std: "docker" "start" "-a" "765913a84d07426bc3247c575b88a09f9b334b9fd3705cfaccec76c32d21770c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "765913a84d07426bc3247c575b88a09f9b334b9fd3705cfaccec76c32d21770c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "765913a84d07426bc3247c575b88a09f9b334b9fd3705cfaccec76c32d21770c", kill_on_drop: false }` [INFO] [stdout] 765913a84d07426bc3247c575b88a09f9b334b9fd3705cfaccec76c32d21770c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b7713b975fb27c34f7c152d86c167813915c42a7bd59f3cc334fad0dccc1b7c3 [INFO] running `Command { std: "docker" "start" "-a" "b7713b975fb27c34f7c152d86c167813915c42a7bd59f3cc334fad0dccc1b7c3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling once_cell v1.21.1 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Compiling miniz_oxide v0.8.5 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling predicates-core v1.0.9 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling csv-core v0.1.12 [INFO] [stderr] Compiling termtree v0.5.1 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling assert_cmd v2.0.16 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling predicates v3.1.3 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling crossterm v0.25.0 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling predicates-tree v1.0.12 [INFO] [stderr] Compiling newline-converter v0.2.2 [INFO] [stderr] Compiling encode_unicode v1.0.0 [INFO] [stderr] Compiling dyn-clone v1.0.19 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling libsqlite3-sys v0.25.2 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling bstr v1.11.3 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling prettytable-rs v0.10.0 [INFO] [stderr] Compiling inquire v0.5.3 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling backtrace v0.3.74 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling ctor v0.1.26 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling exitfailure v0.5.1 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Compiling rusqlite v0.28.0 [INFO] [stderr] Compiling ws v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/command_handlers.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::errors::{self, Error}; [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: `ws` [INFO] [stdout] --> src/command_handlers.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | let ws = db::fetch_workspace_with_dirs_by_name(&w_name); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ws` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dir` [INFO] [stdout] --> src/command_handlers.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | dir: String, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `init` [INFO] [stdout] --> src/command_handlers.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | init: Option, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_init` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_init_script` is never used [INFO] [stdout] --> src/command_handlers.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn set_init_script( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `remove_dir` and `id` are never used [INFO] [stdout] --> src/workspace.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 51 | impl Workspace { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn remove_dir(&mut self, dir: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn id(self, id: i32) -> Self { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/workspace.rs:77:21 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn dir_iter(&self) -> std::slice::Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 77 | pub fn dir_iter(&self) -> std::slice::Iter<'_, Dir> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 35.04s [INFO] running `Command { std: "docker" "inspect" "b7713b975fb27c34f7c152d86c167813915c42a7bd59f3cc334fad0dccc1b7c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7713b975fb27c34f7c152d86c167813915c42a7bd59f3cc334fad0dccc1b7c3", kill_on_drop: false }` [INFO] [stdout] b7713b975fb27c34f7c152d86c167813915c42a7bd59f3cc334fad0dccc1b7c3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ad5d67e7aa482699f1e941a9f64140921bad2a70de395f041fc9ea19d690fa54 [INFO] running `Command { std: "docker" "start" "-a" "ad5d67e7aa482699f1e941a9f64140921bad2a70de395f041fc9ea19d690fa54", kill_on_drop: false }` [INFO] [stderr] Compiling ws v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/command_handlers.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::errors::{self, Error}; [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: `ws` [INFO] [stdout] --> src/command_handlers.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | let ws = db::fetch_workspace_with_dirs_by_name(&w_name); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ws` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dir` [INFO] [stdout] --> src/command_handlers.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | dir: String, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `init` [INFO] [stdout] --> src/command_handlers.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | init: Option, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_init` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_init_script` is never used [INFO] [stdout] --> src/command_handlers.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn set_init_script( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `id` is never used [INFO] [stdout] --> src/workspace.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 51 | impl Workspace { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn id(self, id: i32) -> Self { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/workspace.rs:77:21 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn dir_iter(&self) -> std::slice::Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 77 | pub fn dir_iter(&self) -> std::slice::Iter<'_, Dir> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.11s [INFO] running `Command { std: "docker" "inspect" "ad5d67e7aa482699f1e941a9f64140921bad2a70de395f041fc9ea19d690fa54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad5d67e7aa482699f1e941a9f64140921bad2a70de395f041fc9ea19d690fa54", kill_on_drop: false }` [INFO] [stdout] ad5d67e7aa482699f1e941a9f64140921bad2a70de395f041fc9ea19d690fa54