[INFO] cloning repository https://github.com/johannesvollmer/proto-templates [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/johannesvollmer/proto-templates" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjohannesvollmer%2Fproto-templates", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjohannesvollmer%2Fproto-templates'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 08afd1ae2894bc03736fa1398baf7a42f1a85488 [INFO] checking johannesvollmer/proto-templates against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjohannesvollmer%2Fproto-templates" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/johannesvollmer/proto-templates on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/johannesvollmer/proto-templates [INFO] finished tweaking git repo https://github.com/johannesvollmer/proto-templates [INFO] tweaked toml for git repo https://github.com/johannesvollmer/proto-templates written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/johannesvollmer/proto-templates already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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] 893a0cbe78628ef64154cbc22e92ec9568e071ee5985bd646e8bc8b71121a4cc [INFO] running `Command { std: "docker" "start" "-a" "893a0cbe78628ef64154cbc22e92ec9568e071ee5985bd646e8bc8b71121a4cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "893a0cbe78628ef64154cbc22e92ec9568e071ee5985bd646e8bc8b71121a4cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "893a0cbe78628ef64154cbc22e92ec9568e071ee5985bd646e8bc8b71121a4cc", kill_on_drop: false }` [INFO] [stdout] 893a0cbe78628ef64154cbc22e92ec9568e071ee5985bd646e8bc8b71121a4cc [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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e08b9b76b5da8c046031e11e4ee5b64eade61c4ecbb954bef16ad9b0b99cd6ff [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" "e08b9b76b5da8c046031e11e4ee5b64eade61c4ecbb954bef16ad9b0b99cd6ff", kill_on_drop: false }` [INFO] [stderr] Checking prototype_template_language v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `::std::collections::HashMap` [INFO] [stdout] --> src/referenced.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ::std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/parse.rs:142:22 [INFO] [stdout] | [INFO] [stdout] 142 | skip_char(source.trim_left(), symbol) [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/parse.rs:147:24 [INFO] [stdout] | [INFO] [stdout] 147 | expect_char(source.trim_left(), expected_symbol) [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/parse.rs:152:38 [INFO] [stdout] | [INFO] [stdout] 152 | parse_over_delimiter_char(source.trim_left(), delimiter) [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/parse.rs:157:30 [INFO] [stdout] | [INFO] [stdout] 157 | parse_chars_while(source.trim_left(), predicate) [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/parse.rs:174:16 [INFO] [stdout] | [INFO] [stdout] 174 | source.trim_left(), [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/parse.rs:213:54 [INFO] [stdout] | [INFO] [stdout] 213 | let remaining_objects = remaining_source.trim_left(); [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/parse.rs:249:40 [INFO] [stdout] | [INFO] [stdout] 249 | let remaining_objects = source.trim_left(); [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `::std::collections::HashMap` [INFO] [stdout] --> src/referenced.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ::std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `character` [INFO] [stdout] --> src/parse.rs:124:32 [INFO] [stdout] | [INFO] [stdout] 124 | .map(|(byte_index, character)| byte_index) [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_character` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/parse.rs:133:19 [INFO] [stdout] | [INFO] [stdout] 133 | .map_err(|e| ParseError::UnexpectedEndOfInput { expected: Some(delimiter) }) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_over_delimiter` [INFO] [stdout] --> src/parse.rs:151:4 [INFO] [stdout] | [INFO] [stdout] 151 | fn parse_over_delimiter(source: Source, delimiter: char) -> ParseResult<(&str, Source)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/parse.rs:142:22 [INFO] [stdout] | [INFO] [stdout] 142 | skip_char(source.trim_left(), symbol) [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/parse.rs:147:24 [INFO] [stdout] | [INFO] [stdout] 147 | expect_char(source.trim_left(), expected_symbol) [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/parse.rs:152:38 [INFO] [stdout] | [INFO] [stdout] 152 | parse_over_delimiter_char(source.trim_left(), delimiter) [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/parse.rs:157:30 [INFO] [stdout] | [INFO] [stdout] 157 | parse_chars_while(source.trim_left(), predicate) [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/parse.rs:174:16 [INFO] [stdout] | [INFO] [stdout] 174 | source.trim_left(), [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/parse.rs:213:54 [INFO] [stdout] | [INFO] [stdout] 213 | let remaining_objects = remaining_source.trim_left(); [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/parse.rs:249:40 [INFO] [stdout] | [INFO] [stdout] 249 | let remaining_objects = source.trim_left(); [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `character` [INFO] [stdout] --> src/parse.rs:124:32 [INFO] [stdout] | [INFO] [stdout] 124 | .map(|(byte_index, character)| byte_index) [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_character` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/parse.rs:133:19 [INFO] [stdout] | [INFO] [stdout] 133 | .map_err(|e| ParseError::UnexpectedEndOfInput { expected: Some(delimiter) }) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/parse.rs:416:40 [INFO] [stdout] | [INFO] [stdout] 416 | assert_eq!(parse_while("xyz", |c| true), ("xyz", "")); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/parse.rs:417:40 [INFO] [stdout] | [INFO] [stdout] 417 | assert_eq!(parse_while("xyz", |c| false), ("", "xyz")); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/parse.rs:418:37 [INFO] [stdout] | [INFO] [stdout] 418 | assert_eq!(parse_while("", |c| true), ("", "")); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/parse.rs:419:37 [INFO] [stdout] | [INFO] [stdout] 419 | assert_eq!(parse_while("", |c| false), ("", "")); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.04s [INFO] running `Command { std: "docker" "inspect" "e08b9b76b5da8c046031e11e4ee5b64eade61c4ecbb954bef16ad9b0b99cd6ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e08b9b76b5da8c046031e11e4ee5b64eade61c4ecbb954bef16ad9b0b99cd6ff", kill_on_drop: false }` [INFO] [stdout] e08b9b76b5da8c046031e11e4ee5b64eade61c4ecbb954bef16ad9b0b99cd6ff