[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] testing manishsingh10895/workspaces against master#1ef7943ee607160a564655b6596f83670ef95df5 for pr-146098-6
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmanishsingh10895%2Fworkspaces" "/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/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-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/manishsingh10895/workspaces on toolchain 1ef7943ee607160a564655b6596f83670ef95df5
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "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" "+1ef7943ee607160a564655b6596f83670ef95df5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded inquire v0.5.3
[INFO] [stderr]   Downloaded predicates-core v1.0.9
[INFO] [stderr]   Downloaded rusqlite v0.28.0
[INFO] [stderr]   Downloaded wait-timeout v0.2.1
[INFO] [stderr]   Downloaded colored v2.2.0
[INFO] [stderr]   Downloaded assert_cmd v2.0.16
[INFO] [stderr]   Downloaded predicates v3.1.3
[INFO] [stderr]   Downloaded csv v1.3.1
[INFO] [stderr]   Downloaded termtree v0.5.1
[INFO] [stderr]   Downloaded csv-core v0.1.12
[INFO] [stderr]   Downloaded ctor v0.1.26
[INFO] [stderr]   Downloaded newline-converter v0.2.2
[INFO] [stderr]   Downloaded prettytable-rs v0.10.0
[INFO] [stderr]   Downloaded predicates-tree v1.0.12
[INFO] [stderr]   Downloaded exitfailure v0.5.1
[INFO] [stderr]   Downloaded crossterm v0.25.0
[INFO] [stderr]   Downloaded bstr v1.11.3
[INFO] [stderr]   Downloaded hermit-abi v0.5.0
[INFO] [stderr]   Downloaded libsqlite3-sys v0.25.2
[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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] cbedd52d624f7513384d95b4293c56f95d26acdfd1b7d1143132c3110986a60b
[INFO] running `Command { std: "docker" "start" "-a" "cbedd52d624f7513384d95b4293c56f95d26acdfd1b7d1143132c3110986a60b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cbedd52d624f7513384d95b4293c56f95d26acdfd1b7d1143132c3110986a60b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cbedd52d624f7513384d95b4293c56f95d26acdfd1b7d1143132c3110986a60b", kill_on_drop: false }`
[INFO] [stdout] cbedd52d624f7513384d95b4293c56f95d26acdfd1b7d1143132c3110986a60b
[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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 93d4b9ecf5bb5ed40c540a3593a007f5ff9491dc9d27dd5600bd7c9f014aa9e5
[INFO] running `Command { std: "docker" "start" "-a" "93d4b9ecf5bb5ed40c540a3593a007f5ff9491dc9d27dd5600bd7c9f014aa9e5", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.171
[INFO] [stderr]    Compiling proc-macro2 v1.0.94
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling unicode-segmentation v1.12.0
[INFO] [stderr]    Compiling object v0.36.7
[INFO] [stderr]    Compiling smallvec v1.14.0
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling signal-hook v0.3.17
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling cc v1.2.16
[INFO] [stderr]    Compiling gimli v0.31.1
[INFO] [stderr]    Compiling log v0.4.26
[INFO] [stderr]    Compiling unicode-xid v0.2.6
[INFO] [stderr]    Compiling failure_derive v0.1.8
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling once_cell v1.21.1
[INFO] [stderr]    Compiling miniz_oxide v0.8.5
[INFO] [stderr]    Compiling predicates-core v1.0.9
[INFO] [stderr]    Compiling rustc-demangle v0.1.24
[INFO] [stderr]    Compiling allocator-api2 v0.2.21
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling csv-core v0.1.12
[INFO] [stderr]    Compiling termtree v0.5.1
[INFO] [stderr]    Compiling assert_cmd v2.0.16
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling ansi_term v0.12.1
[INFO] [stderr]    Compiling predicates v3.1.3
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]    Compiling newline-converter v0.2.2
[INFO] [stderr]    Compiling predicates-tree v1.0.12
[INFO] [stderr]    Compiling encode_unicode v1.0.0
[INFO] [stderr]    Compiling fallible-streaming-iterator v0.1.9
[INFO] [stderr]    Compiling fallible-iterator v0.2.0
[INFO] [stderr]    Compiling dyn-clone v1.0.19
[INFO] [stderr]    Compiling colored v2.2.0
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling dirs-sys-next v0.1.2
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling mio v0.8.11
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling dirs-next v2.0.0
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling term v0.7.0
[INFO] [stderr]    Compiling clap v2.34.0
[INFO] [stderr]    Compiling wait-timeout v0.2.1
[INFO] [stderr]    Compiling hashlink v0.8.4
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]    Compiling signal-hook-mio v0.2.4
[INFO] [stderr]    Compiling crossterm v0.25.0
[INFO] [stderr]    Compiling bstr v1.11.3
[INFO] [stderr]    Compiling is-terminal v0.4.16
[INFO] [stderr]    Compiling dirs-sys v0.3.7
[INFO] [stderr]    Compiling libsqlite3-sys v0.25.2
[INFO] [stderr]    Compiling dirs v4.0.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 backtrace v0.3.74
[INFO] [stderr]    Compiling prettytable-rs v0.10.0
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling inquire v0.5.3
[INFO] [stderr]    Compiling synstructure v0.12.6
[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 structopt v0.3.26
[INFO] [stderr]    Compiling exitfailure v0.5.1
[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: `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]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[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<String>,
[INFO] [stdout]    |     ^^^^ help: if this is intentional, prefix it with an underscore: `_init`
[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] 
[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<Dir> {
[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 25.63s
[INFO] running `Command { std: "docker" "inspect" "93d4b9ecf5bb5ed40c540a3593a007f5ff9491dc9d27dd5600bd7c9f014aa9e5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "93d4b9ecf5bb5ed40c540a3593a007f5ff9491dc9d27dd5600bd7c9f014aa9e5", kill_on_drop: false }`
[INFO] [stdout] 93d4b9ecf5bb5ed40c540a3593a007f5ff9491dc9d27dd5600bd7c9f014aa9e5
[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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c275d06a786fdc9d11cc2bf38c1955e444b4f9cc10041a2779451e108b787bda
[INFO] running `Command { std: "docker" "start" "-a" "c275d06a786fdc9d11cc2bf38c1955e444b4f9cc10041a2779451e108b787bda", 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: `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]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[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<String>,
[INFO] [stdout]    |     ^^^^ help: if this is intentional, prefix it with an underscore: `_init`
[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] 
[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<Dir> {
[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.05s
[INFO] running `Command { std: "docker" "inspect" "c275d06a786fdc9d11cc2bf38c1955e444b4f9cc10041a2779451e108b787bda", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c275d06a786fdc9d11cc2bf38c1955e444b4f9cc10041a2779451e108b787bda", kill_on_drop: false }`
[INFO] [stdout] c275d06a786fdc9d11cc2bf38c1955e444b4f9cc10041a2779451e108b787bda
[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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] a50845a2ce2991b1c3b8b6db9ceab5f3d6d9ff393e0dbd04331543372ff61d9a
[INFO] running `Command { std: "docker" "start" "-a" "a50845a2ce2991b1c3b8b6db9ceab5f3d6d9ff393e0dbd04331543372ff61d9a", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `self`
[INFO] [stderr]  --> src/command_handlers.rs:1:21
[INFO] [stderr]   |
[INFO] [stderr] 1 | use crate::errors::{self, Error};
[INFO] [stderr]   |                     ^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `dir`
[INFO] [stderr]   --> src/command_handlers.rs:65:5
[INFO] [stderr]    |
[INFO] [stderr] 65 |     dir: String,
[INFO] [stderr]    |     ^^^ help: if this is intentional, prefix it with an underscore: `_dir`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `init`
[INFO] [stderr]   --> src/command_handlers.rs:66:5
[INFO] [stderr]    |
[INFO] [stderr] 66 |     init: Option<String>,
[INFO] [stderr]    |     ^^^^ help: if this is intentional, prefix it with an underscore: `_init`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ws`
[INFO] [stderr]   --> src/command_handlers.rs:68:9
[INFO] [stderr]    |
[INFO] [stderr] 68 |     let ws = db::fetch_workspace_with_dirs_by_name(&w_name);
[INFO] [stderr]    |         ^^ help: if this is intentional, prefix it with an underscore: `_ws`
[INFO] [stderr] 
[INFO] [stderr] warning: function `set_init_script` is never used
[INFO] [stderr]   --> src/command_handlers.rs:63:8
[INFO] [stderr]    |
[INFO] [stderr] 63 | pub fn set_init_script(
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: method `id` is never used
[INFO] [stderr]    --> src/workspace.rs:111:12
[INFO] [stderr]     |
[INFO] [stderr]  51 | impl Workspace {
[INFO] [stderr]     | -------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 111 |     pub fn id(self, id: i32) -> Self {
[INFO] [stderr]     |            ^^
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]   --> src/workspace.rs:77:21
[INFO] [stderr]    |
[INFO] [stderr] 77 |     pub fn dir_iter(&self) -> std::slice::Iter<Dir> {
[INFO] [stderr]    |                     ^^^^^     ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]    |                     |
[INFO] [stderr]    |                     the lifetime is elided here
[INFO] [stderr]    |
[INFO] [stderr]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]    |
[INFO] [stderr] 77 |     pub fn dir_iter(&self) -> std::slice::Iter<'_, Dir> {
[INFO] [stderr]    |                                                +++
[INFO] [stderr] 
[INFO] [stderr] warning: `ws` (bin "ws" test) generated 7 warnings (run `cargo fix --bin "ws" -p ws --tests` to apply 5 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/ws-7263803c66583488)
[INFO] [stdout] 
[INFO] [stdout] running 10 tests
[INFO] [stdout] test db::tests::insert_a_workspace ... FAILED
[INFO] [stdout] test workspace::tests::add_directory ... ok
[INFO] [stdout] test workspace::tests::remove_dir ... ok
[INFO] [stdout] test workspace::tests::remove_non_existant_dir ... ok
[INFO] [stdout] test command_handlers::tests::test_list_workspaces ... ok
[INFO] [stdout] test workspace::tests::test_get_editor ... ok
[INFO] [stdout] test db::tests::should_find_workspace_by_name ... ok
[INFO] [stdout] test db::tests::test_update_editor ... ok
[INFO] [stdout] test db::tests::test_list_workspaces ... ok
[INFO] [stdout] test command_handlers::tests::test_open_workspace ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- db::tests::insert_a_workspace stdout ----
[INFO] [stdout] Error: SqliteFailure(Error { code: CannotOpen, extended_code: 14 }, Some("unable to open database file: ./test.db"))
[INFO] [stdout] 
[INFO] [stdout] ---- command_handlers::tests::test_open_workspace stdout ----
[INFO] [stdout] Workspace not found
[INFO] [stdout] 
[INFO] [stdout] thread 'command_handlers::tests::test_open_workspace' (26) panicked at src/command_handlers.rs:223:9:
[INFO] [stdout] assertion failed: res.is_ok()
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5da530b34c12 - std::backtrace_rs::backtrace::libunwind::trace::h786de35fecf3582f
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5da530b34c12 - std::backtrace_rs::backtrace::trace_unsynchronized::h4a7da1a2a64387f1
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5da530b34c12 - std::sys::backtrace::_print_fmt::h6bd7d500070c788c
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x5da530b34c12 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h6d82c1afff976903
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x5da530b44d0f - core::fmt::rt::Argument::fmt::hc4ce6d643d397690
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/fmt/rt.rs:173:76
[INFO] [stdout]    5:     0x5da530b44d0f - core::fmt::write::hb1e7ca88b6a3936e
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/fmt/mod.rs:1469:25
[INFO] [stdout]    6:     0x5da530b02083 - std::io::default_write_fmt::haffd49d96f1984a8
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x5da530b02083 - std::io::Write::write_fmt::h027871c57cf57c01
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/io/mod.rs:1954:13
[INFO] [stdout]    8:     0x5da530b0e272 - std::sys::backtrace::BacktraceLock::print::ha2430613ee79d059
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    9:     0x5da530b12e7f - std::panicking::default_hook::{{closure}}::hdbd2db9e5c303cf6
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:301:27
[INFO] [stdout]   10:     0x5da530b12d11 - std::panicking::default_hook::hed93c70cba5fdcf0
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:325:9
[INFO] [stdout]   11:     0x5da53097dbae - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hd0ee8b569efc6a07
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/alloc/src/boxed.rs:2099:9
[INFO] [stdout]   12:     0x5da53097dbae - test::test_main_with_exit_callback::{{closure}}::hf10864b576ecd15d
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x5da530b1348f - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h3a55ca34534c0d00
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/alloc/src/boxed.rs:2099:9
[INFO] [stdout]   14:     0x5da530b1348f - std::panicking::panic_with_hook::h3862d766c2cec19b
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:842:13
[INFO] [stdout]   15:     0x5da530b132b6 - std::panicking::panic_handler::{{closure}}::hb95eb402b5e28ee1
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:700:13
[INFO] [stdout]   16:     0x5da530b0e3b9 - std::sys::backtrace::__rust_end_short_backtrace::hf73a26dc1835d85a
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/sys/backtrace.rs:174:18
[INFO] [stdout]   17:     0x5da530af697d - __rustc[6ed5915ee467787]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:698:5
[INFO] [stdout]   18:     0x5da530b4cba0 - core::panicking::panic_fmt::h3454303eb8e6f7cd
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x5da530b4cb7c - core::panicking::panic::hb290d809a6d6b140
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/panicking.rs:150:5
[INFO] [stdout]   20:     0x5da530957341 - ws::command_handlers::tests::test_open_workspace::h3cc87d02880b0a1e
[INFO] [stdout]                                at /opt/rustwide/workdir/src/command_handlers.rs:223:9
[INFO] [stdout]   21:     0x5da530957387 - ws::command_handlers::tests::test_open_workspace::{{closure}}::he64ab31cf64bd606
[INFO] [stdout]                                at /opt/rustwide/workdir/src/command_handlers.rs:218:29
[INFO] [stdout]   22:     0x5da530959376 - core::ops::function::FnOnce::call_once::hcac391eab3526318
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   23:     0x5da53097d98b - core::ops::function::FnOnce::call_once::ha729ee35d2fab541
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x5da53097d98b - test::__rust_begin_short_backtrace::ha40f4db8207e1111
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/test/src/lib.rs:663:18
[INFO] [stdout]   25:     0x5da530991a0d - test::run_test_in_process::{{closure}}::hc1b77cda5d44f0f3
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/test/src/lib.rs:686:74
[INFO] [stdout]   26:     0x5da530991a0d - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h1dbea1de64785521
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   27:     0x5da530991a0d - std::panicking::catch_unwind::do_call::hd5febe9affd5a1b3
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:590:40
[INFO] [stdout]   28:     0x5da530991a0d - std::panicking::catch_unwind::h51ea89627559b6f4
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:553:19
[INFO] [stdout]   29:     0x5da530991a0d - std::panic::catch_unwind::hb8b8c2367cae3d66
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panic.rs:359:14
[INFO] [stdout]   30:     0x5da530991a0d - test::run_test_in_process::ha5b55801407ea100
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/test/src/lib.rs:686:27
[INFO] [stdout]   31:     0x5da530991a0d - test::run_test::{{closure}}::h0b9d4072b527abf5
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/test/src/lib.rs:607:43
[INFO] [stdout]   32:     0x5da53096af24 - test::run_test::{{closure}}::hb1056b5731205822
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/test/src/lib.rs:637:41
[INFO] [stdout]   33:     0x5da53096af24 - std::sys::backtrace::__rust_begin_short_backtrace::hb61ff5a34023c7ef
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/sys/backtrace.rs:158:18
[INFO] [stdout]   34:     0x5da53096e85a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hb0a83c0e8b353cff
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/thread/mod.rs:562:17
[INFO] [stdout]   35:     0x5da53096e85a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hb4f32cb008535298
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   36:     0x5da53096e85a - std::panicking::catch_unwind::do_call::h16d110e4fc35789a
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:590:40
[INFO] [stdout]   37:     0x5da53096e85a - std::panicking::catch_unwind::hea9118f355699c4b
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:553:19
[INFO] [stdout]   38:     0x5da53096e85a - std::panic::catch_unwind::hf4b3c2a06d3f42f5
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panic.rs:359:14
[INFO] [stdout]   39:     0x5da53096e85a - std::thread::Builder::spawn_unchecked_::{{closure}}::h3f4cb733a52d53d5
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/thread/mod.rs:560:30
[INFO] [stdout]   40:     0x5da53096e85a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h4052f0967b37caeb
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   41:     0x5da530b096cf - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h7ec433abd3f148b4
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/alloc/src/boxed.rs:2085:9
[INFO] [stdout]   42:     0x5da530b096cf - std::sys::thread::unix::Thread::new::thread_start::he514622d3d7ba65c
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/sys/thread/unix.rs:124:17
[INFO] [stdout]   43:     0x7c264d8c4aa4 - <unknown>
[INFO] [stdout]   44:     0x7c264d951a64 - clone
[INFO] [stdout]   45:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     command_handlers::tests::test_open_workspace
[INFO] [stdout]     db::tests::insert_a_workspace
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 8 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--bin ws`
[INFO] running `Command { std: "docker" "inspect" "a50845a2ce2991b1c3b8b6db9ceab5f3d6d9ff393e0dbd04331543372ff61d9a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a50845a2ce2991b1c3b8b6db9ceab5f3d6d9ff393e0dbd04331543372ff61d9a", kill_on_drop: false }`
[INFO] [stdout] a50845a2ce2991b1c3b8b6db9ceab5f3d6d9ff393e0dbd04331543372ff61d9a
