[INFO] cloning repository https://github.com/korpiq/rust_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/korpiq/rust_json_parser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkorpiq%2Frust_json_parser", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkorpiq%2Frust_json_parser'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6feceb98d0d48d4fb6e547a25a6066d400053721 [INFO] testing korpiq/rust_json_parser against master#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759-retry [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkorpiq%2Frust_json_parser" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/korpiq/rust_json_parser [INFO] finished tweaking git repo https://github.com/korpiq/rust_json_parser [INFO] tweaked toml for git repo https://github.com/korpiq/rust_json_parser written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/korpiq/rust_json_parser on toolchain d98a5da813da67eb189387b8ccfb73cf481275d8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/korpiq/rust_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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded memchr v2.1.3 [INFO] [stderr] Downloaded cfg-if v0.1.6 [INFO] [stderr] Downloaded libc v0.2.48 [INFO] [stderr] Downloaded circular v0.2.0 [INFO] [stderr] Downloaded nom v4.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bcb3c13d40bd73208566af8284380de81b8e751379220e4eebf4304462e3b033 [INFO] running `Command { std: "docker" "start" "-a" "bcb3c13d40bd73208566af8284380de81b8e751379220e4eebf4304462e3b033", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bcb3c13d40bd73208566af8284380de81b8e751379220e4eebf4304462e3b033", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bcb3c13d40bd73208566af8284380de81b8e751379220e4eebf4304462e3b033", kill_on_drop: false }` [INFO] [stdout] bcb3c13d40bd73208566af8284380de81b8e751379220e4eebf4304462e3b033 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f7ed726e3b6381f3f4dfe175ff7cbe9b4ab5eaa2352ccf1215c7757f67e4ef65 [INFO] running `Command { std: "docker" "start" "-a" "f7ed726e3b6381f3f4dfe175ff7cbe9b4ab5eaa2352ccf1215c7757f67e4ef65", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.48 [INFO] [stderr] Compiling memchr v2.1.3 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling circular v0.2.0 [INFO] [stderr] Compiling nom v4.2.0 [INFO] [stderr] Compiling json_parser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `tag_s`: Please use `tag` instead [INFO] [stdout] --> src/json/parser.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / named!(parse_json_null<&[u8], JsonNode>, [INFO] [stdout] 19 | | do_parse!( [INFO] [stdout] 20 | | tag_s!("null") >> [INFO] [stdout] 21 | | (JsonNode::Null) [INFO] [stdout] 22 | | ) [INFO] [stdout] 23 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `do_parse` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `tag_s`: Please use `tag` instead [INFO] [stdout] --> src/json/parser.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / named!(parse_json_boolean<&[u8], JsonNode>, [INFO] [stdout] 26 | | do_parse!( [INFO] [stdout] 27 | | truth: alt!(tag_s!("true") | tag_s!("false")) >> [INFO] [stdout] 28 | | (JsonNode::Boolean(truth[0] == b't')) [INFO] [stdout] 29 | | ) [INFO] [stdout] 30 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `alt` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `tag_s`: Please use `tag` instead [INFO] [stdout] --> src/json/parser.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / named!(parse_json_boolean<&[u8], JsonNode>, [INFO] [stdout] 26 | | do_parse!( [INFO] [stdout] 27 | | truth: alt!(tag_s!("true") | tag_s!("false")) >> [INFO] [stdout] 28 | | (JsonNode::Boolean(truth[0] == b't')) [INFO] [stdout] 29 | | ) [INFO] [stdout] 30 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `alt` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `tag_s`: Please use `tag` instead [INFO] [stdout] --> src/json/parser.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | / named!(parse_json_escaped_string<&[u8], String>, [INFO] [stdout] 44 | | do_parse!( [INFO] [stdout] 45 | | tag_s!("\"") >> [INFO] [stdout] 46 | | result: many0!( [INFO] [stdout] ... | [INFO] [stdout] 55 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `do_parse` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `tag_s`: Please use `tag` instead [INFO] [stdout] --> src/json/parser.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | / named!(parse_json_escaped_string<&[u8], String>, [INFO] [stdout] 44 | | do_parse!( [INFO] [stdout] 45 | | tag_s!("\"") >> [INFO] [stdout] 46 | | result: many0!( [INFO] [stdout] ... | [INFO] [stdout] 55 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `do_parse` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `tag_s`: Please use `tag` instead [INFO] [stdout] --> src/json/parser.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | / named!(parse_json_escaped_ascii<&[u8], &[u8]>, [INFO] [stdout] 64 | | alt!( [INFO] [stdout] 65 | | is_not!("\\\"") [INFO] [stdout] 66 | | | value!("\\".as_bytes(), tag_s!("\\\\")) [INFO] [stdout] ... | [INFO] [stdout] 74 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `value` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `tag_s`: Please use `tag` instead [INFO] [stdout] --> src/json/parser.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | / named!(parse_json_escaped_ascii<&[u8], &[u8]>, [INFO] [stdout] 64 | | alt!( [INFO] [stdout] 65 | | is_not!("\\\"") [INFO] [stdout] 66 | | | value!("\\".as_bytes(), tag_s!("\\\\")) [INFO] [stdout] ... | [INFO] [stdout] 74 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `value` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `tag_s`: Please use `tag` instead [INFO] [stdout] --> src/json/parser.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | / named!(parse_json_escaped_ascii<&[u8], &[u8]>, [INFO] [stdout] 64 | | alt!( [INFO] [stdout] 65 | | is_not!("\\\"") [INFO] [stdout] 66 | | | value!("\\".as_bytes(), tag_s!("\\\\")) [INFO] [stdout] ... | [INFO] [stdout] 74 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `value` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `tag_s`: Please use `tag` instead [INFO] [stdout] --> src/json/parser.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | / named!(parse_json_escaped_ascii<&[u8], &[u8]>, [INFO] [stdout] 64 | | alt!( [INFO] [stdout] 65 | | is_not!("\\\"") [INFO] [stdout] 66 | | | value!("\\".as_bytes(), tag_s!("\\\\")) [INFO] [stdout] ... | [INFO] [stdout] 74 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `value` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `tag_s`: Please use `tag` instead [INFO] [stdout] --> src/json/parser.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | / named!(parse_json_escaped_ascii<&[u8], &[u8]>, [INFO] [stdout] 64 | | alt!( [INFO] [stdout] 65 | | is_not!("\\\"") [INFO] [stdout] 66 | | | value!("\\".as_bytes(), tag_s!("\\\\")) [INFO] [stdout] ... | [INFO] [stdout] 74 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `value` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `tag_s`: Please use `tag` instead [INFO] [stdout] --> src/json/parser.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | / named!(parse_json_escaped_ascii<&[u8], &[u8]>, [INFO] [stdout] 64 | | alt!( [INFO] [stdout] 65 | | is_not!("\\\"") [INFO] [stdout] 66 | | | value!("\\".as_bytes(), tag_s!("\\\\")) [INFO] [stdout] ... | [INFO] [stdout] 74 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `value` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `tag_s`: Please use `tag` instead [INFO] [stdout] --> src/json/parser.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | / named!(parse_json_escaped_ascii<&[u8], &[u8]>, [INFO] [stdout] 64 | | alt!( [INFO] [stdout] 65 | | is_not!("\\\"") [INFO] [stdout] 66 | | | value!("\\".as_bytes(), tag_s!("\\\\")) [INFO] [stdout] ... | [INFO] [stdout] 74 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `value` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `tag_s`: Please use `tag` instead [INFO] [stdout] --> src/json/parser.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | / named!(parse_json_unicode_escape<&[u8], Vec>, [INFO] [stdout] 77 | | do_parse!( [INFO] [stdout] 78 | | tag_s!("\\u") >> [INFO] [stdout] 79 | | result: map!( take!(4), codepoint_from_hex ) >> [INFO] [stdout] ... | [INFO] [stdout] 82 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `do_parse` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `tag_s`: Please use `tag` instead [INFO] [stdout] --> src/json/parser.rs:93:1 [INFO] [stdout] | [INFO] [stdout] 93 | / named!(parse_json_array<&[u8], JsonNode>, [INFO] [stdout] 94 | | do_parse!( [INFO] [stdout] 95 | | tag_s!("[") >> [INFO] [stdout] 96 | | content: opt!(separated_list_complete!(tag_s!(","), parse_json_element)) >> [INFO] [stdout] ... | [INFO] [stdout] 109 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `do_parse` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `tag_s`: Please use `tag` instead [INFO] [stdout] --> src/json/parser.rs:93:1 [INFO] [stdout] | [INFO] [stdout] 93 | / named!(parse_json_array<&[u8], JsonNode>, [INFO] [stdout] 94 | | do_parse!( [INFO] [stdout] 95 | | tag_s!("[") >> [INFO] [stdout] 96 | | content: opt!(separated_list_complete!(tag_s!(","), parse_json_element)) >> [INFO] [stdout] ... | [INFO] [stdout] 109 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `complete` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `tag_s`: Please use `tag` instead [INFO] [stdout] --> src/json/parser.rs:93:1 [INFO] [stdout] | [INFO] [stdout] 93 | / named!(parse_json_array<&[u8], JsonNode>, [INFO] [stdout] 94 | | do_parse!( [INFO] [stdout] 95 | | tag_s!("[") >> [INFO] [stdout] 96 | | content: opt!(separated_list_complete!(tag_s!(","), parse_json_element)) >> [INFO] [stdout] ... | [INFO] [stdout] 109 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `do_parse` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/json/parser.rs:100:35 [INFO] [stdout] | [INFO] [stdout] 100 | Some(elements) => ( [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 101 | | JsonNode::Array(elements) [INFO] [stdout] | | ____________________^_________________________^ [INFO] [stdout] | ||____________________| [INFO] [stdout] | | [INFO] [stdout] 102 | | ), [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 100 - Some(elements) => ( [INFO] [stdout] 101 - JsonNode::Array(elements) [INFO] [stdout] 100 + Some(elements) => JsonNode::Array(elements), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/json/parser.rs:103:25 [INFO] [stdout] | [INFO] [stdout] 103 | None => ( [INFO] [stdout] | __________________________^ [INFO] [stdout] 104 | | JsonNode::Array(Vec::::new()) [INFO] [stdout] | | ____________________^_______________________________________^ [INFO] [stdout] | ||____________________| [INFO] [stdout] | | [INFO] [stdout] 105 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 103 - None => ( [INFO] [stdout] 104 - JsonNode::Array(Vec::::new()) [INFO] [stdout] 103 + None => JsonNode::Array(Vec::::new()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `tag_s`: Please use `tag` instead [INFO] [stdout] --> src/json/parser.rs:111:1 [INFO] [stdout] | [INFO] [stdout] 111 | / named!(parse_json_object<&[u8], JsonNode>, [INFO] [stdout] 112 | | do_parse!( [INFO] [stdout] 113 | | tag_s!("{") >> [INFO] [stdout] 114 | | content: opt!(separated_list_complete!(tag_s!(","), parse_json_pair)) >> [INFO] [stdout] ... | [INFO] [stdout] 131 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `do_parse` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `tag_s`: Please use `tag` instead [INFO] [stdout] --> src/json/parser.rs:111:1 [INFO] [stdout] | [INFO] [stdout] 111 | / named!(parse_json_object<&[u8], JsonNode>, [INFO] [stdout] 112 | | do_parse!( [INFO] [stdout] 113 | | tag_s!("{") >> [INFO] [stdout] 114 | | content: opt!(separated_list_complete!(tag_s!(","), parse_json_pair)) >> [INFO] [stdout] ... | [INFO] [stdout] 131 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `complete` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `tag_s`: Please use `tag` instead [INFO] [stdout] --> src/json/parser.rs:111:1 [INFO] [stdout] | [INFO] [stdout] 111 | / named!(parse_json_object<&[u8], JsonNode>, [INFO] [stdout] 112 | | do_parse!( [INFO] [stdout] 113 | | tag_s!("{") >> [INFO] [stdout] 114 | | content: opt!(separated_list_complete!(tag_s!(","), parse_json_pair)) >> [INFO] [stdout] ... | [INFO] [stdout] 131 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `do_parse` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `tag_s`: Please use `tag` instead [INFO] [stdout] --> src/json/parser.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 133 | / named!(parse_json_pair<&[u8], (String, JsonNode)>, [INFO] [stdout] 134 | | do_parse!( [INFO] [stdout] 135 | | name: parse_json_escaped_string >> [INFO] [stdout] 136 | | tag_s!(":") >> [INFO] [stdout] ... | [INFO] [stdout] 140 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `do_parse` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_str` is never used [INFO] [stdout] --> src/json/mod.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl JsonNode { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 31 | pub fn from_str(json : &str) -> JsonNode { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.54s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "f7ed726e3b6381f3f4dfe175ff7cbe9b4ab5eaa2352ccf1215c7757f67e4ef65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7ed726e3b6381f3f4dfe175ff7cbe9b4ab5eaa2352ccf1215c7757f67e4ef65", kill_on_drop: false }` [INFO] [stdout] f7ed726e3b6381f3f4dfe175ff7cbe9b4ab5eaa2352ccf1215c7757f67e4ef65 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 06c726f6a542cb232e5aea67e92f3af3a24ee5287ce91464c6b08594a15c10b5 [INFO] running `Command { std: "docker" "start" "-a" "06c726f6a542cb232e5aea67e92f3af3a24ee5287ce91464c6b08594a15c10b5", kill_on_drop: false }` [INFO] [stderr] Compiling json_parser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `tag_s`: Please use `tag` instead [INFO] [stdout] --> src/json/parser.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / named!(parse_json_null<&[u8], JsonNode>, [INFO] [stdout] 19 | | do_parse!( [INFO] [stdout] 20 | | tag_s!("null") >> [INFO] [stdout] 21 | | (JsonNode::Null) [INFO] [stdout] 22 | | ) [INFO] [stdout] 23 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `do_parse` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `tag_s`: Please use `tag` instead [INFO] [stdout] --> src/json/parser.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / named!(parse_json_boolean<&[u8], JsonNode>, [INFO] [stdout] 26 | | do_parse!( [INFO] [stdout] 27 | | truth: alt!(tag_s!("true") | tag_s!("false")) >> [INFO] [stdout] 28 | | (JsonNode::Boolean(truth[0] == b't')) [INFO] [stdout] 29 | | ) [INFO] [stdout] 30 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `alt` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `tag_s`: Please use `tag` instead [INFO] [stdout] --> src/json/parser.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / named!(parse_json_boolean<&[u8], JsonNode>, [INFO] [stdout] 26 | | do_parse!( [INFO] [stdout] 27 | | truth: alt!(tag_s!("true") | tag_s!("false")) >> [INFO] [stdout] 28 | | (JsonNode::Boolean(truth[0] == b't')) [INFO] [stdout] 29 | | ) [INFO] [stdout] 30 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `alt` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `tag_s`: Please use `tag` instead [INFO] [stdout] --> src/json/parser.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | / named!(parse_json_escaped_string<&[u8], String>, [INFO] [stdout] 44 | | do_parse!( [INFO] [stdout] 45 | | tag_s!("\"") >> [INFO] [stdout] 46 | | result: many0!( [INFO] [stdout] ... | [INFO] [stdout] 55 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `do_parse` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `tag_s`: Please use `tag` instead [INFO] [stdout] --> src/json/parser.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | / named!(parse_json_escaped_string<&[u8], String>, [INFO] [stdout] 44 | | do_parse!( [INFO] [stdout] 45 | | tag_s!("\"") >> [INFO] [stdout] 46 | | result: many0!( [INFO] [stdout] ... | [INFO] [stdout] 55 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `do_parse` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `tag_s`: Please use `tag` instead [INFO] [stdout] --> src/json/parser.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | / named!(parse_json_escaped_ascii<&[u8], &[u8]>, [INFO] [stdout] 64 | | alt!( [INFO] [stdout] 65 | | is_not!("\\\"") [INFO] [stdout] 66 | | | value!("\\".as_bytes(), tag_s!("\\\\")) [INFO] [stdout] ... | [INFO] [stdout] 74 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `value` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `tag_s`: Please use `tag` instead [INFO] [stdout] --> src/json/parser.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | / named!(parse_json_escaped_ascii<&[u8], &[u8]>, [INFO] [stdout] 64 | | alt!( [INFO] [stdout] 65 | | is_not!("\\\"") [INFO] [stdout] 66 | | | value!("\\".as_bytes(), tag_s!("\\\\")) [INFO] [stdout] ... | [INFO] [stdout] 74 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `value` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `tag_s`: Please use `tag` instead [INFO] [stdout] --> src/json/parser.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | / named!(parse_json_escaped_ascii<&[u8], &[u8]>, [INFO] [stdout] 64 | | alt!( [INFO] [stdout] 65 | | is_not!("\\\"") [INFO] [stdout] 66 | | | value!("\\".as_bytes(), tag_s!("\\\\")) [INFO] [stdout] ... | [INFO] [stdout] 74 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `value` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `tag_s`: Please use `tag` instead [INFO] [stdout] --> src/json/parser.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | / named!(parse_json_escaped_ascii<&[u8], &[u8]>, [INFO] [stdout] 64 | | alt!( [INFO] [stdout] 65 | | is_not!("\\\"") [INFO] [stdout] 66 | | | value!("\\".as_bytes(), tag_s!("\\\\")) [INFO] [stdout] ... | [INFO] [stdout] 74 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `value` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `tag_s`: Please use `tag` instead [INFO] [stdout] --> src/json/parser.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | / named!(parse_json_escaped_ascii<&[u8], &[u8]>, [INFO] [stdout] 64 | | alt!( [INFO] [stdout] 65 | | is_not!("\\\"") [INFO] [stdout] 66 | | | value!("\\".as_bytes(), tag_s!("\\\\")) [INFO] [stdout] ... | [INFO] [stdout] 74 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `value` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `tag_s`: Please use `tag` instead [INFO] [stdout] --> src/json/parser.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | / named!(parse_json_escaped_ascii<&[u8], &[u8]>, [INFO] [stdout] 64 | | alt!( [INFO] [stdout] 65 | | is_not!("\\\"") [INFO] [stdout] 66 | | | value!("\\".as_bytes(), tag_s!("\\\\")) [INFO] [stdout] ... | [INFO] [stdout] 74 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `value` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `tag_s`: Please use `tag` instead [INFO] [stdout] --> src/json/parser.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | / named!(parse_json_escaped_ascii<&[u8], &[u8]>, [INFO] [stdout] 64 | | alt!( [INFO] [stdout] 65 | | is_not!("\\\"") [INFO] [stdout] 66 | | | value!("\\".as_bytes(), tag_s!("\\\\")) [INFO] [stdout] ... | [INFO] [stdout] 74 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `value` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `tag_s`: Please use `tag` instead [INFO] [stdout] --> src/json/parser.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | / named!(parse_json_unicode_escape<&[u8], Vec>, [INFO] [stdout] 77 | | do_parse!( [INFO] [stdout] 78 | | tag_s!("\\u") >> [INFO] [stdout] 79 | | result: map!( take!(4), codepoint_from_hex ) >> [INFO] [stdout] ... | [INFO] [stdout] 82 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `do_parse` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `tag_s`: Please use `tag` instead [INFO] [stdout] --> src/json/parser.rs:93:1 [INFO] [stdout] | [INFO] [stdout] 93 | / named!(parse_json_array<&[u8], JsonNode>, [INFO] [stdout] 94 | | do_parse!( [INFO] [stdout] 95 | | tag_s!("[") >> [INFO] [stdout] 96 | | content: opt!(separated_list_complete!(tag_s!(","), parse_json_element)) >> [INFO] [stdout] ... | [INFO] [stdout] 109 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `do_parse` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `tag_s`: Please use `tag` instead [INFO] [stdout] --> src/json/parser.rs:93:1 [INFO] [stdout] | [INFO] [stdout] 93 | / named!(parse_json_array<&[u8], JsonNode>, [INFO] [stdout] 94 | | do_parse!( [INFO] [stdout] 95 | | tag_s!("[") >> [INFO] [stdout] 96 | | content: opt!(separated_list_complete!(tag_s!(","), parse_json_element)) >> [INFO] [stdout] ... | [INFO] [stdout] 109 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `complete` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `tag_s`: Please use `tag` instead [INFO] [stdout] --> src/json/parser.rs:93:1 [INFO] [stdout] | [INFO] [stdout] 93 | / named!(parse_json_array<&[u8], JsonNode>, [INFO] [stdout] 94 | | do_parse!( [INFO] [stdout] 95 | | tag_s!("[") >> [INFO] [stdout] 96 | | content: opt!(separated_list_complete!(tag_s!(","), parse_json_element)) >> [INFO] [stdout] ... | [INFO] [stdout] 109 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `do_parse` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/json/parser.rs:100:35 [INFO] [stdout] | [INFO] [stdout] 100 | Some(elements) => ( [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 101 | | JsonNode::Array(elements) [INFO] [stdout] | | ____________________^_________________________^ [INFO] [stdout] | ||____________________| [INFO] [stdout] | | [INFO] [stdout] 102 | | ), [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 100 - Some(elements) => ( [INFO] [stdout] 101 - JsonNode::Array(elements) [INFO] [stdout] 100 + Some(elements) => JsonNode::Array(elements), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/json/parser.rs:103:25 [INFO] [stdout] | [INFO] [stdout] 103 | None => ( [INFO] [stdout] | __________________________^ [INFO] [stdout] 104 | | JsonNode::Array(Vec::::new()) [INFO] [stdout] | | ____________________^_______________________________________^ [INFO] [stdout] | ||____________________| [INFO] [stdout] | | [INFO] [stdout] 105 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 103 - None => ( [INFO] [stdout] 104 - JsonNode::Array(Vec::::new()) [INFO] [stdout] 103 + None => JsonNode::Array(Vec::::new()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `tag_s`: Please use `tag` instead [INFO] [stdout] --> src/json/parser.rs:111:1 [INFO] [stdout] | [INFO] [stdout] 111 | / named!(parse_json_object<&[u8], JsonNode>, [INFO] [stdout] 112 | | do_parse!( [INFO] [stdout] 113 | | tag_s!("{") >> [INFO] [stdout] 114 | | content: opt!(separated_list_complete!(tag_s!(","), parse_json_pair)) >> [INFO] [stdout] ... | [INFO] [stdout] 131 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `do_parse` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `tag_s`: Please use `tag` instead [INFO] [stdout] --> src/json/parser.rs:111:1 [INFO] [stdout] | [INFO] [stdout] 111 | / named!(parse_json_object<&[u8], JsonNode>, [INFO] [stdout] 112 | | do_parse!( [INFO] [stdout] 113 | | tag_s!("{") >> [INFO] [stdout] 114 | | content: opt!(separated_list_complete!(tag_s!(","), parse_json_pair)) >> [INFO] [stdout] ... | [INFO] [stdout] 131 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `complete` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `tag_s`: Please use `tag` instead [INFO] [stdout] --> src/json/parser.rs:111:1 [INFO] [stdout] | [INFO] [stdout] 111 | / named!(parse_json_object<&[u8], JsonNode>, [INFO] [stdout] 112 | | do_parse!( [INFO] [stdout] 113 | | tag_s!("{") >> [INFO] [stdout] 114 | | content: opt!(separated_list_complete!(tag_s!(","), parse_json_pair)) >> [INFO] [stdout] ... | [INFO] [stdout] 131 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `do_parse` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `tag_s`: Please use `tag` instead [INFO] [stdout] --> src/json/parser.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 133 | / named!(parse_json_pair<&[u8], (String, JsonNode)>, [INFO] [stdout] 134 | | do_parse!( [INFO] [stdout] 135 | | name: parse_json_escaped_string >> [INFO] [stdout] 136 | | tag_s!(":") >> [INFO] [stdout] ... | [INFO] [stdout] 140 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `do_parse` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.55s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "06c726f6a542cb232e5aea67e92f3af3a24ee5287ce91464c6b08594a15c10b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06c726f6a542cb232e5aea67e92f3af3a24ee5287ce91464c6b08594a15c10b5", kill_on_drop: false }` [INFO] [stdout] 06c726f6a542cb232e5aea67e92f3af3a24ee5287ce91464c6b08594a15c10b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3fe5c7706659eaa13b13a717757276d8408ebc815ecabcb6ba85be047d11f2a5 [INFO] running `Command { std: "docker" "start" "-a" "3fe5c7706659eaa13b13a717757276d8408ebc815ecabcb6ba85be047d11f2a5", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated macro `tag_s`: Please use `tag` instead [INFO] [stderr] --> src/json/parser.rs:18:1 [INFO] [stderr] | [INFO] [stderr] 18 | / named!(parse_json_null<&[u8], JsonNode>, [INFO] [stderr] 19 | | do_parse!( [INFO] [stderr] 20 | | tag_s!("null") >> [INFO] [stderr] 21 | | (JsonNode::Null) [INFO] [stderr] 22 | | ) [INFO] [stderr] 23 | | ); [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `do_parse` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `tag_s`: Please use `tag` instead [INFO] [stderr] --> src/json/parser.rs:25:1 [INFO] [stderr] | [INFO] [stderr] 25 | / named!(parse_json_boolean<&[u8], JsonNode>, [INFO] [stderr] 26 | | do_parse!( [INFO] [stderr] 27 | | truth: alt!(tag_s!("true") | tag_s!("false")) >> [INFO] [stderr] 28 | | (JsonNode::Boolean(truth[0] == b't')) [INFO] [stderr] 29 | | ) [INFO] [stderr] 30 | | ); [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `alt` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `tag_s`: Please use `tag` instead [INFO] [stderr] --> src/json/parser.rs:43:1 [INFO] [stderr] | [INFO] [stderr] 43 | / named!(parse_json_escaped_string<&[u8], String>, [INFO] [stderr] 44 | | do_parse!( [INFO] [stderr] 45 | | tag_s!("\"") >> [INFO] [stderr] 46 | | result: many0!( [INFO] [stderr] ... | [INFO] [stderr] 55 | | ); [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `do_parse` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `tag_s`: Please use `tag` instead [INFO] [stderr] --> src/json/parser.rs:63:1 [INFO] [stderr] | [INFO] [stderr] 63 | / named!(parse_json_escaped_ascii<&[u8], &[u8]>, [INFO] [stderr] 64 | | alt!( [INFO] [stderr] 65 | | is_not!("\\\"") [INFO] [stderr] 66 | | | value!("\\".as_bytes(), tag_s!("\\\\")) [INFO] [stderr] ... | [INFO] [stderr] 74 | | ); [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `value` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `tag_s`: Please use `tag` instead [INFO] [stderr] --> src/json/parser.rs:76:1 [INFO] [stderr] | [INFO] [stderr] 76 | / named!(parse_json_unicode_escape<&[u8], Vec>, [INFO] [stderr] 77 | | do_parse!( [INFO] [stderr] 78 | | tag_s!("\\u") >> [INFO] [stderr] 79 | | result: map!( take!(4), codepoint_from_hex ) >> [INFO] [stderr] ... | [INFO] [stderr] 82 | | ); [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `do_parse` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `tag_s`: Please use `tag` instead [INFO] [stderr] --> src/json/parser.rs:93:1 [INFO] [stderr] | [INFO] [stderr] 93 | / named!(parse_json_array<&[u8], JsonNode>, [INFO] [stderr] 94 | | do_parse!( [INFO] [stderr] 95 | | tag_s!("[") >> [INFO] [stderr] 96 | | content: opt!(separated_list_complete!(tag_s!(","), parse_json_element)) >> [INFO] [stderr] ... | [INFO] [stderr] 109 | | ); [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `do_parse` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `tag_s`: Please use `tag` instead [INFO] [stderr] --> src/json/parser.rs:93:1 [INFO] [stderr] | [INFO] [stderr] 93 | / named!(parse_json_array<&[u8], JsonNode>, [INFO] [stderr] 94 | | do_parse!( [INFO] [stderr] 95 | | tag_s!("[") >> [INFO] [stderr] 96 | | content: opt!(separated_list_complete!(tag_s!(","), parse_json_element)) >> [INFO] [stderr] ... | [INFO] [stderr] 109 | | ); [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `complete` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around match arm expression [INFO] [stderr] --> src/json/parser.rs:100:35 [INFO] [stderr] | [INFO] [stderr] 100 | Some(elements) => ( [INFO] [stderr] | ____________________________________^ [INFO] [stderr] 101 | | JsonNode::Array(elements) [INFO] [stderr] | | ____________________^_________________________^ [INFO] [stderr] | ||____________________| [INFO] [stderr] | | [INFO] [stderr] 102 | | ), [INFO] [stderr] | |_________________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 100 - Some(elements) => ( [INFO] [stderr] 101 - JsonNode::Array(elements) [INFO] [stderr] 100 + Some(elements) => JsonNode::Array(elements), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around match arm expression [INFO] [stderr] --> src/json/parser.rs:103:25 [INFO] [stderr] | [INFO] [stderr] 103 | None => ( [INFO] [stderr] | __________________________^ [INFO] [stderr] 104 | | JsonNode::Array(Vec::::new()) [INFO] [stderr] | | ____________________^_______________________________________^ [INFO] [stderr] | ||____________________| [INFO] [stderr] | | [INFO] [stderr] 105 | | ) [INFO] [stderr] | |_________________^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 103 - None => ( [INFO] [stderr] 104 - JsonNode::Array(Vec::::new()) [INFO] [stderr] 103 + None => JsonNode::Array(Vec::::new()) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `tag_s`: Please use `tag` instead [INFO] [stderr] --> src/json/parser.rs:111:1 [INFO] [stderr] | [INFO] [stderr] 111 | / named!(parse_json_object<&[u8], JsonNode>, [INFO] [stderr] 112 | | do_parse!( [INFO] [stderr] 113 | | tag_s!("{") >> [INFO] [stderr] 114 | | content: opt!(separated_list_complete!(tag_s!(","), parse_json_pair)) >> [INFO] [stderr] ... | [INFO] [stderr] 131 | | ); [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `do_parse` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `tag_s`: Please use `tag` instead [INFO] [stderr] --> src/json/parser.rs:111:1 [INFO] [stderr] | [INFO] [stderr] 111 | / named!(parse_json_object<&[u8], JsonNode>, [INFO] [stderr] 112 | | do_parse!( [INFO] [stderr] 113 | | tag_s!("{") >> [INFO] [stderr] 114 | | content: opt!(separated_list_complete!(tag_s!(","), parse_json_pair)) >> [INFO] [stderr] ... | [INFO] [stderr] 131 | | ); [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `complete` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `tag_s`: Please use `tag` instead [INFO] [stderr] --> src/json/parser.rs:133:1 [INFO] [stderr] | [INFO] [stderr] 133 | / named!(parse_json_pair<&[u8], (String, JsonNode)>, [INFO] [stderr] 134 | | do_parse!( [INFO] [stderr] 135 | | name: parse_json_escaped_string >> [INFO] [stderr] 136 | | tag_s!(":") >> [INFO] [stderr] ... | [INFO] [stderr] 140 | | ); [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `do_parse` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `json_parser` (bin "json_parser" test) generated 22 warnings (10 duplicates) (run `cargo fix --bin "json_parser" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/json_parser-d45587f040a9263f) [INFO] [stdout] [INFO] [stdout] running 16 tests [INFO] [stdout] test json::parser::tests::test_boolean_ok ... ok [INFO] [stdout] test json::parser::tests::test_empty_list_ok ... ok [INFO] [stdout] test json::parser::tests::test_empty_string_ok ... ok [INFO] [stdout] test json::parser::tests::test_empty_object_ok ... ok [INFO] [stdout] test json::parser::tests::test_escaped_strings_ok ... ok [INFO] [stdout] test json::parser::tests::test_null_ok ... ok [INFO] [stdout] test json::parser::tests::test_number_ok ... ok [INFO] [stdout] test json::parser::tests::test_lists_within_lists_ok ... ok [INFO] [stdout] test json::parser::tests::test_output_format_ok ... ok [INFO] [stdout] test json::parser::tests::test_object_ok ... ok [INFO] [stdout] test json::parser::tests::test_strings_ok ... ok [INFO] [stdout] test json::parser::tests::test_bad_syntax_input_fails - should panic ... ok [INFO] [stdout] test json::parser::tests::test_empty_input_fails - should panic ... ok [INFO] [stdout] test json::parser::tests::test_list_starting_with_comma_fails - should panic ... ok [INFO] [stdout] test json::parser::tests::test_list_with_extra_comma_fails - should panic ... ok [INFO] [stdout] test json::parser::tests::test_list_with_a_comma_only_fails - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 16 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3fe5c7706659eaa13b13a717757276d8408ebc815ecabcb6ba85be047d11f2a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fe5c7706659eaa13b13a717757276d8408ebc815ecabcb6ba85be047d11f2a5", kill_on_drop: false }` [INFO] [stdout] 3fe5c7706659eaa13b13a717757276d8408ebc815ecabcb6ba85be047d11f2a5