[INFO] cloning repository https://github.com/tqma113/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/tqma113/json_parser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftqma113%2Fjson_parser", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftqma113%2Fjson_parser'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7c6fab0d27c40fd2a068247eb6464063baa5a7f6 [INFO] testing tqma113/json_parser against beta-2025-01-12 for beta-1.85-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftqma113%2Fjson_parser" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tqma113/json_parser on toolchain beta-2025-01-12 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-01-12" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tqma113/json_parser [INFO] finished tweaking git repo https://github.com/tqma113/json_parser [INFO] tweaked toml for git repo https://github.com/tqma113/json_parser written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/tqma113/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" "+beta-2025-01-12" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 503e8bde7ddaf0ea716596b9c403497859f2189396d031c1c0503eddb3b18a5f [INFO] running `Command { std: "docker" "start" "-a" "503e8bde7ddaf0ea716596b9c403497859f2189396d031c1c0503eddb3b18a5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "503e8bde7ddaf0ea716596b9c403497859f2189396d031c1c0503eddb3b18a5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "503e8bde7ddaf0ea716596b9c403497859f2189396d031c1c0503eddb3b18a5f", kill_on_drop: false }` [INFO] [stdout] 503e8bde7ddaf0ea716596b9c403497859f2189396d031c1c0503eddb3b18a5f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ac952f7ea6915d799257adc54d2eabe7f5ba20b8740f27f797d1a1c3704df097 [INFO] running `Command { std: "docker" "start" "-a" "ac952f7ea6915d799257adc54d2eabe7f5ba20b8740f27f797d1a1c3704df097", kill_on_drop: false }` [INFO] [stderr] Compiling json_parser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/json/de.rs:416:21 [INFO] [stdout] | [INFO] [stdout] 416 | break match self.match_digit() { [INFO] [stdout] | ______________________^ - [INFO] [stdout] | | ___________________________| [INFO] [stdout] 417 | || Ok(c) => { [INFO] [stdout] 418 | || match c.to_digit(10) { [INFO] [stdout] 419 | || Some(n) => { [INFO] [stdout] ... || [INFO] [stdout] 431 | || } [INFO] [stdout] | || ^ [INFO] [stdout] | ||_____________________| [INFO] [stdout] | |_____________________unreachable expression [INFO] [stdout] | any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/json/de.rs:144:29 [INFO] [stdout] | [INFO] [stdout] 144 | Err(message) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/json/de.rs:207:29 [INFO] [stdout] | [INFO] [stdout] 207 | Err(message) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code` [INFO] [stdout] --> src/json/de.rs:214:28 [INFO] [stdout] | [INFO] [stdout] 214 | Ok(code) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/json/de.rs:232:17 [INFO] [stdout] | [INFO] [stdout] 232 | Err(message) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/json/de.rs:305:29 [INFO] [stdout] | [INFO] [stdout] 305 | Err(message) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/json/de.rs:327:18 [INFO] [stdout] | [INFO] [stdout] 327 | Some(c) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/json/de.rs:336:29 [INFO] [stdout] | [INFO] [stdout] 336 | Err(message) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/json/de.rs:352:18 [INFO] [stdout] | [INFO] [stdout] 352 | Some(c) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/json/de.rs:373:37 [INFO] [stdout] | [INFO] [stdout] 373 | ... Err(message) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/json/de.rs:410:18 [INFO] [stdout] | [INFO] [stdout] 410 | Some(c) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/json/de.rs:412:21 [INFO] [stdout] | [INFO] [stdout] 412 | let mut count: u16 = 0; [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: unused variable: `c` [INFO] [stdout] --> src/json/de.rs:442:16 [INFO] [stdout] | [INFO] [stdout] 442 | Ok(c) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Element` is never constructed [INFO] [stdout] --> src/json/element.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Element { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Null`, `Boolean`, `Number`, `String`, `Array`, and `Object` are never constructed [INFO] [stdout] --> src/json/value/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Value { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 11 | Null, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | Boolean(bool), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 13 | Number(Number), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 14 | String(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 15 | Array(Vec), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 16 | Object(HashMap), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/json/value/mod.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Value { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 20 | pub fn index_into(&self, i: I) -> Option<&Value> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn is_null(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn as_boolean(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn is_boolean(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn as_number(&self) -> Option<&Number> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn is_number(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn as_str(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn is_string(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn as_array(&self) -> Option<&Vec> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn is_array(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn as_object(&self) -> Option<&HashMap> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn is_object(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `num` is never read [INFO] [stdout] --> src/json/value/number.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Number { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 2 | pub num: Num [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `PosInt`, `NegInt`, and `Float` are never constructed [INFO] [stdout] --> src/json/value/number.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Num { [INFO] [stdout] | --- variants in this enum [INFO] [stdout] 6 | PosInt(u64), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 7 | NegInt(i64), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | Float(f64), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `De` is never constructed [INFO] [stdout] --> src/json/de.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct De<'a> { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/json/de.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl De<'_> { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 14 | pub fn new(str: &String) -> De { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn deserialization(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn next(&mut self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn ignore_space(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn match_value(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | pub fn match_object(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn match_members(&mut self) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | pub fn match_member(&mut self) -> Result<(String, Value), Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 262 | pub fn match_array(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 293 | pub fn match_elements(&mut self) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 317 | pub fn match_element(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 325 | pub fn match_string(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 350 | pub fn match_number(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 408 | pub fn match_integer(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 440 | pub fn match_true(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 470 | pub fn match_letter(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 485 | pub fn match_digit(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 500 | pub fn match_spec_char(&mut self, ic: char) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/json/de.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | &self.next(); [INFO] [stdout] | ^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 22 | let _ = &self.next(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] running `Command { std: "docker" "inspect" "ac952f7ea6915d799257adc54d2eabe7f5ba20b8740f27f797d1a1c3704df097", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac952f7ea6915d799257adc54d2eabe7f5ba20b8740f27f797d1a1c3704df097", kill_on_drop: false }` [INFO] [stdout] ac952f7ea6915d799257adc54d2eabe7f5ba20b8740f27f797d1a1c3704df097 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 34507004c13c4fea5c02480ac84ba531a8cdc4e6c7c6cc229471ff8c19e8c892 [INFO] running `Command { std: "docker" "start" "-a" "34507004c13c4fea5c02480ac84ba531a8cdc4e6c7c6cc229471ff8c19e8c892", kill_on_drop: false }` [INFO] [stderr] Compiling json_parser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/json/de.rs:416:21 [INFO] [stdout] | [INFO] [stdout] 416 | break match self.match_digit() { [INFO] [stdout] | ______________________^ - [INFO] [stdout] | | ___________________________| [INFO] [stdout] 417 | || Ok(c) => { [INFO] [stdout] 418 | || match c.to_digit(10) { [INFO] [stdout] 419 | || Some(n) => { [INFO] [stdout] ... || [INFO] [stdout] 431 | || } [INFO] [stdout] | || ^ [INFO] [stdout] | ||_____________________| [INFO] [stdout] | |_____________________unreachable expression [INFO] [stdout] | any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/json/de.rs:144:29 [INFO] [stdout] | [INFO] [stdout] 144 | Err(message) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/json/de.rs:207:29 [INFO] [stdout] | [INFO] [stdout] 207 | Err(message) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code` [INFO] [stdout] --> src/json/de.rs:214:28 [INFO] [stdout] | [INFO] [stdout] 214 | Ok(code) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/json/de.rs:232:17 [INFO] [stdout] | [INFO] [stdout] 232 | Err(message) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/json/de.rs:305:29 [INFO] [stdout] | [INFO] [stdout] 305 | Err(message) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/json/de.rs:327:18 [INFO] [stdout] | [INFO] [stdout] 327 | Some(c) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/json/de.rs:336:29 [INFO] [stdout] | [INFO] [stdout] 336 | Err(message) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/json/de.rs:352:18 [INFO] [stdout] | [INFO] [stdout] 352 | Some(c) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/json/de.rs:373:37 [INFO] [stdout] | [INFO] [stdout] 373 | ... Err(message) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/json/de.rs:410:18 [INFO] [stdout] | [INFO] [stdout] 410 | Some(c) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/json/de.rs:412:21 [INFO] [stdout] | [INFO] [stdout] 412 | let mut count: u16 = 0; [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: unused variable: `c` [INFO] [stdout] --> src/json/de.rs:442:16 [INFO] [stdout] | [INFO] [stdout] 442 | Ok(c) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Element` is never constructed [INFO] [stdout] --> src/json/element.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Element { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Null`, `Boolean`, `Number`, `String`, `Array`, and `Object` are never constructed [INFO] [stdout] --> src/json/value/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Value { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 11 | Null, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | Boolean(bool), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 13 | Number(Number), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 14 | String(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 15 | Array(Vec), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 16 | Object(HashMap), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/json/value/mod.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Value { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 20 | pub fn index_into(&self, i: I) -> Option<&Value> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn is_null(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn as_boolean(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn is_boolean(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn as_number(&self) -> Option<&Number> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn is_number(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn as_str(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn is_string(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn as_array(&self) -> Option<&Vec> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn is_array(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn as_object(&self) -> Option<&HashMap> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn is_object(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `num` is never read [INFO] [stdout] --> src/json/value/number.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Number { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 2 | pub num: Num [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `PosInt`, `NegInt`, and `Float` are never constructed [INFO] [stdout] --> src/json/value/number.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Num { [INFO] [stdout] | --- variants in this enum [INFO] [stdout] 6 | PosInt(u64), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 7 | NegInt(i64), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | Float(f64), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `De` is never constructed [INFO] [stdout] --> src/json/de.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct De<'a> { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/json/de.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl De<'_> { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 14 | pub fn new(str: &String) -> De { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn deserialization(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn next(&mut self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn ignore_space(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn match_value(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | pub fn match_object(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn match_members(&mut self) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | pub fn match_member(&mut self) -> Result<(String, Value), Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 262 | pub fn match_array(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 293 | pub fn match_elements(&mut self) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 317 | pub fn match_element(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 325 | pub fn match_string(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 350 | pub fn match_number(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 408 | pub fn match_integer(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 440 | pub fn match_true(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 470 | pub fn match_letter(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 485 | pub fn match_digit(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 500 | pub fn match_spec_char(&mut self, ic: char) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/json/de.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | &self.next(); [INFO] [stdout] | ^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 22 | let _ = &self.next(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: LC_ALL="C" PATH="/opt/rustwide/rustup-home/toolchains/beta-2025-01-12-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin:/opt/rustwide/cargo-home/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" VSLANG="1033" "cc" "-m64" "/tmp/rustcmuNqke/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/rustup-home/toolchains/beta-2025-01-12-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-881a28050740af2c.rlib,libgetopts-1ec82257904e6c1a.rlib,libunicode_width-4f5c184aada24a03.rlib,librustc_std_workspace_std-75e27242e8cac7c5.rlib,libstd-2e6eca6bf1681754.rlib,libpanic_unwind-6419b8734ab2f0cb.rlib,libobject-784ada497c5d935e.rlib,libmemchr-9267ffe866ca370f.rlib,libaddr2line-36f3ec5f8f15f213.rlib,libgimli-a0a71c3c5fe00164.rlib,librustc_demangle-95f237535246c825.rlib,libstd_detect-e0bd23c2b0917c59.rlib,libhashbrown-22a7802a8abbef9e.rlib,librustc_std_workspace_alloc-eb0228d54dd99343.rlib,libminiz_oxide-e6c6f516ce70276d.rlib,libadler-af73ed2b2e212982.rlib,libunwind-0000b4ce778574a2.rlib,libcfg_if-1a94dbdc43bc518f.rlib,liblibc-b957950176a614bc.rlib,liballoc-2b137d666ae9b5cb.rlib,librustc_std_workspace_core-4cf833632aafa84c.rlib,libcore-65c2c6d2d6ae570b.rlib,libcompiler_builtins-678c764df5f831e4.rlib}" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2025-01-12-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/json_parser-08fe079d4749d668" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: final link failed: No space left on device [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `json_parser` (bin "json_parser" test) due to 1 previous error; 21 warnings emitted [INFO] running `Command { std: "docker" "inspect" "34507004c13c4fea5c02480ac84ba531a8cdc4e6c7c6cc229471ff8c19e8c892", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34507004c13c4fea5c02480ac84ba531a8cdc4e6c7c6cc229471ff8c19e8c892", kill_on_drop: false }` [INFO] [stdout] 34507004c13c4fea5c02480ac84ba531a8cdc4e6c7c6cc229471ff8c19e8c892