[INFO] cloning repository https://github.com/hansihe/rust_iterative_json_parser [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hansihe/rust_iterative_json_parser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhansihe%2Frust_iterative_json_parser", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhansihe%2Frust_iterative_json_parser'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3f0ffa48024c44cdc26d65118cdc1114ca8900bd [INFO] testing hansihe/rust_iterative_json_parser against try#5a3d3b91048a0adf280e7a4e589c1dda6443f172 for pr-115235 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhansihe%2Frust_iterative_json_parser" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hansihe/rust_iterative_json_parser on toolchain 5a3d3b91048a0adf280e7a4e589c1dda6443f172 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5a3d3b91048a0adf280e7a4e589c1dda6443f172" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hansihe/rust_iterative_json_parser [INFO] finished tweaking git repo https://github.com/hansihe/rust_iterative_json_parser [INFO] tweaked toml for git repo https://github.com/hansihe/rust_iterative_json_parser written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/hansihe/rust_iterative_json_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" "+5a3d3b91048a0adf280e7a4e589c1dda6443f172" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: lib.src [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+5a3d3b91048a0adf280e7a4e589c1dda6443f172" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 81d664758762403490372fc0dc3e4c8a09230a65e13831b2393bb1ff013bf1d9 [INFO] running `Command { std: "docker" "start" "-a" "81d664758762403490372fc0dc3e4c8a09230a65e13831b2393bb1ff013bf1d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "81d664758762403490372fc0dc3e4c8a09230a65e13831b2393bb1ff013bf1d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81d664758762403490372fc0dc3e4c8a09230a65e13831b2393bb1ff013bf1d9", kill_on_drop: false }` [INFO] [stdout] 81d664758762403490372fc0dc3e4c8a09230a65e13831b2393bb1ff013bf1d9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+5a3d3b91048a0adf280e7a4e589c1dda6443f172" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 83cf34e4b531a4ecc1c26924208cd322b283324d9764aa36973f27dc87e70730 [INFO] running `Command { std: "docker" "start" "-a" "83cf34e4b531a4ecc1c26924208cd322b283324d9764aa36973f27dc87e70730", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: lib.src [INFO] [stderr] Compiling iterative_json_parser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition: `lift_bail` [INFO] [stdout] --> src/parser.rs:110:14 [INFO] [stdout] | [INFO] [stdout] 110 | macro_rules! lift_bail { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/tokenizer.rs:272:29 [INFO] [stdout] | [INFO] [stdout] 272 | b'A'...b'F' => *codepoint |= (byte - b'A' + 10) as u32, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/tokenizer.rs:273:29 [INFO] [stdout] | [INFO] [stdout] 273 | b'a'...b'f' => *codepoint |= (byte - b'a' + 10) as u32, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/tokenizer.rs:274:29 [INFO] [stdout] | [INFO] [stdout] 274 | b'0'...b'9' => *codepoint |= (byte - b'0') as u32, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/tokenizer.rs:319:36 [INFO] [stdout] | [INFO] [stdout] 319 | PeekResult::Ok(b'0'...b'9') => ss.skip(1), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/tokenizer.rs:368:29 [INFO] [stdout] | [INFO] [stdout] 368 | b'0'...b'9' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `::PResult` [INFO] [stdout] --> src/source/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ::PResult; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/parser.rs:136:14 [INFO] [stdout] | [INFO] [stdout] 136 | fn log_token(token: &str) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Decoder` is never constructed [INFO] [stdout] --> src/decoder.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct Decoder { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/decoder.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 9 | impl Decoder { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 10 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] thread 'rustc' panicked at compiler/rustc_metadata/src/rmeta/encoder.rs:450:9: [INFO] [stderr] assertion failed: pos.get() <= self.position() [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x7fabc54ebefc - std::backtrace_rs::backtrace::libunwind::trace::h1e94f51a70590b24 [INFO] [stderr] at /rustc/5a3d3b91048a0adf280e7a4e589c1dda6443f172/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stderr] 1: 0x7fabc54ebefc - std::backtrace_rs::backtrace::trace_unsynchronized::ha4b8601070a1cd51 [INFO] [stderr] at /rustc/5a3d3b91048a0adf280e7a4e589c1dda6443f172/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stderr] 2: 0x7fabc54ebefc - std::sys_common::backtrace::_print_fmt::hbb566ca2fd60b76a [INFO] [stderr] at /rustc/5a3d3b91048a0adf280e7a4e589c1dda6443f172/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stderr] 3: 0x7fabc54ebefc - ::fmt::hca47315a43d59c89 [INFO] [stderr] at /rustc/5a3d3b91048a0adf280e7a4e589c1dda6443f172/library/std/src/sys_common/backtrace.rs:44:22 [INFO] [stderr] 4: 0x7fabc555215c - core::fmt::rt::Argument::fmt::h291f645ad8573757 [INFO] [stderr] at /rustc/5a3d3b91048a0adf280e7a4e589c1dda6443f172/library/core/src/fmt/rt.rs:138:9 [INFO] [stderr] 5: 0x7fabc555215c - core::fmt::write::h9b76cf5ceec3eda1 [INFO] [stderr] at /rustc/5a3d3b91048a0adf280e7a4e589c1dda6443f172/library/core/src/fmt/mod.rs:1094:21 [INFO] [stderr] 6: 0x7fabc54deb1e - std::io::Write::write_fmt::hc4ac74baeb81817b [INFO] [stderr] at /rustc/5a3d3b91048a0adf280e7a4e589c1dda6443f172/library/std/src/io/mod.rs:1714:15 [INFO] [stderr] 7: 0x7fabc54ebce4 - std::sys_common::backtrace::_print::h53287555ce02ffe8 [INFO] [stderr] at /rustc/5a3d3b91048a0adf280e7a4e589c1dda6443f172/library/std/src/sys_common/backtrace.rs:47:5 [INFO] [stderr] 8: 0x7fabc54ebce4 - std::sys_common::backtrace::print::h4ce9b6d019078194 [INFO] [stderr] at /rustc/5a3d3b91048a0adf280e7a4e589c1dda6443f172/library/std/src/sys_common/backtrace.rs:34:9 [INFO] [stderr] 9: 0x7fabc54eedda - std::panicking::panic_hook_with_disk_dump::{{closure}}::h6345d620bf90f980 [INFO] [stderr] at /rustc/5a3d3b91048a0adf280e7a4e589c1dda6443f172/library/std/src/panicking.rs:280:22 [INFO] [stderr] 10: 0x7fabc54eead5 - std::panicking::panic_hook_with_disk_dump::h881dcb47bef2b023 [INFO] [stderr] at /rustc/5a3d3b91048a0adf280e7a4e589c1dda6443f172/library/std/src/panicking.rs:314:9 [INFO] [stderr] 11: 0x7fabc889ab39 - rustc_driver_impl[507b66162c0f18a9]::install_ice_hook::{closure#0} [INFO] [stderr] 12: 0x7fabc54ef693 - as core::ops::function::Fn>::call::hc6a6af3e65f55d16 [INFO] [stderr] at /rustc/5a3d3b91048a0adf280e7a4e589c1dda6443f172/library/alloc/src/boxed.rs:2021:9 [INFO] [stderr] 13: 0x7fabc54ef693 - std::panicking::rust_panic_with_hook::h4685f1313004386b [INFO] [stderr] at /rustc/5a3d3b91048a0adf280e7a4e589c1dda6443f172/library/std/src/panicking.rs:757:13 [INFO] [stderr] 14: 0x7fabc54ef3c6 - std::panicking::begin_panic_handler::{{closure}}::h540f1f43109c9ae2 [INFO] [stderr] at /rustc/5a3d3b91048a0adf280e7a4e589c1dda6443f172/library/std/src/panicking.rs:623:13 [INFO] [stderr] 15: 0x7fabc54ec426 - std::sys_common::backtrace::__rust_end_short_backtrace::h32246c56143d8eeb [INFO] [stderr] at /rustc/5a3d3b91048a0adf280e7a4e589c1dda6443f172/library/std/src/sys_common/backtrace.rs:170:18 [INFO] [stderr] 16: 0x7fabc54ef152 - rust_begin_unwind [INFO] [stderr] at /rustc/5a3d3b91048a0adf280e7a4e589c1dda6443f172/library/std/src/panicking.rs:619:5 [INFO] [stderr] 17: 0x7fabc554e505 - core::panicking::panic_fmt::h069b828d25155aac [INFO] [stderr] at /rustc/5a3d3b91048a0adf280e7a4e589c1dda6443f172/library/core/src/panicking.rs:72:14 [INFO] [stderr] 18: 0x7fabc554e5a3 - core::panicking::panic::h3ad47f261da50cd7 [INFO] [stderr] at /rustc/5a3d3b91048a0adf280e7a4e589c1dda6443f172/library/core/src/panicking.rs:127:5 [INFO] [stderr] 19: 0x7fabc7c5f0c6 - ::encode_crate_root [INFO] [stderr] 20: 0x7fabc7bd6bc4 - rustc_metadata[e4098dc061e3aa70]::rmeta::encoder::encode_metadata_impl [INFO] [stderr] 21: 0x7fabc7bcd4c4 - ::run::<(), rustc_metadata[e4098dc061e3aa70]::rmeta::encoder::encode_metadata::{closure#0}> [INFO] [stderr] 22: 0x7fabc7bcd290 - rustc_data_structures[3027d962114108]::sync::parallel::disabled::join:: [INFO] [stderr] 23: 0x7fabc7bccf71 - rustc_metadata[e4098dc061e3aa70]::rmeta::encoder::encode_metadata [INFO] [stderr] 24: 0x7fabc7bcb5c6 - rustc_metadata[e4098dc061e3aa70]::fs::encode_and_write_metadata [INFO] [stderr] 25: 0x7fabc7bb7450 - rustc_interface[1756be6ca8724008]::passes::start_codegen [INFO] [stderr] 26: 0x7fabc7bb1a71 - ::enter::<::ongoing_codegen::{closure#0}, core[90d212346a370c68]::result::Result, rustc_span[99eb23e55edf5fe2]::ErrorGuaranteed>> [INFO] [stderr] 27: 0x7fabc7bb0c00 - ::enter::, rustc_span[99eb23e55edf5fe2]::ErrorGuaranteed>> [INFO] [stderr] 28: 0x7fabc7baa107 - rustc_span[99eb23e55edf5fe2]::set_source_map::, rustc_interface[1756be6ca8724008]::interface::run_compiler, rustc_driver_impl[507b66162c0f18a9]::run_compiler::{closure#1}>::{closure#0}::{closure#0}> [INFO] [stderr] 29: 0x7fabc7ba9524 - rustc_interface[1756be6ca8724008]::interface::run_compiler::, rustc_driver_impl[507b66162c0f18a9]::run_compiler::{closure#1}>::{closure#0} [INFO] [stderr] 30: 0x7fabc7ba84e5 - >::set::, rustc_driver_impl[507b66162c0f18a9]::run_compiler::{closure#1}>::{closure#0}, core[90d212346a370c68]::result::Result<(), rustc_span[99eb23e55edf5fe2]::ErrorGuaranteed>>::{closure#0}, core[90d212346a370c68]::result::Result<(), rustc_span[99eb23e55edf5fe2]::ErrorGuaranteed>> [INFO] [stderr] 31: 0x7fabc7ba7a3d - std[13ff54c881adf828]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl[507b66162c0f18a9]::run_compiler::{closure#1}>::{closure#0}, core[90d212346a370c68]::result::Result<(), rustc_span[99eb23e55edf5fe2]::ErrorGuaranteed>>::{closure#0}, core[90d212346a370c68]::result::Result<(), rustc_span[99eb23e55edf5fe2]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[90d212346a370c68]::result::Result<(), rustc_span[99eb23e55edf5fe2]::ErrorGuaranteed>> [INFO] [stderr] 32: 0x7fabc80d86b5 - <::spawn_unchecked_, rustc_driver_impl[507b66162c0f18a9]::run_compiler::{closure#1}>::{closure#0}, core[90d212346a370c68]::result::Result<(), rustc_span[99eb23e55edf5fe2]::ErrorGuaranteed>>::{closure#0}, core[90d212346a370c68]::result::Result<(), rustc_span[99eb23e55edf5fe2]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[90d212346a370c68]::result::Result<(), rustc_span[99eb23e55edf5fe2]::ErrorGuaranteed>>::{closure#1} as core[90d212346a370c68]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stderr] 33: 0x7fabc54fa075 - as core::ops::function::FnOnce>::call_once::h1a6a2d2ed8a57b6b [INFO] [stderr] at /rustc/5a3d3b91048a0adf280e7a4e589c1dda6443f172/library/alloc/src/boxed.rs:2007:9 [INFO] [stderr] 34: 0x7fabc54fa075 - as core::ops::function::FnOnce>::call_once::h03ce391955487b79 [INFO] [stderr] at /rustc/5a3d3b91048a0adf280e7a4e589c1dda6443f172/library/alloc/src/boxed.rs:2007:9 [INFO] [stderr] 35: 0x7fabc54fa075 - std::sys::unix::thread::Thread::new::thread_start::hbba6566cc475cfee [INFO] [stderr] at /rustc/5a3d3b91048a0adf280e7a4e589c1dda6443f172/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stderr] 36: 0x7fabc5228b43 - [INFO] [stderr] 37: 0x7fabc52b9bb4 - __clone [INFO] [stderr] 38: 0x0 - [INFO] [stderr] [INFO] [stderr] error: the compiler unexpectedly panicked. this is a bug. [INFO] [stderr] [INFO] [stderr] note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md [INFO] [stderr] [INFO] [stderr] warning: the ICE couldn't be written to `/opt/rustwide/workdir/rustc-ice-2023-09-18T20:46:44.894963822Z-13.txt`: Read-only file system (os error 30) [INFO] [stderr] [INFO] [stderr] note: rustc 1.74.0-nightly (5a3d3b910 2023-09-14) running on x86_64-unknown-linux-gnu [INFO] [stderr] [INFO] [stderr] note: compiler flags: --crate-type lib -C embed-bitcode=no -C debuginfo=2 [INFO] [stderr] [INFO] [stderr] note: some of the compiler flags provided by cargo are hidden [INFO] [stderr] [INFO] [stderr] query stack during panic: [INFO] [stderr] end of query stack [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `iterative_json_parser` (lib); 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "83cf34e4b531a4ecc1c26924208cd322b283324d9764aa36973f27dc87e70730", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83cf34e4b531a4ecc1c26924208cd322b283324d9764aa36973f27dc87e70730", kill_on_drop: false }` [INFO] [stdout] 83cf34e4b531a4ecc1c26924208cd322b283324d9764aa36973f27dc87e70730