[INFO] fetching crate prom_text_format_parser 0.1.0... [INFO] testing prom_text_format_parser-0.1.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate prom_text_format_parser 0.1.0 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate prom_text_format_parser 0.1.0 [INFO] finished tweaking crates.io crate prom_text_format_parser 0.1.0 [INFO] tweaked toml for crates.io crate prom_text_format_parser 0.1.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate prom_text_format_parser 0.1.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate prom_text_format_parser 0.1.0 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded relative-path v1.9.0 [INFO] [stderr] Downloaded winnow v0.5.30 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cb1aad5e6a284ac0dec4555d8d429ffe0fc70d6fe2a0d9552b53d7dc56e11fc4 [INFO] running `Command { std: "docker" "start" "-a" "cb1aad5e6a284ac0dec4555d8d429ffe0fc70d6fe2a0d9552b53d7dc56e11fc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cb1aad5e6a284ac0dec4555d8d429ffe0fc70d6fe2a0d9552b53d7dc56e11fc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb1aad5e6a284ac0dec4555d8d429ffe0fc70d6fe2a0d9552b53d7dc56e11fc4", kill_on_drop: false }` [INFO] [stdout] cb1aad5e6a284ac0dec4555d8d429ffe0fc70d6fe2a0d9552b53d7dc56e11fc4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b5e0e13b4d8aeb78f98bce8c9f0f9959f891374f99dba7d238a4bddd79a7e118 [INFO] running `Command { std: "docker" "start" "-a" "b5e0e13b4d8aeb78f98bce8c9f0f9959f891374f99dba7d238a4bddd79a7e118", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling winnow v0.5.30 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.29 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Compiling strum v0.25.0 [INFO] [stderr] Compiling prom_text_format_parser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 151 | Comment(String), [INFO] [stdout] | ------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Line` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 151 - Comment(String), [INFO] [stdout] 151 + Comment(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.15s [INFO] running `Command { std: "docker" "inspect" "b5e0e13b4d8aeb78f98bce8c9f0f9959f891374f99dba7d238a4bddd79a7e118", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5e0e13b4d8aeb78f98bce8c9f0f9959f891374f99dba7d238a4bddd79a7e118", kill_on_drop: false }` [INFO] [stdout] b5e0e13b4d8aeb78f98bce8c9f0f9959f891374f99dba7d238a4bddd79a7e118 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bfb30ef9d5b44defa5929e153e9fca8888e0cd495ecf347e81065c30acd11b4a [INFO] running `Command { std: "docker" "start" "-a" "bfb30ef9d5b44defa5929e153e9fca8888e0cd495ecf347e81065c30acd11b4a", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.6.2 [INFO] [stderr] Compiling semver v1.0.18 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling syn v2.0.29 [INFO] [stderr] Compiling relative-path v1.9.0 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Compiling futures-timer v3.0.2 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling thread_local v1.1.7 [INFO] [stderr] Compiling pretty_assertions v1.4.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling aho-corasick v1.0.5 [INFO] [stderr] Compiling tracing-log v0.1.3 [INFO] [stderr] Compiling rstest_macros v0.18.2 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Compiling tracing-attributes v0.1.26 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling tracing-subscriber v0.3.17 [INFO] [stderr] Compiling strum v0.25.0 [INFO] [stderr] Compiling prom_text_format_parser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 151 | Comment(String), [INFO] [stdout] | ------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Line` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 151 - Comment(String), [INFO] [stdout] 151 + Comment(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling rstest v0.18.2 [INFO] [stdout] error: couldn't read `src/../test_data/example-01.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/lib.rs:303:34 [INFO] [stdout] | [INFO] [stdout] 303 | pub const EXAMPLE_01: &str = include_str!("../test_data/example-01.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/../test_data/node-exporter-01.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/lib.rs:304:40 [INFO] [stdout] | [INFO] [stdout] 304 | pub const NODE_EXPORTER_01: &str = include_str!("../test_data/node-exporter-01.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/../test_data/prometheus-01.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/lib.rs:305:37 [INFO] [stdout] | [INFO] [stdout] 305 | pub const PROMETHEUS_01: &str = include_str!("../test_data/prometheus-01.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/../test_data/fail-no-sample-01.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/lib.rs:306:31 [INFO] [stdout] | [INFO] [stdout] 306 | pub const FAIL_01: &str = include_str!("../test_data/fail-no-sample-01.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `prom_text_format_parser` (lib test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "bfb30ef9d5b44defa5929e153e9fca8888e0cd495ecf347e81065c30acd11b4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfb30ef9d5b44defa5929e153e9fca8888e0cd495ecf347e81065c30acd11b4a", kill_on_drop: false }` [INFO] [stdout] bfb30ef9d5b44defa5929e153e9fca8888e0cd495ecf347e81065c30acd11b4a