[INFO] fetching crate pineapplepizza 0.1.2... [INFO] testing pineapplepizza-0.1.2 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate pineapplepizza 0.1.2 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate pineapplepizza 0.1.2 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pineapplepizza 0.1.2 [INFO] finished tweaking crates.io crate pineapplepizza 0.1.2 [INFO] tweaked toml for crates.io crate pineapplepizza 0.1.2 written to /workspace/builds/worker-11/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4093d109003f40d0d7e4b72e21759e0dd1d684873d934ebb628fb83f12c33415 [INFO] running `Command { std: "docker" "start" "-a" "4093d109003f40d0d7e4b72e21759e0dd1d684873d934ebb628fb83f12c33415", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4093d109003f40d0d7e4b72e21759e0dd1d684873d934ebb628fb83f12c33415", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4093d109003f40d0d7e4b72e21759e0dd1d684873d934ebb628fb83f12c33415", kill_on_drop: false }` [INFO] [stdout] 4093d109003f40d0d7e4b72e21759e0dd1d684873d934ebb628fb83f12c33415 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] aa16b7c902d9e4c69972bc14340e9078fc5a3b80e399800a29a1344c9675000d [INFO] running `Command { std: "docker" "start" "-a" "aa16b7c902d9e4c69972bc14340e9078fc5a3b80e399800a29a1344c9675000d", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling pineapplepizza v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::option` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::option; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::ErrorKind::Custom` [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use nom::ErrorKind::Custom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SerializeMap`, `SerializeSeq` [INFO] [stdout] --> src/main.rs:21:41 [INFO] [stdout] | [INFO] [stdout] 21 | use serde::ser::{Serialize, Serializer, SerializeSeq, SerializeMap}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:114:15 [INFO] [stdout] | [INFO] [stdout] 114 | let sep = (if sepb {"- "} else {"* "}); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 114 - let sep = (if sepb {"- "} else {"* "}); [INFO] [stdout] 114 + let sep = if sepb {"- "} else {"* "}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/main.rs:181:28 [INFO] [stdout] | [INFO] [stdout] 181 | input.split_at_position1({|item| { let ch = item.as_char(); (((ch == '\n') || (ch == '\\')) || (ch == '/'))} }, ErrorKind::Custom(2)) [INFO] [stdout] | ^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 181 - input.split_at_position1({|item| { let ch = item.as_char(); (((ch == '\n') || (ch == '\\')) || (ch == '/'))} }, ErrorKind::Custom(2)) [INFO] [stdout] 181 + input.split_at_position1(|item| { let ch = item.as_char(); (((ch == '\n') || (ch == '\\')) || (ch == '/'))}, ErrorKind::Custom(2)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/main.rs:181:63 [INFO] [stdout] | [INFO] [stdout] 181 | input.split_at_position1({|item| { let ch = item.as_char(); (((ch == '\n') || (ch == '\\')) || (ch == '/'))} }, ErrorKind::Custom(2)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 181 - input.split_at_position1({|item| { let ch = item.as_char(); (((ch == '\n') || (ch == '\\')) || (ch == '/'))} }, ErrorKind::Custom(2)) [INFO] [stdout] 181 + input.split_at_position1({|item| { let ch = item.as_char(); ((ch == '\n') || (ch == '\\')) || (ch == '/')} }, ErrorKind::Custom(2)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | if(level == 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 185 - if(level == 0) { [INFO] [stdout] 185 + if level == 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:231:6 [INFO] [stdout] | [INFO] [stdout] 231 | if (args.len() < 3) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 231 - if (args.len() < 3) { [INFO] [stdout] 231 + if args.len() < 3 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:238:19 [INFO] [stdout] | [INFO] [stdout] 238 | let print_out = (args.len() == 3); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 238 - let print_out = (args.len() == 3); [INFO] [stdout] 238 + let print_out = args.len() == 3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:244:52 [INFO] [stdout] | [INFO] [stdout] 244 | ... why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:251:54 [INFO] [stdout] | [INFO] [stdout] 251 | ... why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num` [INFO] [stdout] --> src/main.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | num: call!(nom::digit) >> // Eventually, validate using this [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_num` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end` [INFO] [stdout] --> src/main.rs:173:17 [INFO] [stdout] | [INFO] [stdout] 173 | ))) >> end: complete!(alt!(tag!("\n") | complete!(linecomment))) >> (txt.into_iter().collect()))) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/main.rs:188:362 [INFO] [stdout] | [INFO] [stdout] 188 | ...t::>().len()), |(txt, len)| txt)); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:257:27 [INFO] [stdout] | [INFO] [stdout] 257 | bad => panic!(format!("{:?}", bad)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 257 - bad => panic!(format!("{:?}", bad)) [INFO] [stdout] 257 + bad => panic!("{:?}", bad) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.08s [INFO] running `Command { std: "docker" "inspect" "aa16b7c902d9e4c69972bc14340e9078fc5a3b80e399800a29a1344c9675000d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa16b7c902d9e4c69972bc14340e9078fc5a3b80e399800a29a1344c9675000d", kill_on_drop: false }` [INFO] [stdout] aa16b7c902d9e4c69972bc14340e9078fc5a3b80e399800a29a1344c9675000d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0bf2eeb562de56263c92814bb17a5df78365f321aad825073a25f079a5d6146d [INFO] running `Command { std: "docker" "start" "-a" "0bf2eeb562de56263c92814bb17a5df78365f321aad825073a25f079a5d6146d", kill_on_drop: false }` [INFO] [stderr] Compiling pineapplepizza v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::option` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::option; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::ErrorKind::Custom` [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use nom::ErrorKind::Custom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SerializeMap`, `SerializeSeq` [INFO] [stdout] --> src/main.rs:21:41 [INFO] [stdout] | [INFO] [stdout] 21 | use serde::ser::{Serialize, Serializer, SerializeSeq, SerializeMap}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:114:15 [INFO] [stdout] | [INFO] [stdout] 114 | let sep = (if sepb {"- "} else {"* "}); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 114 - let sep = (if sepb {"- "} else {"* "}); [INFO] [stdout] 114 + let sep = if sepb {"- "} else {"* "}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/main.rs:181:28 [INFO] [stdout] | [INFO] [stdout] 181 | input.split_at_position1({|item| { let ch = item.as_char(); (((ch == '\n') || (ch == '\\')) || (ch == '/'))} }, ErrorKind::Custom(2)) [INFO] [stdout] | ^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 181 - input.split_at_position1({|item| { let ch = item.as_char(); (((ch == '\n') || (ch == '\\')) || (ch == '/'))} }, ErrorKind::Custom(2)) [INFO] [stdout] 181 + input.split_at_position1(|item| { let ch = item.as_char(); (((ch == '\n') || (ch == '\\')) || (ch == '/'))}, ErrorKind::Custom(2)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/main.rs:181:63 [INFO] [stdout] | [INFO] [stdout] 181 | input.split_at_position1({|item| { let ch = item.as_char(); (((ch == '\n') || (ch == '\\')) || (ch == '/'))} }, ErrorKind::Custom(2)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 181 - input.split_at_position1({|item| { let ch = item.as_char(); (((ch == '\n') || (ch == '\\')) || (ch == '/'))} }, ErrorKind::Custom(2)) [INFO] [stdout] 181 + input.split_at_position1({|item| { let ch = item.as_char(); ((ch == '\n') || (ch == '\\')) || (ch == '/')} }, ErrorKind::Custom(2)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | if(level == 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 185 - if(level == 0) { [INFO] [stdout] 185 + if level == 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:231:6 [INFO] [stdout] | [INFO] [stdout] 231 | if (args.len() < 3) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 231 - if (args.len() < 3) { [INFO] [stdout] 231 + if args.len() < 3 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:238:19 [INFO] [stdout] | [INFO] [stdout] 238 | let print_out = (args.len() == 3); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 238 - let print_out = (args.len() == 3); [INFO] [stdout] 238 + let print_out = args.len() == 3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:244:52 [INFO] [stdout] | [INFO] [stdout] 244 | ... why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:251:54 [INFO] [stdout] | [INFO] [stdout] 251 | ... why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:304:54 [INFO] [stdout] | [INFO] [stdout] 304 | ... why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:312:54 [INFO] [stdout] | [INFO] [stdout] 312 | ... why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:318:34 [INFO] [stdout] | [INFO] [stdout] 318 | Err(why) => panic!("{}", why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:346:54 [INFO] [stdout] | [INFO] [stdout] 346 | ... why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:352:56 [INFO] [stdout] | [INFO] [stdout] 352 | ... why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num` [INFO] [stdout] --> src/main.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | num: call!(nom::digit) >> // Eventually, validate using this [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_num` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end` [INFO] [stdout] --> src/main.rs:173:17 [INFO] [stdout] | [INFO] [stdout] 173 | ))) >> end: complete!(alt!(tag!("\n") | complete!(linecomment))) >> (txt.into_iter().collect()))) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/main.rs:188:362 [INFO] [stdout] | [INFO] [stdout] 188 | ...t::>().len()), |(txt, len)| txt)); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/main.rs:343:13 [INFO] [stdout] | [INFO] [stdout] 343 | let mut s = String::new(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:343:9 [INFO] [stdout] | [INFO] [stdout] 343 | let mut s = String::new(); [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: panic message is not a string literal [INFO] [stdout] --> src/main.rs:257:27 [INFO] [stdout] | [INFO] [stdout] 257 | bad => panic!(format!("{:?}", bad)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 257 - bad => panic!(format!("{:?}", bad)) [INFO] [stdout] 257 + bad => panic!("{:?}", bad) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:358:29 [INFO] [stdout] | [INFO] [stdout] 358 | bad => panic!(format!("failed parsing {}: {:?}", path.display(), bad)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 358 - bad => panic!(format!("failed parsing {}: {:?}", path.display(), bad)) [INFO] [stdout] 358 + bad => panic!("failed parsing {}: {:?}", path.display(), bad) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.90s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/pineapplepizza-f43b51bf9cc486be) [INFO] running `Command { std: "docker" "inspect" "0bf2eeb562de56263c92814bb17a5df78365f321aad825073a25f079a5d6146d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0bf2eeb562de56263c92814bb17a5df78365f321aad825073a25f079a5d6146d", kill_on_drop: false }` [INFO] [stdout] 0bf2eeb562de56263c92814bb17a5df78365f321aad825073a25f079a5d6146d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ae26b68d4e13b15e61d9020afa0bd69aa3095f71bb3cb328cdc9b4ef78e06eed [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" "ae26b68d4e13b15e61d9020afa0bd69aa3095f71bb3cb328cdc9b4ef78e06eed", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::option` [INFO] [stderr] --> src/main.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use std::option; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] running 3 tests [INFO] [stderr] warning: unused import: `nom::ErrorKind::Custom` [INFO] [stdout] test parse_text_comments ... ok [INFO] [stderr] --> src/main.rs:20:5 [INFO] [stdout] test parse_list_items ... ok [INFO] [stderr] | [INFO] [stdout] test parse_file_test ... ok [INFO] [stderr] 20 | use nom::ErrorKind::Custom; [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] [INFO] [stdout] [INFO] [stderr] warning: unused imports: `SerializeMap`, `SerializeSeq` [INFO] [stderr] --> src/main.rs:21:41 [INFO] [stderr] | [INFO] [stderr] 21 | use serde::ser::{Serialize, Serializer, SerializeSeq, SerializeMap}; [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/main.rs:114:15 [INFO] [stderr] | [INFO] [stderr] 114 | let sep = (if sepb {"- "} else {"* "}); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 114 - let sep = (if sepb {"- "} else {"* "}); [INFO] [stderr] 114 + let sep = if sepb {"- "} else {"* "}; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around method argument [INFO] [stderr] --> src/main.rs:181:28 [INFO] [stderr] | [INFO] [stderr] 181 | input.split_at_position1({|item| { let ch = item.as_char(); (((ch == '\n') || (ch == '\\')) || (ch == '/'))} }, ErrorKind::Custom(2)) [INFO] [stderr] | ^ ^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_braces)]` on by default [INFO] [stderr] help: remove these braces [INFO] [stderr] | [INFO] [stderr] 181 - input.split_at_position1({|item| { let ch = item.as_char(); (((ch == '\n') || (ch == '\\')) || (ch == '/'))} }, ErrorKind::Custom(2)) [INFO] [stderr] 181 + input.split_at_position1(|item| { let ch = item.as_char(); (((ch == '\n') || (ch == '\\')) || (ch == '/'))}, ErrorKind::Custom(2)) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/main.rs:181:63 [INFO] [stderr] | [INFO] [stderr] 181 | input.split_at_position1({|item| { let ch = item.as_char(); (((ch == '\n') || (ch == '\\')) || (ch == '/'))} }, ErrorKind::Custom(2)) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 181 - input.split_at_position1({|item| { let ch = item.as_char(); (((ch == '\n') || (ch == '\\')) || (ch == '/'))} }, ErrorKind::Custom(2)) [INFO] [stderr] 181 + input.split_at_position1({|item| { let ch = item.as_char(); ((ch == '\n') || (ch == '\\')) || (ch == '/')} }, ErrorKind::Custom(2)) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/main.rs:185:5 [INFO] [stderr] | [INFO] [stderr] 185 | if(level == 0) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 185 - if(level == 0) { [INFO] [stderr] 185 + if level == 0 { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/main.rs:231:6 [INFO] [stderr] | [INFO] [stderr] 231 | if (args.len() < 3) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 231 - if (args.len() < 3) { [INFO] [stderr] 231 + if args.len() < 3 { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/main.rs:238:19 [INFO] [stderr] | [INFO] [stderr] 238 | let print_out = (args.len() == 3); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 238 - let print_out = (args.len() == 3); [INFO] [stderr] 238 + let print_out = args.len() == 3; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/main.rs:244:52 [INFO] [stderr] | [INFO] [stderr] 244 | ... why.description()), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/main.rs:251:54 [INFO] [stderr] | [INFO] [stderr] 251 | ... why.description()), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/main.rs:304:54 [INFO] [stderr] | [INFO] [stderr] 304 | ... why.description()), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/main.rs:312:54 [INFO] [stderr] | [INFO] [stderr] 312 | ... why.description()), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/main.rs:318:34 [INFO] [stderr] | [INFO] [stderr] 318 | Err(why) => panic!("{}", why.description()), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/main.rs:346:54 [INFO] [stderr] | [INFO] [stderr] 346 | ... why.description()), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/main.rs:352:56 [INFO] [stderr] | [INFO] [stderr] 352 | ... why.description()), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `num` [INFO] [stderr] --> src/main.rs:130:9 [INFO] [stderr] | [INFO] [stderr] 130 | num: call!(nom::digit) >> // Eventually, validate using this [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_num` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `end` [INFO] [stderr] --> src/main.rs:173:17 [INFO] [stderr] | [INFO] [stderr] 173 | ))) >> end: complete!(alt!(tag!("\n") | complete!(linecomment))) >> (txt.into_iter().collect()))) [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_end` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `len` [INFO] [stderr] --> src/main.rs:188:362 [INFO] [stderr] | [INFO] [stderr] 188 | ...t::>().len()), |(txt, len)| txt)); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `s` [INFO] [stderr] --> src/main.rs:343:13 [INFO] [stderr] | [INFO] [stderr] 343 | let mut s = String::new(); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:343:9 [INFO] [stderr] | [INFO] [stderr] 343 | let mut s = String::new(); [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/main.rs:257:27 [INFO] [stderr] | [INFO] [stderr] 257 | bad => panic!(format!("{:?}", bad)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 257 - bad => panic!(format!("{:?}", bad)) [INFO] [stderr] 257 + bad => panic!("{:?}", bad) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/main.rs:358:29 [INFO] [stderr] | [INFO] [stderr] 358 | bad => panic!(format!("failed parsing {}: {:?}", path.display(), bad)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 358 - bad => panic!(format!("failed parsing {}: {:?}", path.display(), bad)) [INFO] [stderr] 358 + bad => panic!("failed parsing {}: {:?}", path.display(), bad) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `pineapplepizza` (bin "pineapplepizza" test) generated 23 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/pineapplepizza-f43b51bf9cc486be) [INFO] running `Command { std: "docker" "inspect" "ae26b68d4e13b15e61d9020afa0bd69aa3095f71bb3cb328cdc9b4ef78e06eed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae26b68d4e13b15e61d9020afa0bd69aa3095f71bb3cb328cdc9b4ef78e06eed", kill_on_drop: false }` [INFO] [stdout] ae26b68d4e13b15e61d9020afa0bd69aa3095f71bb3cb328cdc9b4ef78e06eed