[INFO] fetching crate open_in_editor 0.1.1... [INFO] checking open_in_editor-0.1.1 against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] extracting crate open_in_editor 0.1.1 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate open_in_editor 0.1.1 on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate open_in_editor 0.1.1 [INFO] finished tweaking crates.io crate open_in_editor 0.1.1 [INFO] tweaked toml for crates.io crate open_in_editor 0.1.1 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded core-services v0.1.1 [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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 16b5b9d233420c92817ba529ab58252b1bb32bb7fe332b9c51ac7dee1bda4c19 [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" "16b5b9d233420c92817ba529ab58252b1bb32bb7fe332b9c51ac7dee1bda4c19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "16b5b9d233420c92817ba529ab58252b1bb32bb7fe332b9c51ac7dee1bda4c19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16b5b9d233420c92817ba529ab58252b1bb32bb7fe332b9c51ac7dee1bda4c19", kill_on_drop: false }` [INFO] [stdout] 16b5b9d233420c92817ba529ab58252b1bb32bb7fe332b9c51ac7dee1bda4c19 [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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4dcb19c2641394c9d7fbd13ca2a3994809b85bafe191eccdecd03c08a6336223 [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" "4dcb19c2641394c9d7fbd13ca2a3994809b85bafe191eccdecd03c08a6336223", kill_on_drop: false }` [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking home v0.5.3 [INFO] [stderr] Checking getrandom v0.1.15 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking open_in_editor v0.1.1 (/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 `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected type `bool` [INFO] [stdout] found enum `std::result::Result<(), Error>` [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: 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: could not compile `open_in_editor` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [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 `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected type `bool` [INFO] [stdout] found enum `std::result::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" "4dcb19c2641394c9d7fbd13ca2a3994809b85bafe191eccdecd03c08a6336223", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4dcb19c2641394c9d7fbd13ca2a3994809b85bafe191eccdecd03c08a6336223", kill_on_drop: false }` [INFO] [stdout] 4dcb19c2641394c9d7fbd13ca2a3994809b85bafe191eccdecd03c08a6336223