[INFO] cloning repository https://github.com/eliasffyksen/QDP [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/eliasffyksen/QDP" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feliasffyksen%2FQDP", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feliasffyksen%2FQDP'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4cd00b8c2fa4ab508a34d7e6376b8c2ce56f05cc [INFO] checking eliasffyksen/QDP against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feliasffyksen%2FQDP" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/eliasffyksen/QDP [INFO] finished tweaking git repo https://github.com/eliasffyksen/QDP [INFO] tweaked toml for git repo https://github.com/eliasffyksen/QDP written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/eliasffyksen/QDP on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/eliasffyksen/QDP 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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a12988e01a90510cfb2da6fde20ddd9d3bcb04d74eeadae50c348d5307b20545 [INFO] running `Command { std: "docker" "start" "-a" "a12988e01a90510cfb2da6fde20ddd9d3bcb04d74eeadae50c348d5307b20545", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a12988e01a90510cfb2da6fde20ddd9d3bcb04d74eeadae50c348d5307b20545", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a12988e01a90510cfb2da6fde20ddd9d3bcb04d74eeadae50c348d5307b20545", kill_on_drop: false }` [INFO] [stdout] a12988e01a90510cfb2da6fde20ddd9d3bcb04d74eeadae50c348d5307b20545 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1670717a8f9e6b58778a424864e0fe4f95677c46081b19510de86a2b5640c43c [INFO] running `Command { std: "docker" "start" "-a" "1670717a8f9e6b58778a424864e0fe4f95677c46081b19510de86a2b5640c43c", kill_on_drop: false }` [INFO] [stderr] Checking regex-syntax v0.6.28 [INFO] [stderr] Checking aho-corasick v0.7.20 [INFO] [stderr] Checking regex v1.7.1 [INFO] [stderr] Checking qdp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: methods `pos_int`, `map`, and `re_cap` are never used [INFO] [stdout] --> src/parser.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait Parser<'data, T> { [INFO] [stdout] | ------ methods in this trait [INFO] [stdout] ... [INFO] [stdout] 41 | fn pos_int<'parent>(&'parent mut self) -> PosInt<'data, 'parent, Self, T> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | fn map(&mut self, f: F) -> Map<'data, '_, Self, T, F> [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | fn re_cap(&mut self, re: &str) -> ReCap<'data, '_, Self, T> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `pos_int`, `map`, and `re_cap` are never used [INFO] [stdout] --> src/parser.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait Parser<'data, T> { [INFO] [stdout] | ------ methods in this trait [INFO] [stdout] ... [INFO] [stdout] 41 | fn pos_int<'parent>(&'parent mut self) -> PosInt<'data, 'parent, Self, T> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | fn map(&mut self, f: F) -> Map<'data, '_, Self, T, F> [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | fn re_cap(&mut self, re: &str) -> ReCap<'data, '_, Self, T> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PosInt` is never constructed [INFO] [stdout] --> src/pos_int.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct PosInt<'data, 'parent, P, PT> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PosInt` is never constructed [INFO] [stdout] --> src/pos_int.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct PosInt<'data, 'parent, P, PT> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/pos_int.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 16 | / impl<'data, 'parent, P, PT> PosInt<'data, 'parent, P, PT> [INFO] [stdout] 17 | | where [INFO] [stdout] 18 | | P: Parser<'data, PT> [INFO] [stdout] | |______________________- associated function in this implementation [INFO] [stdout] 19 | { [INFO] [stdout] 20 | pub fn new(parent: &'parent mut P) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/pos_int.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 16 | / impl<'data, 'parent, P, PT> PosInt<'data, 'parent, P, PT> [INFO] [stdout] 17 | | where [INFO] [stdout] 18 | | P: Parser<'data, PT> [INFO] [stdout] | |______________________- associated function in this implementation [INFO] [stdout] 19 | { [INFO] [stdout] 20 | pub fn new(parent: &'parent mut P) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Map` is never constructed [INFO] [stdout] --> src/map.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Map<'data, 'parent, P, PT, F> [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Map` is never constructed [INFO] [stdout] --> src/map.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Map<'data, 'parent, P, PT, F> [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/map.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 14 | / impl<'data, 'parent, P, PT, F> Map<'data, 'parent, P, PT, F> [INFO] [stdout] 15 | | where [INFO] [stdout] 16 | | P: Parser<'data, PT> [INFO] [stdout] | |______________________- associated function in this implementation [INFO] [stdout] 17 | { [INFO] [stdout] 18 | pub fn new(parent: &'parent mut P, f: F) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ReCap` is never constructed [INFO] [stdout] --> src/re_cap.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ReCap<'data, 'parent, P, PT> [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/map.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 14 | / impl<'data, 'parent, P, PT, F> Map<'data, 'parent, P, PT, F> [INFO] [stdout] 15 | | where [INFO] [stdout] 16 | | P: Parser<'data, PT> [INFO] [stdout] | |______________________- associated function in this implementation [INFO] [stdout] 17 | { [INFO] [stdout] 18 | pub fn new(parent: &'parent mut P, f: F) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/re_cap.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 14 | / impl<'data, 'parent, P, PT> ReCap<'data, 'parent, P, PT> [INFO] [stdout] 15 | | where [INFO] [stdout] 16 | | P: Parser<'data, PT> [INFO] [stdout] | |________________________- associated function in this implementation [INFO] [stdout] 17 | { [INFO] [stdout] 18 | pub fn new(parent: &'parent mut P, re: &str) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ReCap` is never constructed [INFO] [stdout] --> src/re_cap.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ReCap<'data, 'parent, P, PT> [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/re_cap.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 14 | / impl<'data, 'parent, P, PT> ReCap<'data, 'parent, P, PT> [INFO] [stdout] 15 | | where [INFO] [stdout] 16 | | P: Parser<'data, PT> [INFO] [stdout] | |________________________- associated function in this implementation [INFO] [stdout] 17 | { [INFO] [stdout] 18 | pub fn new(parent: &'parent mut P, re: &str) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `data` should have an upper case name [INFO] [stdout] --> src/main.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | const data: &str = " [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 17 - const data: &str = " [INFO] [stdout] 17 + const DATA: &str = " [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `data` should have an upper case name [INFO] [stdout] --> src/main.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | const data: &str = " [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 17 - const data: &str = " [INFO] [stdout] 17 + const DATA: &str = " [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.30s [INFO] running `Command { std: "docker" "inspect" "1670717a8f9e6b58778a424864e0fe4f95677c46081b19510de86a2b5640c43c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1670717a8f9e6b58778a424864e0fe4f95677c46081b19510de86a2b5640c43c", kill_on_drop: false }` [INFO] [stdout] 1670717a8f9e6b58778a424864e0fe4f95677c46081b19510de86a2b5640c43c