[INFO] fetching crate hamlrs 0.4.3... [INFO] testing hamlrs-0.4.3 against 1.55.0 for beta-1.56-1 [INFO] extracting crate hamlrs 0.4.3 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate hamlrs 0.4.3 on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate hamlrs 0.4.3 [INFO] finished tweaking crates.io crate hamlrs 0.4.3 [INFO] tweaked toml for crates.io crate hamlrs 0.4.3 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cbb168bf6c30641e96a4389f3c60e02e652cc5b196a316ff0a6c7c38d4143d5a [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" "cbb168bf6c30641e96a4389f3c60e02e652cc5b196a316ff0a6c7c38d4143d5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cbb168bf6c30641e96a4389f3c60e02e652cc5b196a316ff0a6c7c38d4143d5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbb168bf6c30641e96a4389f3c60e02e652cc5b196a316ff0a6c7c38d4143d5a", kill_on_drop: false }` [INFO] [stdout] cbb168bf6c30641e96a4389f3c60e02e652cc5b196a316ff0a6c7c38d4143d5a [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=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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "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] 963d2f3cb1f96fbe3446ce49b56731d7bd0b6f65210195c49abdfb9ff78f937c [INFO] running `Command { std: "docker" "start" "-a" "963d2f3cb1f96fbe3446ce49b56731d7bd0b6f65210195c49abdfb9ff78f937c", kill_on_drop: false }` [INFO] [stderr] Compiling hamlrs v0.4.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `token` is never read [INFO] [stdout] --> src/parser.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | let mut token: Option<&Token> = None; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `class` is never read [INFO] [stdout] --> src/parser.rs:86:33 [INFO] [stdout] | [INFO] [stdout] 86 | let mut class = String::new(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `id` is never read [INFO] [stdout] --> src/parser.rs:101:33 [INFO] [stdout] | [INFO] [stdout] 101 | let mut id = String::new(); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `value` is never read [INFO] [stdout] --> src/scanner.rs:68:25 [INFO] [stdout] | [INFO] [stdout] 68 | let mut value: Option = None; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser.rs:140:49 [INFO] [stdout] | [INFO] [stdout] 140 | ... Some(tok) => panic!(format!("Expecting Text but found {:?}", tok)), [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] 140 | Some(tok) => panic!("Expecting Text but found {:?}", tok), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains a brace [INFO] [stdout] --> src/parser.rs:164:50 [INFO] [stdout] | [INFO] [stdout] 164 | ... panic!("Unexpected \"{\" while parsing"); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stdout] help: add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 164 | panic!("{}", "Unexpected \"{\" while parsing"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser.rs:167:33 [INFO] [stdout] | [INFO] [stdout] 167 | t => panic!(format!("Unsupported feature: {:?}", t)), [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] 167 | t => panic!("Unsupported feature: {:?}", t), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser.rs:184:49 [INFO] [stdout] | [INFO] [stdout] 184 | ... Some(tok) => panic!(format!("Expected an identifier after a colon when parsing attributes but found {:?}", tok)), [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] 184 | Some(tok) => panic!("Expected an identifier after a colon when parsing attributes but found {:?}", tok), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser.rs:206:65 [INFO] [stdout] | [INFO] [stdout] 206 | ... Some(tok) => panic!(format!("Unexpected token {:?} in attribute array.", tok )), [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] 206 | Some(tok) => panic!("Unexpected token {:?} in attribute array.", tok ), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser.rs:212:53 [INFO] [stdout] | [INFO] [stdout] 212 | ... Some(tok) => panic!(format!("Expecting value after attribute id in attributes but found {:?}", tok)), [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] 212 | Some(tok) => panic!("Expecting value after attribute id in attributes but found {:?}", tok), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.63s [INFO] running `Command { std: "docker" "inspect" "963d2f3cb1f96fbe3446ce49b56731d7bd0b6f65210195c49abdfb9ff78f937c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "963d2f3cb1f96fbe3446ce49b56731d7bd0b6f65210195c49abdfb9ff78f937c", kill_on_drop: false }` [INFO] [stdout] 963d2f3cb1f96fbe3446ce49b56731d7bd0b6f65210195c49abdfb9ff78f937c [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=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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "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] 559149a8a04c3416da89640dec6154f34950e07652e0dd44c1c77f4b00c1a639 [INFO] running `Command { std: "docker" "start" "-a" "559149a8a04c3416da89640dec6154f34950e07652e0dd44c1c77f4b00c1a639", kill_on_drop: false }` [INFO] [stdout] warning: value assigned to `token` is never read [INFO] [stdout] --> src/parser.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | let mut token: Option<&Token> = None; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `class` is never read [INFO] [stdout] --> src/parser.rs:86:33 [INFO] [stdout] | [INFO] [stdout] 86 | let mut class = String::new(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `id` is never read [INFO] [stdout] --> src/parser.rs:101:33 [INFO] [stdout] | [INFO] [stdout] 101 | let mut id = String::new(); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `value` is never read [INFO] [stdout] --> src/scanner.rs:68:25 [INFO] [stdout] | [INFO] [stdout] 68 | let mut value: Option = None; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser.rs:140:49 [INFO] [stdout] | [INFO] [stdout] 140 | ... Some(tok) => panic!(format!("Expecting Text but found {:?}", tok)), [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] 140 | Some(tok) => panic!("Expecting Text but found {:?}", tok), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains a brace [INFO] [stdout] --> src/parser.rs:164:50 [INFO] [stdout] | [INFO] [stdout] 164 | ... panic!("Unexpected \"{\" while parsing"); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stdout] help: add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 164 | panic!("{}", "Unexpected \"{\" while parsing"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser.rs:167:33 [INFO] [stdout] | [INFO] [stdout] 167 | t => panic!(format!("Unsupported feature: {:?}", t)), [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] 167 | t => panic!("Unsupported feature: {:?}", t), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser.rs:184:49 [INFO] [stdout] | [INFO] [stdout] 184 | ... Some(tok) => panic!(format!("Expected an identifier after a colon when parsing attributes but found {:?}", tok)), [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] 184 | Some(tok) => panic!("Expected an identifier after a colon when parsing attributes but found {:?}", tok), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser.rs:206:65 [INFO] [stdout] | [INFO] [stdout] 206 | ... Some(tok) => panic!(format!("Unexpected token {:?} in attribute array.", tok )), [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] 206 | Some(tok) => panic!("Unexpected token {:?} in attribute array.", tok ), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser.rs:212:53 [INFO] [stdout] | [INFO] [stdout] 212 | ... Some(tok) => panic!(format!("Expecting value after attribute id in attributes but found {:?}", tok)), [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] 212 | Some(tok) => panic!("Expecting value after attribute id in attributes but found {:?}", tok), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rand_xoshiro v0.1.0 [INFO] [stderr] Compiling criterion-plot v0.3.1 [INFO] [stderr] Compiling criterion v0.2.11 [INFO] [stderr] Compiling hamlrs v0.4.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `token` is never read [INFO] [stdout] --> src/parser.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | let mut token: Option<&Token> = None; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `class` is never read [INFO] [stdout] --> src/parser.rs:86:33 [INFO] [stdout] | [INFO] [stdout] 86 | let mut class = String::new(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `id` is never read [INFO] [stdout] --> src/parser.rs:101:33 [INFO] [stdout] | [INFO] [stdout] 101 | let mut id = String::new(); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `value` is never read [INFO] [stdout] --> src/scanner.rs:68:25 [INFO] [stdout] | [INFO] [stdout] 68 | let mut value: Option = None; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser.rs:140:49 [INFO] [stdout] | [INFO] [stdout] 140 | ... Some(tok) => panic!(format!("Expecting Text but found {:?}", tok)), [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] 140 | Some(tok) => panic!("Expecting Text but found {:?}", tok), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains a brace [INFO] [stdout] --> src/parser.rs:164:50 [INFO] [stdout] | [INFO] [stdout] 164 | ... panic!("Unexpected \"{\" while parsing"); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stdout] help: add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 164 | panic!("{}", "Unexpected \"{\" while parsing"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser.rs:167:33 [INFO] [stdout] | [INFO] [stdout] 167 | t => panic!(format!("Unsupported feature: {:?}", t)), [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] 167 | t => panic!("Unsupported feature: {:?}", t), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser.rs:184:49 [INFO] [stdout] | [INFO] [stdout] 184 | ... Some(tok) => panic!(format!("Expected an identifier after a colon when parsing attributes but found {:?}", tok)), [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] 184 | Some(tok) => panic!("Expected an identifier after a colon when parsing attributes but found {:?}", tok), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser.rs:206:65 [INFO] [stdout] | [INFO] [stdout] 206 | ... Some(tok) => panic!(format!("Unexpected token {:?} in attribute array.", tok )), [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] 206 | Some(tok) => panic!("Unexpected token {:?} in attribute array.", tok ), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser.rs:212:53 [INFO] [stdout] | [INFO] [stdout] 212 | ... Some(tok) => panic!(format!("Expecting value after attribute id in attributes but found {:?}", tok)), [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] 212 | Some(tok) => panic!("Expecting value after attribute id in attributes but found {:?}", tok), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 6.01s [INFO] running `Command { std: "docker" "inspect" "559149a8a04c3416da89640dec6154f34950e07652e0dd44c1c77f4b00c1a639", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "559149a8a04c3416da89640dec6154f34950e07652e0dd44c1c77f4b00c1a639", kill_on_drop: false }` [INFO] [stdout] 559149a8a04c3416da89640dec6154f34950e07652e0dd44c1c77f4b00c1a639 [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=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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen", 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] 94b7aeaba7eac535f650f5adbaaa5e4e381f7143f586a6a33e46aad28006b336 [INFO] running `Command { std: "docker" "start" "-a" "94b7aeaba7eac535f650f5adbaaa5e4e381f7143f586a6a33e46aad28006b336", kill_on_drop: false }` [INFO] [stderr] warning: value assigned to `token` is never read [INFO] [stderr] --> src/parser.rs:71:17 [INFO] [stderr] | [INFO] [stderr] 71 | let mut token: Option<&Token> = None; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: value assigned to `class` is never read [INFO] [stderr] --> src/parser.rs:86:33 [INFO] [stderr] | [INFO] [stderr] 86 | let mut class = String::new(); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: value assigned to `id` is never read [INFO] [stderr] --> src/parser.rs:101:33 [INFO] [stderr] | [INFO] [stderr] 101 | let mut id = String::new(); [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: value assigned to `value` is never read [INFO] [stderr] --> src/scanner.rs:68:25 [INFO] [stderr] | [INFO] [stderr] 68 | let mut value: Option = None; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/parser.rs:140:49 [INFO] [stderr] | [INFO] [stderr] 140 | ... Some(tok) => panic!(format!("Expecting Text but found {:?}", tok)), [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] 140 | Some(tok) => panic!("Expecting Text but found {:?}", tok), [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message contains a brace [INFO] [stderr] --> src/parser.rs:164:50 [INFO] [stderr] | [INFO] [stderr] 164 | ... panic!("Unexpected \"{\" while parsing"); [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stderr] help: add a "{}" format string to use the message literally [INFO] [stderr] | [INFO] [stderr] 164 | panic!("{}", "Unexpected \"{\" while parsing"); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/parser.rs:167:33 [INFO] [stderr] | [INFO] [stderr] 167 | t => panic!(format!("Unsupported feature: {:?}", t)), [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] 167 | t => panic!("Unsupported feature: {:?}", t), [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/parser.rs:184:49 [INFO] [stderr] | [INFO] [stderr] 184 | ... Some(tok) => panic!(format!("Expected an identifier after a colon when parsing attributes but found {:?}", tok)), [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] 184 | Some(tok) => panic!("Expected an identifier after a colon when parsing attributes but found {:?}", tok), [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/parser.rs:206:65 [INFO] [stderr] | [INFO] [stderr] 206 | ... Some(tok) => panic!(format!("Unexpected token {:?} in attribute array.", tok )), [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] 206 | Some(tok) => panic!("Unexpected token {:?} in attribute array.", tok ), [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/parser.rs:212:53 [INFO] [stderr] | [INFO] [stderr] 212 | ... Some(tok) => panic!(format!("Expecting value after attribute id in attributes but found {:?}", tok)), [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] 212 | Some(tok) => panic!("Expecting value after attribute id in attributes but found {:?}", tok), [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: `hamlrs` (lib) generated 10 warnings [INFO] [stderr] warning: `hamlrs` (lib test) generated 10 warnings (10 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/haml-750871b190e16f91) [INFO] [stdout] [INFO] [stdout] running 38 tests [INFO] [stdout] test parser::test::test_basic_children ... ok [INFO] [stdout] test parser::test::test_basic_element ... ok [INFO] [stdout] test parser::test::test_doctype ... ok [INFO] [stdout] test parser::test::test_nested_text ... ok [INFO] [stdout] test parser::test::test_ruby_attributes ... ok [INFO] [stdout] test scanner::test::test_at_symbol ... ok [INFO] [stdout] test scanner::test::test_basic_text ... ok [INFO] [stdout] test parser::test::test_ruby_attributes_with_array ... ok [INFO] [stdout] test scanner::test::test_close_paren ... ok [INFO] [stdout] test scanner::test::test_element ... ok [INFO] [stdout] test parser::test::test_siblings ... ok [INFO] [stdout] test scanner::test::test_element_indentation ... ok [INFO] [stdout] test scanner::test::test_element_multiple_indentation ... ok [INFO] [stdout] test scanner::test::test_element_with_multiple_attributes ... ok [INFO] [stdout] test scanner::test::test_endline ... ok [INFO] [stdout] test scanner::test::test_element_with_attributes ... ok [INFO] [stdout] test scanner::test::test_equal ... ok [INFO] [stdout] test scanner::test::test_forwardslash ... ok [INFO] [stdout] test scanner::test::test_hashtag ... ok [INFO] [stdout] test scanner::test::test_indentation ... ok [INFO] [stdout] test scanner::test::test_multiple ... ok [INFO] [stdout] test scanner::test::test_multiple_indentation ... ok [INFO] [stdout] test scanner::test::test_multiple_lines ... ok [INFO] [stdout] test scanner::test::test_multiple_lines_with_indentation ... ok [INFO] [stdout] test scanner::test::test_open_paren ... ok [INFO] [stdout] test scanner::test::test_percent_sign ... ok [INFO] [stdout] test scanner::test::test_period ... ok [INFO] [stdout] test scanner::test::test_quoted_text ... ok [INFO] [stdout] test scanner::test::test_ruby_attribute ... ok [INFO] [stdout] test scanner::test::test_ruby_attributes ... ok [INFO] [stdout] test scanner::test::test_ruby_attributes_with_dictionary ... ok [INFO] [stdout] test scanner::test::test_single_indentation_with_space_later ... ok [INFO] [stdout] test scanner::test::test_windows_endline_with_text ... ok [INFO] [stdout] test scanner::test::test_whitespace ... ok [INFO] [stdout] test scanner::test::test_windows_endline ... ok [INFO] [stdout] test parser::test::test_comment ... ok [INFO] [stdout] test parser::test::test_nested_children ... ok [INFO] [stdout] test parser::test::test_ruby_attribute ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 38 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/basic_tests.rs (/opt/rustwide/target/debug/deps/basic_tests-1063acec89a6cdda) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test test_comments_03 ... ok [INFO] [stdout] test test_head_02 ... ok [INFO] [stdout] test test_ruby_attributes ... ok [INFO] [stdout] test test_text_with_period ... ok [INFO] [stdout] test test_basic_haml ... ok [INFO] [stdout] test test_basic_01 ... ok [INFO] [stderr] Running tests/common.rs (/opt/rustwide/target/debug/deps/common-862a9e58445373a7) [INFO] [stdout] test test_custom_elements ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests haml [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - to_ast (line 33) ... ok [INFO] [stdout] test src/lib.rs - to_html (line 17) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.47s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "94b7aeaba7eac535f650f5adbaaa5e4e381f7143f586a6a33e46aad28006b336", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94b7aeaba7eac535f650f5adbaaa5e4e381f7143f586a6a33e46aad28006b336", kill_on_drop: false }` [INFO] [stdout] 94b7aeaba7eac535f650f5adbaaa5e4e381f7143f586a6a33e46aad28006b336