[INFO] fetching crate open_in_editor 0.2.0... [INFO] checking open_in_editor-0.2.0 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate open_in_editor 0.2.0 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate open_in_editor 0.2.0 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate open_in_editor 0.2.0 [INFO] finished tweaking crates.io crate open_in_editor 0.2.0 [INFO] tweaked toml for crates.io crate open_in_editor 0.2.0 written to /workspace/builds/worker-14/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded home v0.5.3 [INFO] [stderr] Downloaded core-services v0.2.0 [INFO] [stderr] Downloaded quick-error v2.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 771e68aaed53a91234b69a6284d64cfb8d944d5d3002ad872aba5e7cadf0886a [INFO] running `Command { std: "docker" "start" "-a" "771e68aaed53a91234b69a6284d64cfb8d944d5d3002ad872aba5e7cadf0886a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "771e68aaed53a91234b69a6284d64cfb8d944d5d3002ad872aba5e7cadf0886a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "771e68aaed53a91234b69a6284d64cfb8d944d5d3002ad872aba5e7cadf0886a", kill_on_drop: false }` [INFO] [stdout] 771e68aaed53a91234b69a6284d64cfb8d944d5d3002ad872aba5e7cadf0886a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a6cd8c99206080550c5b91e81604b519581ecd0d1d76c1472b5450a9ae946beb [INFO] running `Command { std: "docker" "start" "-a" "a6cd8c99206080550c5b91e81604b519581ecd0d1d76c1472b5450a9ae946beb", kill_on_drop: false }` [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking home v0.5.3 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking open_in_editor v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error: mismatched closing delimiter: `}` [INFO] [stdout] --> src/xdg.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 48 | err => { [INFO] [stdout] | - closing delimiter possibly meant for this [INFO] [stdout] ... [INFO] [stdout] 52 | if launch(Command::new("kde-open").args(paths).is_ok() { [INFO] [stdout] | - unclosed delimiter [INFO] [stdout] ... [INFO] [stdout] 64 | } [INFO] [stdout] | ^ mismatched closing delimiter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `{` [INFO] [stdout] --> src/xdg.rs:52:68 [INFO] [stdout] | [INFO] [stdout] 52 | if launch(Command::new("kde-open").args(paths).is_ok() { [INFO] [stdout] | - -^ [INFO] [stdout] | | | [INFO] [stdout] | unclosed delimiter help: `)` may belong here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `)` [INFO] [stdout] --> src/xdg.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 63 | err [INFO] [stdout] | - expected one of 8 possible tokens [INFO] [stdout] 64 | } [INFO] [stdout] | ^ unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: mismatched closing delimiter: `}` [INFO] [stdout] --> src/xdg.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 48 | err => { [INFO] [stdout] | - closing delimiter possibly meant for this [INFO] [stdout] ... [INFO] [stdout] 52 | if launch(Command::new("kde-open").args(paths).is_ok() { [INFO] [stdout] | - unclosed delimiter [INFO] [stdout] ... [INFO] [stdout] 64 | } [INFO] [stdout] | ^ mismatched closing delimiter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `{` [INFO] [stdout] --> src/xdg.rs:52:68 [INFO] [stdout] | [INFO] [stdout] 52 | if launch(Command::new("kde-open").args(paths).is_ok() { [INFO] [stdout] | - -^ [INFO] [stdout] | | | [INFO] [stdout] | unclosed delimiter help: `)` may belong here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `)` [INFO] [stdout] --> src/xdg.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 63 | err [INFO] [stdout] | - expected one of 8 possible tokens [INFO] [stdout] 64 | } [INFO] [stdout] | ^ unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found built-in attribute `path` [INFO] [stdout] --> src/xdg.rs:56:73 [INFO] [stdout] | [INFO] [stdout] 56 | if launch(Command::new("kfmclient").arg("openURL").args(path[0])).is_ok() { [INFO] [stdout] | ^^^^ help: a local variable with a similar name exists: `paths` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found built-in attribute `path` [INFO] [stdout] --> src/xdg.rs:59:70 [INFO] [stdout] | [INFO] [stdout] 59 | if launch(Command::new("kioclient").arg("exec").args(path[0])).is_ok() { [INFO] [stdout] | ^^^^ help: a local variable with a similar name exists: `paths` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found built-in attribute `path` [INFO] [stdout] --> src/xdg.rs:56:73 [INFO] [stdout] | [INFO] [stdout] 56 | if launch(Command::new("kfmclient").arg("openURL").args(path[0])).is_ok() { [INFO] [stdout] | ^^^^ help: a local variable with a similar name exists: `paths` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found built-in attribute `path` [INFO] [stdout] --> src/xdg.rs:59:70 [INFO] [stdout] | [INFO] [stdout] 59 | if launch(Command::new("kioclient").arg("exec").args(path[0])).is_ok() { [INFO] [stdout] | ^^^^ help: a local variable with a similar name exists: `paths` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_ok` found for mutable reference `&mut Command` in the current scope [INFO] [stdout] --> src/xdg.rs:52:60 [INFO] [stdout] | [INFO] [stdout] 52 | if launch(Command::new("kde-open").args(paths).is_ok() { [INFO] [stdout] | ^^^^^ method not found in `&mut Command` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/xdg.rs:52:16 [INFO] [stdout] | [INFO] [stdout] 52 | if launch(Command::new("kde-open").args(paths).is_ok() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected type `bool` [INFO] [stdout] found enum `Result<(), Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0423, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_ok` found for mutable reference `&mut Command` in the current scope [INFO] [stdout] --> src/xdg.rs:52:60 [INFO] [stdout] | [INFO] [stdout] 52 | if launch(Command::new("kde-open").args(paths).is_ok() { [INFO] [stdout] | ^^^^^ method not found in `&mut Command` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `open_in_editor` due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/xdg.rs:52:16 [INFO] [stdout] | [INFO] [stdout] 52 | if launch(Command::new("kde-open").args(paths).is_ok() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected type `bool` [INFO] [stdout] found enum `Result<(), Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0423, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "a6cd8c99206080550c5b91e81604b519581ecd0d1d76c1472b5450a9ae946beb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6cd8c99206080550c5b91e81604b519581ecd0d1d76c1472b5450a9ae946beb", kill_on_drop: false }` [INFO] [stdout] a6cd8c99206080550c5b91e81604b519581ecd0d1d76c1472b5450a9ae946beb