[INFO] cloning repository https://github.com/xurtis/screencap [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xurtis/screencap" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxurtis%2Fscreencap", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxurtis%2Fscreencap'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9fbd25bb9f6c1879fb311df1b016a31ba65ba4a9 [INFO] checking xurtis/screencap against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxurtis%2Fscreencap" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/xurtis/screencap on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/xurtis/screencap [INFO] finished tweaking git repo https://github.com/xurtis/screencap [INFO] tweaked toml for git repo https://github.com/xurtis/screencap written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/xurtis/screencap already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 896aaf4df5ba46e7a11f0d7bc2b8665db009e966a69a5b8168535f979c32abbd [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "896aaf4df5ba46e7a11f0d7bc2b8665db009e966a69a5b8168535f979c32abbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "896aaf4df5ba46e7a11f0d7bc2b8665db009e966a69a5b8168535f979c32abbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "896aaf4df5ba46e7a11f0d7bc2b8665db009e966a69a5b8168535f979c32abbd", kill_on_drop: false }` [INFO] [stdout] 896aaf4df5ba46e7a11f0d7bc2b8665db009e966a69a5b8168535f979c32abbd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 454674f8202d4a4078bf789f2431fe04556d94a770ee85474938995199040a65 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "454674f8202d4a4078bf789f2431fe04556d94a770ee85474938995199040a65", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling libc v0.2.46 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking time v0.1.41 [INFO] [stderr] Checking hostname v0.1.5 [INFO] [stderr] Checking num_cpus v1.9.0 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking screencap v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `screencap` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/util.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error: no rules expected the token `let` [INFO] [stderr] --> src/util.rs:14:17 [INFO] [stderr] | [INFO] [stderr] 10 | macro_rules! exec { [INFO] [stderr] | ----------------- when calling this macro [INFO] [stderr] ... [INFO] [stderr] 14 | exec!(@(let _ = &mut command) $($args)*); [INFO] [stderr] | ^^^ no rules expected this token in macro call [INFO] [stderr] ... [INFO] [stderr] 145 | Self::parse(exec!(ffmpeg - formats)) [INFO] [stderr] | ----------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `exec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: no rules expected the token `let` [INFO] [stderr] --> src/util.rs:14:17 [INFO] [stderr] | [INFO] [stderr] 10 | macro_rules! exec { [INFO] [stderr] | ----------------- when calling this macro [INFO] [stderr] ... [INFO] [stderr] 14 | exec!(@(let _ = &mut command) $($args)*); [INFO] [stderr] | ^^^ no rules expected this token in macro call [INFO] [stderr] ... [INFO] [stderr] 185 | Self::parse(exec!(ffmpeg - encoders)).map(|(mut s, t)| { [INFO] [stderr] | ------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `exec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: no rules expected the token `let` [INFO] [stderr] --> src/util.rs:14:17 [INFO] [stderr] | [INFO] [stderr] 10 | macro_rules! exec { [INFO] [stderr] | ----------------- when calling this macro [INFO] [stderr] ... [INFO] [stderr] 14 | exec!(@(let _ = &mut command) $($args)*); [INFO] [stderr] | ^^^ no rules expected this token in macro call [INFO] [stderr] | [INFO] [stderr] ::: src/main.rs:73:23 [INFO] [stderr] | [INFO] [stderr] 73 | let mut command = exec!(ffmpeg [INFO] [stderr] | _______________________- [INFO] [stderr] 74 | | -hide_banner [INFO] [stderr] 75 | | -threads (num_cpus::get()) [INFO] [stderr] 76 | | -y [INFO] [stderr] ... | [INFO] [stderr] 87 | | (filename) [INFO] [stderr] 88 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `exec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: no rules expected the token `let` [INFO] [stderr] --> src/util.rs:14:17 [INFO] [stderr] | [INFO] [stderr] 10 | macro_rules! exec { [INFO] [stderr] | ----------------- when calling this macro [INFO] [stderr] ... [INFO] [stderr] 14 | exec!(@(let _ = &mut command) $($args)*); [INFO] [stderr] | ^^^ no rules expected this token in macro call [INFO] [stderr] | [INFO] [stderr] ::: src/main.rs:112:32 [INFO] [stderr] | [INFO] [stderr] 112 | let lines = command_output(exec!(xdpyinfo)); [INFO] [stderr] | --------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `exec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: no rules expected the token `let` [INFO] [stderr] --> src/util.rs:14:17 [INFO] [stderr] | [INFO] [stderr] 10 | macro_rules! exec { [INFO] [stderr] | ----------------- when calling this macro [INFO] [stderr] ... [INFO] [stderr] 14 | exec!(@(let _ = &mut command) $($args)*); [INFO] [stderr] | ^^^ no rules expected this token in macro call [INFO] [stderr] | [INFO] [stderr] ::: src/main.rs:122:32 [INFO] [stderr] | [INFO] [stderr] 122 | let lines = command_output(exec!(xwininfo - id(window_id))); [INFO] [stderr] | ------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `exec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: no rules expected the token `let` [INFO] [stderr] --> src/util.rs:14:17 [INFO] [stderr] | [INFO] [stderr] 10 | macro_rules! exec { [INFO] [stderr] | ----------------- when calling this macro [INFO] [stderr] ... [INFO] [stderr] 14 | exec!(@(let _ = &mut command) $($args)*); [INFO] [stderr] | ^^^ no rules expected this token in macro call [INFO] [stderr] | [INFO] [stderr] ::: src/main.rs:136:32 [INFO] [stderr] | [INFO] [stderr] 136 | let lines = command_output(exec!(xprop - root)); [INFO] [stderr] | ------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `exec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to 6 previous errors [INFO] [stderr] [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/util.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | exec!(@(&mut command) $($args)*); [INFO] [stdout] | ^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:112:32 [INFO] [stdout] | [INFO] [stdout] 112 | let lines = command_output(exec!(xdpyinfo)); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `exec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 14 | exec!(@(let _ = &mut command) $($args)*); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/util.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | exec!(@(&mut command) $($args)*); [INFO] [stdout] | ^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:112:32 [INFO] [stdout] | [INFO] [stdout] 112 | let lines = command_output(exec!(xdpyinfo)); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `exec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 14 | exec!(@(let _ = &mut command) $($args)*); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.02s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking screencap v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/util.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | exec!(@(&mut command) $($args)*); [INFO] [stdout] | ^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:112:32 [INFO] [stdout] | [INFO] [stdout] 112 | let lines = command_output(exec!(xdpyinfo)); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `exec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 14 | exec!(@(let _ = &mut command) $($args)*); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/util.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | exec!(@(&mut command) $($args)*); [INFO] [stdout] | ^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:112:32 [INFO] [stdout] | [INFO] [stdout] 112 | let lines = command_output(exec!(xdpyinfo)); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `exec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 14 | exec!(@(let _ = &mut command) $($args)*); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.74s [INFO] running `Command { std: "docker" "inspect" "454674f8202d4a4078bf789f2431fe04556d94a770ee85474938995199040a65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "454674f8202d4a4078bf789f2431fe04556d94a770ee85474938995199040a65", kill_on_drop: false }` [INFO] [stdout] 454674f8202d4a4078bf789f2431fe04556d94a770ee85474938995199040a65