[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] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/info/exclude' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhansihe%2Frust_iterative_json_parser/info/exclude': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhansihe%2Frust_iterative_json_parser: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 2) [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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhansihe%2Frust_iterative_json_parser: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 3) [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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhansihe%2Frust_iterative_json_parser: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 4) [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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhansihe%2Frust_iterative_json_parser: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 5) [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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhansihe%2Frust_iterative_json_parser: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 6) [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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhansihe%2Frust_iterative_json_parser: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 7) [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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhansihe%2Frust_iterative_json_parser: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 8) [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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhansihe%2Frust_iterative_json_parser: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 9) [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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhansihe%2Frust_iterative_json_parser: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 10) [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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhansihe%2Frust_iterative_json_parser: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 11) [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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhansihe%2Frust_iterative_json_parser: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 12) [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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhansihe%2Frust_iterative_json_parser: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 13) [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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhansihe%2Frust_iterative_json_parser: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 14) [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] checking hansihe/rust_iterative_json_parser against try#901e6d56697c79b2e80df6a487b2318ec6f57ee3 for pr-142287 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhansihe%2Frust_iterative_json_parser" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hansihe/rust_iterative_json_parser on toolchain 901e6d56697c79b2e80df6a487b2318ec6f57ee3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+901e6d56697c79b2e80df6a487b2318ec6f57ee3" "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-5-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" "+901e6d56697c79b2e80df6a487b2318ec6f57ee3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: unused manifest key: lib.src [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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+901e6d56697c79b2e80df6a487b2318ec6f57ee3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 308c1964aa3549d48e9005c091b3e69f9fe24d51ba9bd47531bc882c6de9ea56 [INFO] running `Command { std: "docker" "start" "-a" "308c1964aa3549d48e9005c091b3e69f9fe24d51ba9bd47531bc882c6de9ea56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "308c1964aa3549d48e9005c091b3e69f9fe24d51ba9bd47531bc882c6de9ea56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "308c1964aa3549d48e9005c091b3e69f9fe24d51ba9bd47531bc882c6de9ea56", kill_on_drop: false }` [INFO] [stdout] 308c1964aa3549d48e9005c091b3e69f9fe24d51ba9bd47531bc882c6de9ea56 [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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+901e6d56697c79b2e80df6a487b2318ec6f57ee3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1a097322f5b1c805c4db21a10fd6d8ad9f5adba468c665a5c8212659d29e87af [INFO] running `Command { std: "docker" "start" "-a" "1a097322f5b1c805c4db21a10fd6d8ad9f5adba468c665a5c8212659d29e87af", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: unused manifest key: lib.src [INFO] [stderr] Checking 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 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: 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] [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] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/sink/into_enum.rs:30:25 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new(source: &'a [u8]) -> EnumSink { [INFO] [stdout] | ^^ -------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new(source: &'a [u8]) -> EnumSink<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/sink/into_enum.rs:38:33 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new_bailing(source: &'a [u8]) -> EnumSink { [INFO] [stdout] | ^^ -------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new_bailing(source: &'a [u8]) -> EnumSink<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/sink/into_enum.rs:30:25 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new(source: &'a [u8]) -> EnumSink { [INFO] [stdout] | ^^ -------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new(source: &'a [u8]) -> EnumSink<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/sink/into_enum.rs:38:33 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new_bailing(source: &'a [u8]) -> EnumSink { [INFO] [stdout] | ^^ -------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new_bailing(source: &'a [u8]) -> EnumSink<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sink` [INFO] [stdout] --> tests/lib.rs:6:37 [INFO] [stdout] | [INFO] [stdout] 6 | use iterative_json_parser::{Source, Sink}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | let mut ss = SourceSink { [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/lib.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | let mut bailing_ss = SourceSink { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> tests/lib.rs:410:25 [INFO] [stdout] | [INFO] [stdout] 410 | let result = parse_to_enum(&mut buf); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] running `Command { std: "docker" "inspect" "1a097322f5b1c805c4db21a10fd6d8ad9f5adba468c665a5c8212659d29e87af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a097322f5b1c805c4db21a10fd6d8ad9f5adba468c665a5c8212659d29e87af", kill_on_drop: false }` [INFO] [stdout] 1a097322f5b1c805c4db21a10fd6d8ad9f5adba468c665a5c8212659d29e87af