[INFO] fetching crate open_in_editor 0.2.0... [INFO] checking open_in_editor-0.2.0 against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] extracting crate open_in_editor 0.2.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate open_in_editor 0.2.0 on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "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-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 864a1bd8440672b2840727739b5169f23fd38e00616ac1818ad57177197d554c [INFO] running `Command { std: "docker" "start" "-a" "864a1bd8440672b2840727739b5169f23fd38e00616ac1818ad57177197d554c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "864a1bd8440672b2840727739b5169f23fd38e00616ac1818ad57177197d554c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "864a1bd8440672b2840727739b5169f23fd38e00616ac1818ad57177197d554c", kill_on_drop: false }` [INFO] [stdout] 864a1bd8440672b2840727739b5169f23fd38e00616ac1818ad57177197d554c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aec3ab05956f8f5923a43f057f4f4f70245f44d68160ceec30513b7f5221e8a6 [INFO] running `Command { std: "docker" "start" "-a" "aec3ab05956f8f5923a43f057f4f4f70245f44d68160ceec30513b7f5221e8a6", kill_on_drop: false }` [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[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[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] [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: 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" "aec3ab05956f8f5923a43f057f4f4f70245f44d68160ceec30513b7f5221e8a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aec3ab05956f8f5923a43f057f4f4f70245f44d68160ceec30513b7f5221e8a6", kill_on_drop: false }` [INFO] [stdout] aec3ab05956f8f5923a43f057f4f4f70245f44d68160ceec30513b7f5221e8a6