[INFO] cloning repository https://github.com/javachaos/rustson [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/javachaos/rustson" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjavachaos%2Frustson", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjavachaos%2Frustson'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] beaefeb75ac2a5c8e95f3094bcc73f15d98829ae [INFO] checking javachaos/rustson against master#d49be02cf6d2e2a01264fcdef1e20c826710c0f5 for pr-133570-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjavachaos%2Frustson" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/javachaos/rustson on toolchain d49be02cf6d2e2a01264fcdef1e20c826710c0f5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d49be02cf6d2e2a01264fcdef1e20c826710c0f5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/javachaos/rustson [INFO] finished tweaking git repo https://github.com/javachaos/rustson [INFO] tweaked toml for git repo https://github.com/javachaos/rustson written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/javachaos/rustson 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" "+d49be02cf6d2e2a01264fcdef1e20c826710c0f5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+d49be02cf6d2e2a01264fcdef1e20c826710c0f5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d1ec6f7862aa927d128247184b0af2250070dbd2603cb746e012e6509fdd8618 [INFO] running `Command { std: "docker" "start" "-a" "d1ec6f7862aa927d128247184b0af2250070dbd2603cb746e012e6509fdd8618", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d1ec6f7862aa927d128247184b0af2250070dbd2603cb746e012e6509fdd8618", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1ec6f7862aa927d128247184b0af2250070dbd2603cb746e012e6509fdd8618", kill_on_drop: false }` [INFO] [stdout] d1ec6f7862aa927d128247184b0af2250070dbd2603cb746e012e6509fdd8618 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+d49be02cf6d2e2a01264fcdef1e20c826710c0f5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e23e27ed08b63abe343fb839d4ef4989585c69fa1f0a08484afe4431f1cf797 [INFO] running `Command { std: "docker" "start" "-a" "5e23e27ed08b63abe343fb839d4ef4989585c69fa1f0a08484afe4431f1cf797", kill_on_drop: false }` [INFO] [stderr] Checking rustson v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `BufRead` and `Read` [INFO] [stdout] --> src/main.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::{BufRead, Read}; [INFO] [stdout] | ^^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufRead` and `Read` [INFO] [stdout] --> src/main.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::{BufRead, Read}; [INFO] [stdout] | ^^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::BorrowMut` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::borrow::BorrowMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BuildHasher` [INFO] [stdout] --> src/main.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | use std::hash::{BuildHasher, Hasher}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::BorrowMut` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::borrow::BorrowMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BuildHasher` [INFO] [stdout] --> src/main.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | use std::hash::{BuildHasher, Hasher}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/main.rs:208:21 [INFO] [stdout] | [INFO] [stdout] 208 | let s = self.string(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/main.rs:212:21 [INFO] [stdout] | [INFO] [stdout] 212 | let v = self.value();//TODO impl value() [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Null`, `True`, `False`, `Number`, and `Array` are never constructed [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | enum JsonValue { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 22 | Null(i32), [INFO] [stdout] | ^^^^ [INFO] [stdout] 23 | True, [INFO] [stdout] | ^^^^ [INFO] [stdout] 24 | False, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 25 | Number(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | Array(Vec) //ordered list [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JsonValue` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from_int`, `from_float`, `from_bool`, `from_vec`, and `from_set` are never used [INFO] [stdout] --> src/main.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 44 | impl JsonValue { [INFO] [stdout] | -------------- associated functions in this implementation [INFO] [stdout] 45 | fn from_int(value: i32) -> JsonValue { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | fn from_float(value: f32) -> JsonValue { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | fn from_bool(value: bool) -> JsonValue { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | fn from_vec(value: Vec) -> JsonValue { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | fn from_set(value: HashSet<(String, JsonValue)>) -> JsonValue { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/main.rs:208:21 [INFO] [stdout] | [INFO] [stdout] 208 | let s = self.string(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/main.rs:212:21 [INFO] [stdout] | [INFO] [stdout] 212 | let v = self.value();//TODO impl value() [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `objects` is never read [INFO] [stdout] --> src/main.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 68 | struct JsonParser { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 69 | file: Rc, [INFO] [stdout] 70 | objects: JsonValue, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/token.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) enum Token {//sparse with none's for better hash performance (perfect hash) [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 8 | NONE0, T, COLON, DASH, TRUE, NONE1, N, NINE, COMMA, NULL, NONE2, F, EIGHT, PLUS, NONE3, FALSE, [INFO] [stdout] | ^ ^^^^ ^ ^^^^ ^^^^ ^^^^^ ^ ^^^^^ ^^^^ ^^^^^ [INFO] [stdout] 9 | RBRACE, SEVEN, DQUOTE, NONE4, NONE5, LBRACE, SIX, NONE6, NONE7, NONE8, U, FIVE, NONE9, NONE10, [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^ ^^^ ^^^^^ ^^^^^ ^^^^^ ^ ^^^^ ^^^^^ ^^^^^^ [INFO] [stdout] 10 | NONE11, R, FOUR, NONE12, NONE13, NONE14, E, THREE, NONE15, NONE16, NONE17, B, TWO, NONE18, [INFO] [stdout] | ^^^^^^ ^ ^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^ ^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^ ^^^ ^^^^^^ [INFO] [stdout] 11 | NONE19, NONE20, RBRAC, ONE, NONE21, NONE22, NONE23, BACKSLASH, ZERO, NONE24, NONE25, NONE26, [INFO] [stdout] | ^^^^^^ ^^^^^^ ^^^^^ ^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^ ^^^^ ^^^^^^ ^^^^^^ ^^^^^^ [INFO] [stdout] 12 | LBRAC, FWDSLASH, NONE27, NONE28, NONE29, UE, PER [INFO] [stdout] | ^^^^^ ^^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Null`, `True`, `False`, `Number`, and `Array` are never constructed [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | enum JsonValue { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 22 | Null(i32), [INFO] [stdout] | ^^^^ [INFO] [stdout] 23 | True, [INFO] [stdout] | ^^^^ [INFO] [stdout] 24 | False, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 25 | Number(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | Array(Vec) //ordered list [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JsonValue` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from_int`, `from_float`, `from_bool`, `from_vec`, and `from_set` are never used [INFO] [stdout] --> src/main.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 44 | impl JsonValue { [INFO] [stdout] | -------------- associated functions in this implementation [INFO] [stdout] 45 | fn from_int(value: i32) -> JsonValue { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | fn from_float(value: f32) -> JsonValue { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | fn from_bool(value: bool) -> JsonValue { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | fn from_vec(value: Vec) -> JsonValue { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | fn from_set(value: HashSet<(String, JsonValue)>) -> JsonValue { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `objects` is never read [INFO] [stdout] --> src/main.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 68 | struct JsonParser { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 69 | file: Rc, [INFO] [stdout] 70 | objects: JsonValue, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/token.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) enum Token {//sparse with none's for better hash performance (perfect hash) [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 8 | NONE0, T, COLON, DASH, TRUE, NONE1, N, NINE, COMMA, NULL, NONE2, F, EIGHT, PLUS, NONE3, FALSE, [INFO] [stdout] | ^ ^^^^ ^ ^^^^ ^^^^ ^^^^^ ^ ^^^^^ ^^^^ ^^^^^ [INFO] [stdout] 9 | RBRACE, SEVEN, DQUOTE, NONE4, NONE5, LBRACE, SIX, NONE6, NONE7, NONE8, U, FIVE, NONE9, NONE10, [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^ ^^^ ^^^^^ ^^^^^ ^^^^^ ^ ^^^^ ^^^^^ ^^^^^^ [INFO] [stdout] 10 | NONE11, R, FOUR, NONE12, NONE13, NONE14, E, THREE, NONE15, NONE16, NONE17, B, TWO, NONE18, [INFO] [stdout] | ^^^^^^ ^ ^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^ ^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^ ^^^ ^^^^^^ [INFO] [stdout] 11 | NONE19, NONE20, RBRAC, ONE, NONE21, NONE22, NONE23, BACKSLASH, ZERO, NONE24, NONE25, NONE26, [INFO] [stdout] | ^^^^^^ ^^^^^^ ^^^^^ ^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^ ^^^^ ^^^^^^ ^^^^^^ ^^^^^^ [INFO] [stdout] 12 | LBRAC, FWDSLASH, NONE27, NONE28, NONE29, UE, PER [INFO] [stdout] | ^^^^^ ^^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_digit`, `is_none`, `is_digit`, and `ordinal` are never used [INFO] [stdout] --> src/token.rs:62:19 [INFO] [stdout] | [INFO] [stdout] 43 | impl Token { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | pub(crate) fn get_digit(&self) -> char { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub(crate) fn is_none(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub(crate) fn is_digit(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | pub(crate) fn ordinal(&self) -> u8 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_digit`, `is_none`, `is_digit`, and `ordinal` are never used [INFO] [stdout] --> src/token.rs:62:19 [INFO] [stdout] | [INFO] [stdout] 43 | impl Token { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | pub(crate) fn get_digit(&self) -> char { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub(crate) fn is_none(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub(crate) fn is_digit(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | pub(crate) fn ordinal(&self) -> u8 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] running `Command { std: "docker" "inspect" "5e23e27ed08b63abe343fb839d4ef4989585c69fa1f0a08484afe4431f1cf797", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e23e27ed08b63abe343fb839d4ef4989585c69fa1f0a08484afe4431f1cf797", kill_on_drop: false }` [INFO] [stdout] 5e23e27ed08b63abe343fb839d4ef4989585c69fa1f0a08484afe4431f1cf797