[INFO] fetching crate arc-rs 0.4.1... [INFO] checking arc-rs-0.4.1 against try#b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b for pr-82781 [INFO] extracting crate arc-rs 0.4.1 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate arc-rs 0.4.1 on toolchain b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate arc-rs 0.4.1 [INFO] finished tweaking crates.io crate arc-rs 0.4.1 [INFO] tweaked toml for crates.io crate arc-rs 0.4.1 written to /workspace/builds/worker-13/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded arc-pest v0.4.0 [INFO] [stderr] Downloaded arc_ast v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 32e6416e6e6a6b731e5d0a14c3362a196c67b71cdc177086219485c615b4c375 [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" "32e6416e6e6a6b731e5d0a14c3362a196c67b71cdc177086219485c615b4c375", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "32e6416e6e6a6b731e5d0a14c3362a196c67b71cdc177086219485c615b4c375", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32e6416e6e6a6b731e5d0a14c3362a196c67b71cdc177086219485c615b4c375", kill_on_drop: false }` [INFO] [stdout] 32e6416e6e6a6b731e5d0a14c3362a196c67b71cdc177086219485c615b4c375 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a96e9a5750eff8d6d2fcbe0c90f316c09a37197b3c5c4f1ba4cf83558b7e03fb [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" "a96e9a5750eff8d6d2fcbe0c90f316c09a37197b3c5c4f1ba4cf83558b7e03fb", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking ucd-trie v0.1.3 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.3.2 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking pest v2.1.3 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Checking arc-pest v0.4.0 [INFO] [stderr] Checking bigdecimal v0.2.0 [INFO] [stderr] Checking num v0.3.1 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking arc_ast v0.4.0 [INFO] [stderr] Checking arc-rs v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `parse_number` [INFO] [stdout] --> src/parser/mod.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | value::{parse_number, Text}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parse_number` [INFO] [stdout] --> src/parser/mod.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | value::{parse_number, Text}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/parser/mod.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 47 | let code = match pair.as_rule() { [INFO] [stdout] | ________________________- [INFO] [stdout] 48 | | // Rule::WHITESPACE => continue, [INFO] [stdout] 49 | | // Rule::expression => self.parse_expression(pair), [INFO] [stdout] 50 | | // Rule::if_statement => self.parse_if_else(pair), [INFO] [stdout] ... | [INFO] [stdout] 53 | | _ => debug_cases!(pair), [INFO] [stdout] 54 | | }; [INFO] [stdout] | |_____________- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 55 | codes.push(code); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/parser/mod.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | let r = self.get_position(pairs.as_span()); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/parser/mod.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 47 | let code = match pair.as_rule() { [INFO] [stdout] | ________________________- [INFO] [stdout] 48 | | // Rule::WHITESPACE => continue, [INFO] [stdout] 49 | | // Rule::expression => self.parse_expression(pair), [INFO] [stdout] 50 | | // Rule::if_statement => self.parse_if_else(pair), [INFO] [stdout] ... | [INFO] [stdout] 53 | | _ => debug_cases!(pair), [INFO] [stdout] 54 | | }; [INFO] [stdout] | |_____________- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 55 | codes.push(code); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `codes` [INFO] [stdout] --> src/parser/mod.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | let mut codes: Vec = vec![]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_codes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code` [INFO] [stdout] --> src/parser/mod.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | let code = match pair.as_rule() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser/mod.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | let mut codes: Vec = vec![]; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/parser/mod.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | let r = self.get_position(pairs.as_span()); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `codes` [INFO] [stdout] --> src/parser/mod.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | let mut codes: Vec = vec![]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_codes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code` [INFO] [stdout] --> src/parser/mod.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | let code = match pair.as_rule() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser/mod.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | let mut codes: Vec = vec![]; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `arc_ast::Arc` [INFO] [stdout] --> tests/number.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use arc_ast::Arc; [INFO] [stdout] | ^^^^^^^^^^^^ no `Arc` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> tests/main.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | fs::{self, read_to_string}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `arc-rs` [INFO] [stdout] error[E0463]: can't find crate for `serde_arc` [INFO] [stdout] --> tests/to_html.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate serde_arc as arc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0608]: cannot index into a value of type `Value` [INFO] [stdout] --> tests/number.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | println!("{}", l[1]); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `Value` [INFO] [stdout] --> tests/number.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | println!("{}", l[-1]); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0608. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse` [INFO] [stdout] --> tests/main.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn parse(file: impl AsRef) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "a96e9a5750eff8d6d2fcbe0c90f316c09a37197b3c5c4f1ba4cf83558b7e03fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a96e9a5750eff8d6d2fcbe0c90f316c09a37197b3c5c4f1ba4cf83558b7e03fb", kill_on_drop: false }` [INFO] [stdout] a96e9a5750eff8d6d2fcbe0c90f316c09a37197b3c5c4f1ba4cf83558b7e03fb