[INFO] cloning repository https://github.com/serhii-lypko/xml-parser [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/serhii-lypko/xml-parser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fserhii-lypko%2Fxml-parser", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fserhii-lypko%2Fxml-parser'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] eec9c5f63b0f12180172523fb7dc22ed03b2d67f [INFO] checking serhii-lypko/xml-parser against master#c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3 for pr-141352 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fserhii-lypko%2Fxml-parser" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/serhii-lypko/xml-parser on toolchain c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/serhii-lypko/xml-parser [INFO] finished tweaking git repo https://github.com/serhii-lypko/xml-parser [INFO] tweaked toml for git repo https://github.com/serhii-lypko/xml-parser written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/serhii-lypko/xml-parser already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 077d143e71e21078c24cfc6da5648aad43d3fdb17ca6fefa5b06a7278d2c94d8 [INFO] running `Command { std: "docker" "start" "-a" "077d143e71e21078c24cfc6da5648aad43d3fdb17ca6fefa5b06a7278d2c94d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "077d143e71e21078c24cfc6da5648aad43d3fdb17ca6fefa5b06a7278d2c94d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "077d143e71e21078c24cfc6da5648aad43d3fdb17ca6fefa5b06a7278d2c94d8", kill_on_drop: false }` [INFO] [stdout] 077d143e71e21078c24cfc6da5648aad43d3fdb17ca6fefa5b06a7278d2c94d8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d311cca1112e742cefb9f1d34212e93f291a84e0932c6c7e036f5fab6a6355f0 [INFO] running `Command { std: "docker" "start" "-a" "d311cca1112e742cefb9f1d34212e93f291a84e0932c6c7e036f5fab6a6355f0", kill_on_drop: false }` [INFO] [stderr] Checking xml-parser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `fmt::Debug` and `fmt::Display` [INFO] [stdout] --> src/main.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{error::Error, fmt::Debug, fmt::Display}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/main.rs:48:35 [INFO] [stdout] | [INFO] [stdout] 46 | impl <'a, F, Output> Parser<'a, Output> for F [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 47 | where [INFO] [stdout] 48 | F: Fn(&'a str) -> ParserOutput, [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/main.rs:80:82 [INFO] [stdout] | [INFO] [stdout] 80 | fn identity_combinator_2<'a, P, O>(parser: P) -> impl Fn(&'a str) -> ParserOutput [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fmt::Debug` and `fmt::Display` [INFO] [stdout] --> src/main.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{error::Error, fmt::Debug, fmt::Display}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/main.rs:48:35 [INFO] [stdout] | [INFO] [stdout] 46 | impl <'a, F, Output> Parser<'a, Output> for F [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 47 | where [INFO] [stdout] 48 | F: Fn(&'a str) -> ParserOutput, [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/main.rs:80:82 [INFO] [stdout] | [INFO] [stdout] 80 | fn identity_combinator_2<'a, P, O>(parser: P) -> impl Fn(&'a str) -> ParserOutput [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Element` is never constructed [INFO] [stdout] --> src/main.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | struct Element { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `identity_combinator` is never used [INFO] [stdout] --> src/main.rs:71:4 [INFO] [stdout] | [INFO] [stdout] 71 | fn identity_combinator<'a, P, O>(parser: P) -> impl Parser<'a, O> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `identity_combinator_2` is never used [INFO] [stdout] --> src/main.rs:80:4 [INFO] [stdout] | [INFO] [stdout] 80 | fn identity_combinator_2<'a, P, O>(parser: P) -> impl Fn(&'a str) -> ParserOutput [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `match_literal` is never used [INFO] [stdout] --> src/main.rs:139:4 [INFO] [stdout] | [INFO] [stdout] 139 | fn match_literal(expected: &'static str) -> impl Fn(&str) -> ParserOutput<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `identifier` is never used [INFO] [stdout] --> src/main.rs:156:4 [INFO] [stdout] | [INFO] [stdout] 156 | fn identifier(input: &str) -> ParserOutput { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Element` is never constructed [INFO] [stdout] --> src/main.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | struct Element { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `identity_combinator` is never used [INFO] [stdout] --> src/main.rs:71:4 [INFO] [stdout] | [INFO] [stdout] 71 | fn identity_combinator<'a, P, O>(parser: P) -> impl Parser<'a, O> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `identity_combinator_2` is never used [INFO] [stdout] --> src/main.rs:80:4 [INFO] [stdout] | [INFO] [stdout] 80 | fn identity_combinator_2<'a, P, O>(parser: P) -> impl Fn(&'a str) -> ParserOutput [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] running `Command { std: "docker" "inspect" "d311cca1112e742cefb9f1d34212e93f291a84e0932c6c7e036f5fab6a6355f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d311cca1112e742cefb9f1d34212e93f291a84e0932c6c7e036f5fab6a6355f0", kill_on_drop: false }` [INFO] [stdout] d311cca1112e742cefb9f1d34212e93f291a84e0932c6c7e036f5fab6a6355f0