[INFO] fetching crate ya 0.2.0... [INFO] testing ya-0.2.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate ya 0.2.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate ya 0.2.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate ya 0.2.0 [INFO] tweaked toml for crates.io crate ya 0.2.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ya 0.2.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ya 0.2.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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b33208b651cae58499efec2e01d795ac72d7f3197db97bb430495a7d36a1cdf6 [INFO] running `Command { std: "docker" "start" "-a" "b33208b651cae58499efec2e01d795ac72d7f3197db97bb430495a7d36a1cdf6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b33208b651cae58499efec2e01d795ac72d7f3197db97bb430495a7d36a1cdf6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b33208b651cae58499efec2e01d795ac72d7f3197db97bb430495a7d36a1cdf6", kill_on_drop: false }` [INFO] [stdout] b33208b651cae58499efec2e01d795ac72d7f3197db97bb430495a7d36a1cdf6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f3404f87cd3f9488835599d80876369837d3766e106958c7da323067791595de [INFO] running `Command { std: "docker" "start" "-a" "f3404f87cd3f9488835599d80876369837d3766e106958c7da323067791595de", kill_on_drop: false }` [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling ya v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `indent_level` [INFO] [stdout] --> src/parse/block/map.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | indent_level: IndentLevel, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent_level` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/parse/block/node.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | context: Context, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indent_level` [INFO] [stdout] --> src/parse/block/node.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | indent_level: IndentLevel, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent_level` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/parse/block/node.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | context: Context, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indent_level` [INFO] [stdout] --> src/parse/block/node.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | indent_level: IndentLevel, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent_level` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/parse/plain.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | context: Context, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indent_level` [INFO] [stdout] --> src/parse/plain.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | indent_level: IndentLevel, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent_level` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ChompingMode` is never used [INFO] [stdout] --> src/parse/block/header.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum ChompingMode { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `chomping_indicator` is never used [INFO] [stdout] --> src/parse/block/header.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn chomping_indicator<'i, Input, Error>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `block_scalar` is never used [INFO] [stdout] --> src/parse/block/scalar.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn block_scalar<'i, Context, Input, Error>( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WithLimit` is never constructed [INFO] [stdout] --> src/parse/input.rs:206:19 [INFO] [stdout] | [INFO] [stdout] 206 | pub(crate) struct WithLimit { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `into_inner` are never used [INFO] [stdout] --> src/parse/input.rs:214:12 [INFO] [stdout] | [INFO] [stdout] 212 | impl WithLimit { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 213 | /// Create a new instance. [INFO] [stdout] 214 | pub fn new(inner: I, limit: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 219 | pub fn into_inner(self) -> I { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.91s [INFO] running `Command { std: "docker" "inspect" "f3404f87cd3f9488835599d80876369837d3766e106958c7da323067791595de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3404f87cd3f9488835599d80876369837d3766e106958c7da323067791595de", kill_on_drop: false }` [INFO] [stdout] f3404f87cd3f9488835599d80876369837d3766e106958c7da323067791595de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 59b80100d478b7dd5b72e1bd74a46b84c4de22ad8fa0557bb8f2be6f5533a07a [INFO] running `Command { std: "docker" "start" "-a" "59b80100d478b7dd5b72e1bd74a46b84c4de22ad8fa0557bb8f2be6f5533a07a", kill_on_drop: false }` [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stdout] warning: unused variable: `indent_level` [INFO] [stdout] --> src/parse/block/map.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | indent_level: IndentLevel, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent_level` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/parse/block/node.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | context: Context, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indent_level` [INFO] [stdout] --> src/parse/block/node.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | indent_level: IndentLevel, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent_level` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/parse/block/node.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | context: Context, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indent_level` [INFO] [stdout] --> src/parse/block/node.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | indent_level: IndentLevel, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent_level` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/parse/plain.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | context: Context, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indent_level` [INFO] [stdout] --> src/parse/plain.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | indent_level: IndentLevel, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent_level` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ChompingMode` is never used [INFO] [stdout] --> src/parse/block/header.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum ChompingMode { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `chomping_indicator` is never used [INFO] [stdout] --> src/parse/block/header.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn chomping_indicator<'i, Input, Error>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `block_scalar` is never used [INFO] [stdout] --> src/parse/block/scalar.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn block_scalar<'i, Context, Input, Error>( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WithLimit` is never constructed [INFO] [stdout] --> src/parse/input.rs:206:19 [INFO] [stdout] | [INFO] [stdout] 206 | pub(crate) struct WithLimit { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `into_inner` are never used [INFO] [stdout] --> src/parse/input.rs:214:12 [INFO] [stdout] | [INFO] [stdout] 212 | impl WithLimit { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 213 | /// Create a new instance. [INFO] [stdout] 214 | pub fn new(inner: I, limit: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 219 | pub fn into_inner(self) -> I { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling clap_builder v4.5.47 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling rstest_macros v0.26.1 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling clap v4.5.47 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling rstest v0.26.1 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.7.0 [INFO] [stderr] Compiling ya v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `indent_level` [INFO] [stdout] --> src/parse/block/map.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | indent_level: IndentLevel, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent_level` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/parse/block/node.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | context: Context, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indent_level` [INFO] [stdout] --> src/parse/block/node.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | indent_level: IndentLevel, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent_level` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/parse/block/node.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | context: Context, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indent_level` [INFO] [stdout] --> src/parse/block/node.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | indent_level: IndentLevel, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent_level` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/parse/plain.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | context: Context, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indent_level` [INFO] [stdout] --> src/parse/plain.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | indent_level: IndentLevel, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent_level` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ChompingMode` is never used [INFO] [stdout] --> src/parse/block/header.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum ChompingMode { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `chomping_indicator` is never used [INFO] [stdout] --> src/parse/block/header.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn chomping_indicator<'i, Input, Error>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `block_scalar` is never used [INFO] [stdout] --> src/parse/block/scalar.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn block_scalar<'i, Context, Input, Error>( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WithLimit` is never constructed [INFO] [stdout] --> src/parse/input.rs:206:19 [INFO] [stdout] | [INFO] [stdout] 206 | pub(crate) struct WithLimit { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `into_inner` are never used [INFO] [stdout] --> src/parse/input.rs:214:12 [INFO] [stdout] | [INFO] [stdout] 212 | impl WithLimit { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 213 | /// Create a new instance. [INFO] [stdout] 214 | pub fn new(inner: I, limit: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 219 | pub fn into_inner(self) -> I { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> tests/integration_tests.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | fn check_input(input: &Path, event: &Path) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> tests/integration_tests.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let stream = yaml_stream::<_, ContextError> [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2m 13s [INFO] running `Command { std: "docker" "inspect" "59b80100d478b7dd5b72e1bd74a46b84c4de22ad8fa0557bb8f2be6f5533a07a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59b80100d478b7dd5b72e1bd74a46b84c4de22ad8fa0557bb8f2be6f5533a07a", kill_on_drop: false }` [INFO] [stdout] 59b80100d478b7dd5b72e1bd74a46b84c4de22ad8fa0557bb8f2be6f5533a07a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d9ea27a9f9198c0dcd92169ff3c85787540f667c287dde936e2faf7801d9fdb9 [INFO] running `Command { std: "docker" "start" "-a" "d9ea27a9f9198c0dcd92169ff3c85787540f667c287dde936e2faf7801d9fdb9", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `indent_level` [INFO] [stderr] --> src/parse/block/map.rs:43:5 [INFO] [stderr] | [INFO] [stderr] 43 | indent_level: IndentLevel, [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent_level` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `context` [INFO] [stderr] --> src/parse/block/node.rs:44:5 [INFO] [stderr] | [INFO] [stderr] 44 | context: Context, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `indent_level` [INFO] [stderr] --> src/parse/block/node.rs:45:5 [INFO] [stderr] | [INFO] [stderr] 45 | indent_level: IndentLevel, [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent_level` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `context` [INFO] [stderr] --> src/parse/block/node.rs:82:5 [INFO] [stderr] | [INFO] [stderr] 82 | context: Context, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `indent_level` [INFO] [stderr] --> src/parse/block/node.rs:83:5 [INFO] [stderr] | [INFO] [stderr] 83 | indent_level: IndentLevel, [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent_level` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `context` [INFO] [stderr] --> src/parse/plain.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | context: Context, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `indent_level` [INFO] [stderr] --> src/parse/plain.rs:36:5 [INFO] [stderr] | [INFO] [stderr] 36 | indent_level: IndentLevel, [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent_level` [INFO] [stderr] [INFO] [stderr] warning: enum `ChompingMode` is never used [INFO] [stderr] --> src/parse/block/header.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | pub enum ChompingMode { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `chomping_indicator` is never used [INFO] [stderr] --> src/parse/block/header.rs:20:8 [INFO] [stderr] | [INFO] [stderr] 20 | pub fn chomping_indicator<'i, Input, Error>( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `block_scalar` is never used [INFO] [stderr] --> src/parse/block/scalar.rs:20:8 [INFO] [stderr] | [INFO] [stderr] 20 | pub fn block_scalar<'i, Context, Input, Error>( [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `WithLimit` is never constructed [INFO] [stderr] --> src/parse/input.rs:206:19 [INFO] [stderr] | [INFO] [stderr] 206 | pub(crate) struct WithLimit { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new` and `into_inner` are never used [INFO] [stderr] --> src/parse/input.rs:214:12 [INFO] [stderr] | [INFO] [stderr] 212 | impl WithLimit { [INFO] [stderr] | -------------------- associated items in this implementation [INFO] [stderr] 213 | /// Create a new instance. [INFO] [stderr] 214 | pub fn new(inner: I, limit: usize) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 219 | pub fn into_inner(self) -> I { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `ya` (lib) generated 12 warnings (run `cargo fix --lib -p ya` to apply 7 suggestions) [INFO] [stderr] warning: unused variable: `event` [INFO] [stderr] --> tests/integration_tests.rs:34:30 [INFO] [stderr] | [INFO] [stderr] 34 | fn check_input(input: &Path, event: &Path) { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `stream` [INFO] [stderr] --> tests/integration_tests.rs:36:9 [INFO] [stderr] | [INFO] [stderr] 36 | let stream = yaml_stream::<_, ContextError> [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stderr] [INFO] [stderr] warning: `ya` (lib test) generated 12 warnings (12 duplicates) [INFO] [stderr] warning: `ya` (test "integration_tests") generated 2 warnings (run `cargo fix --test "integration_tests" -p ya` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ya-8d61b43b17e046b7) [INFO] [stdout] [INFO] [stdout] running 16 tests [INFO] [stdout] test parse::alias::tests::alias_fails_on_unregistered_anchor ... ok [INFO] [stdout] test parse::alias::tests::alias_parses_on_registered_anchor ... ok [INFO] [stdout] test parse::double::tests::double_escaped_line_break_parses_input ... ok [INFO] [stdout] test parse::document::tests::simple_flow_map ... ok [INFO] [stdout] test parse::document::tests::simple_flow_seq ... ok [INFO] [stdout] test parse::double::tests::double_quoted_folding ... ok [INFO] [stdout] test parse::double::tests::double_quoted_lines ... ok [INFO] [stdout] test parse::double::tests::non_break_double_chars_escape ... ok [INFO] [stdout] test parse::double::tests::non_break_double_chars_no_escape ... ok [INFO] [stdout] test parse::input::tests::input_is_start_of_line ... ok [INFO] [stdout] test parse::single::tests::non_break_single_text_single_line ... ok [INFO] [stdout] test parse::spaces::tests::flow_folded_parses_single_break_as_space ... ok [INFO] [stdout] test parse::spaces::tests::flow_folded_parses_multi_breaks_as_newline ... ok [INFO] [stdout] test parse::spaces::tests::indent_at_least_consumes_larger ... ok [INFO] [stdout] test parse::spaces::tests::indent_takes_exact ... ok [INFO] [stdout] test parse::scalar::tests::scalar_plain_str ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- parse::scalar::tests::scalar_plain_str stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'parse::scalar::tests::scalar_plain_str' (36) panicked at src/parse/scalar.rs:71:49: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: ParseError { input: Input { inner: Stateful { input: "foo", state: AnchorStore({}) }, original: "foo" }, offset: 0, inner: ContextError { context: [], cause: None } } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5e18584a3b82 - std::backtrace_rs::backtrace::libunwind::trace::h9ea1e07ac77a25d7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5e18584a3b82 - std::backtrace_rs::backtrace::trace_unsynchronized::h72b75eb83b53d15a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5e18584a3b82 - std::sys::backtrace::_print_fmt::h255777b7ec902439 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5e18584a3b82 - ::fmt::h8a1ac49fcd7ee8ce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5e18584b3ecf - core::fmt::rt::Argument::fmt::h635cbf3c6754cc90 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5e18584b3ecf - core::fmt::write::hbdcc0ec4f1bab1db [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x5e1858471523 - std::io::default_write_fmt::h2580ece0d4b58e51 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5e1858471523 - std::io::Write::write_fmt::hac9e42858f273b87 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5e185847d3f2 - std::sys::backtrace::BacktraceLock::print::h052febbd86f7bf07 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5e1858481ecf - std::panicking::default_hook::{{closure}}::h66aeee20dd470abb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5e1858481d61 - std::panicking::default_hook::h9d66b9642014ce48 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5e185844395e - as core::ops::function::Fn>::call::h8c698701e444e564 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 12: 0x5e185844395e - test::test_main_with_exit_callback::{{closure}}::ha1c98e7b69c4defb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5e18584824df - as core::ops::function::Fn>::call::hc4f222a8a57c637a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 14: 0x5e18584824df - std::panicking::panic_with_hook::h6d5921a1a1fa5a8e [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5e185848233a - std::panicking::panic_handler::{{closure}}::hafeef6f707d43542 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5e185847d529 - std::sys::backtrace::__rust_end_short_backtrace::h08cbc3319a3d0120 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5e1858465e1d - __rustc[ce5c411ff86ab1b2]::rust_begin_unwind [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5e18584bbc80 - core::panicking::panic_fmt::h774fb860369a0f7b [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x5e18584bb366 - core::result::unwrap_failed::h72ee8fcbf1bf8ff9 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1862:5 [INFO] [stdout] 20: 0x5e18583f41d6 - core::result::Result::unwrap::h2fa311c3b580138f [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1233:23 [INFO] [stdout] 21: 0x5e18583f41d6 - ya::parse::scalar::tests::scalar_plain_str::h05c6208383a1f3d9 [INFO] [stdout] at /opt/rustwide/workdir/src/parse/scalar.rs:71:49 [INFO] [stdout] 22: 0x5e18583f4307 - ya::parse::scalar::tests::scalar_plain_str::{{closure}}::h6062a165bfa91c72 [INFO] [stdout] at /opt/rustwide/workdir/src/parse/scalar.rs:69:26 [INFO] [stdout] 23: 0x5e1858413796 - core::ops::function::FnOnce::call_once::hd86da21962844bb6 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5e18584437ab - core::ops::function::FnOnce::call_once::h4f6eabe90cccb47d [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5e18584437ab - test::__rust_begin_short_backtrace::h94208530f2b4c8c7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x5e18584577bd - test::run_test_in_process::{{closure}}::hbdc6a45a78c46404 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x5e18584577bd - as core::ops::function::FnOnce<()>>::call_once::h7f9d8efc7eedd165 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x5e18584577bd - std::panicking::catch_unwind::do_call::he5edbaf126c13b99 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x5e18584577bd - std::panicking::catch_unwind::h3d6a8652eceeabce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x5e18584577bd - std::panic::catch_unwind::hbef0c501dd7bb498 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5e18584577bd - test::run_test_in_process::h400008a46a5006a0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x5e18584577bd - test::run_test::{{closure}}::h9a131655b31d9427 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x5e1858430d04 - test::run_test::{{closure}}::he4a7177c216308c0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x5e1858430d04 - std::sys::backtrace::__rust_begin_short_backtrace::hd3980e9c55d6c539 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x5e185843463a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h18552df67c7aa9b8 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:562:17 [INFO] [stdout] 36: 0x5e185843463a - as core::ops::function::FnOnce<()>>::call_once::h3d7b285234641a08 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x5e185843463a - std::panicking::catch_unwind::do_call::h5a2b5cf36528a5b2 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x5e185843463a - std::panicking::catch_unwind::h7e8b531bbda77d20 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x5e185843463a - std::panic::catch_unwind::hf9bbb2040b4f1e6c [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5e185843463a - std::thread::Builder::spawn_unchecked_::{{closure}}::h600f92cf68549574 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:560:30 [INFO] [stdout] 41: 0x5e185843463a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb6607307df8a1847 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x5e185847892f - as core::ops::function::FnOnce>::call_once::h6891ad53a5ed6f52 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2085:9 [INFO] [stdout] 43: 0x5e185847892f - std::sys::thread::unix::Thread::new::thread_start::h7f3e77fa86df70af [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/thread/unix.rs:124:17 [INFO] [stdout] 44: 0x78266ec05aa4 - [INFO] [stdout] 45: 0x78266ec92a64 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] parse::scalar::tests::scalar_plain_str [INFO] [stdout] [INFO] [stdout] test result: FAILED. 15 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "d9ea27a9f9198c0dcd92169ff3c85787540f667c287dde936e2faf7801d9fdb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9ea27a9f9198c0dcd92169ff3c85787540f667c287dde936e2faf7801d9fdb9", kill_on_drop: false }` [INFO] [stdout] d9ea27a9f9198c0dcd92169ff3c85787540f667c287dde936e2faf7801d9fdb9