[INFO] updating cached repository https://github.com/ueokande/xcap [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ff287e93cb0f7391ec94d4ebb202659610ed88f2 [INFO] testing ueokande/xcap against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fueokande%2Fxcap" "/workspace/builds/worker-63/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-63/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ueokande/xcap on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ueokande/xcap [INFO] finished tweaking git repo https://github.com/ueokande/xcap [INFO] tweaked toml for git repo https://github.com/ueokande/xcap written to /workspace/builds/worker-63/source/Cargo.toml [INFO] crate git repo https://github.com/ueokande/xcap already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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-63/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-63/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 449b255c8364849748513e378f844d24d350965941798b94c92d0c19a54e104e [INFO] running `Command { std: "docker" "start" "-a" "449b255c8364849748513e378f844d24d350965941798b94c92d0c19a54e104e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "449b255c8364849748513e378f844d24d350965941798b94c92d0c19a54e104e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "449b255c8364849748513e378f844d24d350965941798b94c92d0c19a54e104e", kill_on_drop: false }` [INFO] [stdout] 449b255c8364849748513e378f844d24d350965941798b94c92d0c19a54e104e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-63/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-63/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 214c7f7609d0e01efa525356d3526c80a0319a9eded317f851d9dfe7a07a5f3e [INFO] running `Command { std: "docker" "start" "-a" "214c7f7609d0e01efa525356d3526c80a0319a9eded317f851d9dfe7a07a5f3e", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling xcap v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/xwininfo.rs:13:40 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn run() -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/xwininfo.rs:49:65 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn parse_xwininfo(source: String) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:6:53 [INFO] [stdout] | [INFO] [stdout] 6 | fn run(args: Vec) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/xwininfo.rs:59:27 [INFO] [stdout] | [INFO] [stdout] 59 | x = Some(line.trim_left_matches(FIELD_X).trim().parse::()?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/xwininfo.rs:61:27 [INFO] [stdout] | [INFO] [stdout] 61 | y = Some(line.trim_left_matches(FIELD_Y).trim().parse::()?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/xwininfo.rs:63:27 [INFO] [stdout] | [INFO] [stdout] 63 | w = Some(line.trim_left_matches(FIELD_WIDTH).trim().parse::()?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/xwininfo.rs:65:27 [INFO] [stdout] | [INFO] [stdout] 65 | h = Some(line.trim_left_matches(FIELD_HEIGHT).trim().parse::()?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.80s [INFO] running `Command { std: "docker" "inspect" "214c7f7609d0e01efa525356d3526c80a0319a9eded317f851d9dfe7a07a5f3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "214c7f7609d0e01efa525356d3526c80a0319a9eded317f851d9dfe7a07a5f3e", kill_on_drop: false }` [INFO] [stdout] 214c7f7609d0e01efa525356d3526c80a0319a9eded317f851d9dfe7a07a5f3e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-63/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-63/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9ece101af8ddfe9a7e42b805edc548c1772b88a041270e80215da39e62cf3ce9 [INFO] running `Command { std: "docker" "start" "-a" "9ece101af8ddfe9a7e42b805edc548c1772b88a041270e80215da39e62cf3ce9", kill_on_drop: false }` [INFO] [stderr] Compiling xcap v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/xwininfo.rs:13:40 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn run() -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/xwininfo.rs:49:65 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn parse_xwininfo(source: String) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:6:53 [INFO] [stdout] | [INFO] [stdout] 6 | fn run(args: Vec) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/xwininfo.rs:59:27 [INFO] [stdout] | [INFO] [stdout] 59 | x = Some(line.trim_left_matches(FIELD_X).trim().parse::()?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/xwininfo.rs:61:27 [INFO] [stdout] | [INFO] [stdout] 61 | y = Some(line.trim_left_matches(FIELD_Y).trim().parse::()?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/xwininfo.rs:63:27 [INFO] [stdout] | [INFO] [stdout] 63 | w = Some(line.trim_left_matches(FIELD_WIDTH).trim().parse::()?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/xwininfo.rs:65:27 [INFO] [stdout] | [INFO] [stdout] 65 | h = Some(line.trim_left_matches(FIELD_HEIGHT).trim().parse::()?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.74s [INFO] running `Command { std: "docker" "inspect" "9ece101af8ddfe9a7e42b805edc548c1772b88a041270e80215da39e62cf3ce9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ece101af8ddfe9a7e42b805edc548c1772b88a041270e80215da39e62cf3ce9", kill_on_drop: false }` [INFO] [stdout] 9ece101af8ddfe9a7e42b805edc548c1772b88a041270e80215da39e62cf3ce9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-63/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-63/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0e973a033d77566fdaf7d6713ca6762cb45bf32c90d2dcb9c1e714703146f806 [INFO] running `Command { std: "docker" "start" "-a" "0e973a033d77566fdaf7d6713ca6762cb45bf32c90d2dcb9c1e714703146f806", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/xwininfo.rs:13:40 [INFO] [stderr] | [INFO] [stderr] 13 | pub fn run() -> Result> { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/xwininfo.rs:49:65 [INFO] [stderr] | [INFO] [stderr] 49 | pub fn parse_xwininfo(source: String) -> Result> { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:6:53 [INFO] [stderr] | [INFO] [stderr] 6 | fn run(args: Vec) -> Result> { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stderr] --> src/xwininfo.rs:59:27 [INFO] [stderr] | [INFO] [stderr] 59 | x = Some(line.trim_left_matches(FIELD_X).trim().parse::()?); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stderr] --> src/xwininfo.rs:61:27 [INFO] [stderr] | [INFO] [stderr] 61 | y = Some(line.trim_left_matches(FIELD_Y).trim().parse::()?); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stderr] --> src/xwininfo.rs:63:27 [INFO] [stderr] | [INFO] [stderr] 63 | w = Some(line.trim_left_matches(FIELD_WIDTH).trim().parse::()?); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stderr] --> src/xwininfo.rs:65:27 [INFO] [stderr] | [INFO] [stderr] 65 | h = Some(line.trim_left_matches(FIELD_HEIGHT).trim().parse::()?); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stderr] [INFO] [stderr] warning: `xcap` (bin "xcap" test) generated 7 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/xcap-5c65935b33758e88) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test xwininfo::test_parse_xwininfo_empty ... ok [INFO] [stdout] test xwininfo::test_parse_xwininfo ... ok [INFO] [stdout] test xwininfo::test_parse_xwininfo_ok ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0e973a033d77566fdaf7d6713ca6762cb45bf32c90d2dcb9c1e714703146f806", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e973a033d77566fdaf7d6713ca6762cb45bf32c90d2dcb9c1e714703146f806", kill_on_drop: false }` [INFO] [stdout] 0e973a033d77566fdaf7d6713ca6762cb45bf32c90d2dcb9c1e714703146f806