[INFO] cloning repository https://github.com/pkage/focusd [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pkage/focusd" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpkage%2Ffocusd", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpkage%2Ffocusd'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 41ee20b84a0c6ddf8244c0de7709e99b6f1ea71d [INFO] testing pkage/focusd against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpkage%2Ffocusd" "/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/pkage/focusd [INFO] finished tweaking git repo https://github.com/pkage/focusd [INFO] tweaked toml for git repo https://github.com/pkage/focusd written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/pkage/focusd on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/pkage/focusd 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded shellexpand v2.1.0 [INFO] [stderr] Downloaded rmp-serde v0.15.5 [INFO] [stderr] Downloaded rmp v0.8.10 [INFO] [stderr] Downloaded os_str_bytes v4.2.0 [INFO] [stderr] Downloaded clap_derive v3.0.0-beta.5 [INFO] [stderr] Downloaded textwrap v0.14.2 [INFO] [stderr] Downloaded clap v3.0.0-beta.5 [INFO] [stderr] Downloaded sysinfo v0.20.5 [INFO] [stderr] Downloaded cc v1.0.71 [INFO] [stderr] Downloaded unicode-width v0.1.9 [INFO] [stderr] Downloaded proc-macro2 v1.0.30 [INFO] [stderr] Downloaded syn v1.0.80 [INFO] [stderr] Downloaded libc v0.2.104 [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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4855bd5ef473db9388f094a646c885a30a50e6bdd2d92254fdbff78bb2539691 [INFO] running `Command { std: "docker" "start" "-a" "4855bd5ef473db9388f094a646c885a30a50e6bdd2d92254fdbff78bb2539691", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4855bd5ef473db9388f094a646c885a30a50e6bdd2d92254fdbff78bb2539691", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4855bd5ef473db9388f094a646c885a30a50e6bdd2d92254fdbff78bb2539691", kill_on_drop: false }` [INFO] [stdout] 4855bd5ef473db9388f094a646c885a30a50e6bdd2d92254fdbff78bb2539691 [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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 688108e1f105f9d469e3b3cfbb9cf2ec3dc6d2e776b09b8c7e3f104c841ff809 [INFO] running `Command { std: "docker" "start" "-a" "688108e1f105f9d469e3b3cfbb9cf2ec3dc6d2e776b09b8c7e3f104c841ff809", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.104 [INFO] [stderr] Compiling proc-macro2 v1.0.30 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling sysinfo v0.20.5 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling textwrap v0.14.2 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling os_str_bytes v4.2.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling rmp v0.8.10 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling nix v0.23.0 [INFO] [stderr] Compiling colored v2.0.0 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling shellexpand v2.1.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.5 [INFO] [stderr] Compiling clap v3.0.0-beta.5 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling rmp-serde v0.15.5 [INFO] [stderr] Compiling focusd v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `version` is never read [INFO] [stdout] --> src/config.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct FocusConfig { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 8 | pub version: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FocusConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/server.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn new(config: &FocusConfig) -> Result { [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] 24 | pub fn new(config: &FocusConfig) -> Result, FocusServerError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.45s [INFO] running `Command { std: "docker" "inspect" "688108e1f105f9d469e3b3cfbb9cf2ec3dc6d2e776b09b8c7e3f104c841ff809", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "688108e1f105f9d469e3b3cfbb9cf2ec3dc6d2e776b09b8c7e3f104c841ff809", kill_on_drop: false }` [INFO] [stdout] 688108e1f105f9d469e3b3cfbb9cf2ec3dc6d2e776b09b8c7e3f104c841ff809 [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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 568012b8dec03fdfe579ac3e45446efd58e3deca3dc061dbf1d0798bad9fcb25 [INFO] running `Command { std: "docker" "start" "-a" "568012b8dec03fdfe579ac3e45446efd58e3deca3dc061dbf1d0798bad9fcb25", kill_on_drop: false }` [INFO] [stderr] Compiling focusd v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `version` is never read [INFO] [stdout] --> src/config.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct FocusConfig { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 8 | pub version: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FocusConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/server.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn new(config: &FocusConfig) -> Result { [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] 24 | pub fn new(config: &FocusConfig) -> Result, FocusServerError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.77s [INFO] running `Command { std: "docker" "inspect" "568012b8dec03fdfe579ac3e45446efd58e3deca3dc061dbf1d0798bad9fcb25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "568012b8dec03fdfe579ac3e45446efd58e3deca3dc061dbf1d0798bad9fcb25", kill_on_drop: false }` [INFO] [stdout] 568012b8dec03fdfe579ac3e45446efd58e3deca3dc061dbf1d0798bad9fcb25 [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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e38da4042d5173d9955d9f659864575bf28e34c6bb9a6643d2857b733b057cc5 [INFO] running `Command { std: "docker" "start" "-a" "e38da4042d5173d9955d9f659864575bf28e34c6bb9a6643d2857b733b057cc5", kill_on_drop: false }` [INFO] [stderr] warning: field `version` is never read [INFO] [stderr] --> src/config.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct FocusConfig { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] 8 | pub version: String, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `FocusConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/server.rs:24:24 [INFO] [stderr] | [INFO] [stderr] 24 | pub fn new(config: &FocusConfig) -> Result { [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] 24 | pub fn new(config: &FocusConfig) -> Result, FocusServerError> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `focusd` (bin "focusd" test) generated 2 warnings (run `cargo fix --bin "focusd" -p focusd --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/focusd-826e04d12030bcd7) [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" "e38da4042d5173d9955d9f659864575bf28e34c6bb9a6643d2857b733b057cc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e38da4042d5173d9955d9f659864575bf28e34c6bb9a6643d2857b733b057cc5", kill_on_drop: false }` [INFO] [stdout] e38da4042d5173d9955d9f659864575bf28e34c6bb9a6643d2857b733b057cc5