[INFO] cloning repository https://github.com/TheToolbox/json-toy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TheToolbox/json-toy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheToolbox%2Fjson-toy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheToolbox%2Fjson-toy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 54dfa3ac5a5d0ac2c0ae4aad689b190e9ad4256c [INFO] building TheToolbox/json-toy against try#9b5e8b16bd1c4acf4cf8e6880368314cf021a987+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheToolbox%2Fjson-toy" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TheToolbox/json-toy on toolchain 9b5e8b16bd1c4acf4cf8e6880368314cf021a987 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/TheToolbox/json-toy [INFO] finished tweaking git repo https://github.com/TheToolbox/json-toy [INFO] tweaked toml for git repo https://github.com/TheToolbox/json-toy written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/TheToolbox/json-toy 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" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7eb5e2e663bb59fb3ee53d2d70892719e511af418fe6688ec28dedd31992a8dc [INFO] running `Command { std: "docker" "start" "-a" "7eb5e2e663bb59fb3ee53d2d70892719e511af418fe6688ec28dedd31992a8dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7eb5e2e663bb59fb3ee53d2d70892719e511af418fe6688ec28dedd31992a8dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7eb5e2e663bb59fb3ee53d2d70892719e511af418fe6688ec28dedd31992a8dc", kill_on_drop: false }` [INFO] [stdout] 7eb5e2e663bb59fb3ee53d2d70892719e511af418fe6688ec28dedd31992a8dc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail-expr-drop-order" "-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" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 318460752ff3342eddc2762fc485e542cd34c9f10ba19085b692d02d1d1952e6 [INFO] running `Command { std: "docker" "start" "-a" "318460752ff3342eddc2762fc485e542cd34c9f10ba19085b692d02d1d1952e6", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling json-toy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition: `TODO` [INFO] [stdout] --> main.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | macro_rules! TODO { () => (unreachable!()) } [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> main.rs:89:25 [INFO] [stdout] | [INFO] [stdout] 89 | ///Possible that this will unwrap to None, needs evaluation [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 90 | / match key_stack.pop().unwrap() { [INFO] [stdout] 91 | | Some(k) => {o.insert(k,$item); key_stack.push(None); state = ExpectingComma; }, [INFO] [stdout] 92 | | None => { [INFO] [stdout] 93 | | match $item { [INFO] [stdout] ... | [INFO] [stdout] 97 | | }, [INFO] [stdout] 98 | | } [INFO] [stdout] | |_________________________- rustdoc does not generate documentation for expressions [INFO] [stdout] ... [INFO] [stdout] 115 | '}' | ']' => PopObject!(), [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = note: this warning originates in the macro `CompleteItem` which comes from the expansion of the macro `PopObject` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> main.rs:73:76 [INFO] [stdout] | [INFO] [stdout] 73 | macro_rules! ParsingErr { ($message:expr) => { return Err($message); } } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 115 | '}' | ']' => PopObject!(), [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `ParsingErr` which comes from the expansion of the macro `PopObject` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> main.rs:73:76 [INFO] [stdout] | [INFO] [stdout] 73 | macro_rules! ParsingErr { ($message:expr) => { return Err($message); } } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 115 | '}' | ']' => PopObject!(), [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `ParsingErr` which comes from the expansion of the macro `PopObject` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> main.rs:73:76 [INFO] [stdout] | [INFO] [stdout] 73 | macro_rules! ParsingErr { ($message:expr) => { return Err($message); } } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 116 | _ => ParsingErr!("Unexpected character encountered"), [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `ParsingErr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> main.rs:89:25 [INFO] [stdout] | [INFO] [stdout] 89 | ... ///Possible that this will unwrap to None, needs evaluation [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 90 | / ... match key_stack.pop().unwrap() { [INFO] [stdout] 91 | | ... Some(k) => {o.insert(k,$item); key_stack.push(None); state = ExpectingComma; }, [INFO] [stdout] 92 | | ... None => { [INFO] [stdout] 93 | | ... match $item { [INFO] [stdout] ... | [INFO] [stdout] 97 | | ... }, [INFO] [stdout] 98 | | ... } [INFO] [stdout] | |_______________- rustdoc does not generate documentation for expressions [INFO] [stdout] ... [INFO] [stdout] 120 | ... ExpectingTrueE => if c == 'e' { CompleteItem!(JSON::Boolean(true)); } else { ParsingErr!("Unexpected character. Expected an 'e'."); }, [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: this warning originates in the macro `CompleteItem` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> main.rs:73:76 [INFO] [stdout] | [INFO] [stdout] 73 | ... macro_rules! ParsingErr { ($message:expr) => { return Err($message); } } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 120 | ... ExpectingTrueE => if c == 'e' { CompleteItem!(JSON::Boolean(true)); } else { ParsingErr!("Unexpected character. Expected an... [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `ParsingErr` which comes from the expansion of the macro `CompleteItem` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> main.rs:89:25 [INFO] [stdout] | [INFO] [stdout] 89 | ... ///Possible that this will unwrap to None, needs evaluation [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 90 | / ... match key_stack.pop().unwrap() { [INFO] [stdout] 91 | | ... Some(k) => {o.insert(k,$item); key_stack.push(None); state = ExpectingComma; }, [INFO] [stdout] 92 | | ... None => { [INFO] [stdout] 93 | | ... match $item { [INFO] [stdout] ... | [INFO] [stdout] 97 | | ... }, [INFO] [stdout] 98 | | ... } [INFO] [stdout] | |_______________- rustdoc does not generate documentation for expressions [INFO] [stdout] ... [INFO] [stdout] 124 | ... ExpectingFalseE => if c == 'e' { CompleteItem!(JSON::Boolean(false)); } else { ParsingErr!("Unexpected character. Expected an 'e'."... [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: this warning originates in the macro `CompleteItem` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> main.rs:73:76 [INFO] [stdout] | [INFO] [stdout] 73 | ... macro_rules! ParsingErr { ($message:expr) => { return Err($message); } } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 124 | ... ExpectingFalseE => if c == 'e' { CompleteItem!(JSON::Boolean(false)); } else { ParsingErr!("Unexpected character. Expected ... [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `ParsingErr` which comes from the expansion of the macro `CompleteItem` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> main.rs:73:76 [INFO] [stdout] | [INFO] [stdout] 73 | ...turn Err($message); } } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 125 | ...= ExpectingItem, ' ' | '\n' | '\t' | '\r' => continue , _ => ParsingErr!("Expected Colon.") }, [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `ParsingErr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> main.rs:89:25 [INFO] [stdout] | [INFO] [stdout] 89 | ///Possible that this will unwrap to None, needs evaluation [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 90 | / match key_stack.pop().unwrap() { [INFO] [stdout] 91 | | Some(k) => {o.insert(k,$item); key_stack.push(None); state = ExpectingComma; }, [INFO] [stdout] 92 | | None => { [INFO] [stdout] 93 | | match $item { [INFO] [stdout] ... | [INFO] [stdout] 97 | | }, [INFO] [stdout] 98 | | } [INFO] [stdout] | |_________________________- rustdoc does not generate documentation for expressions [INFO] [stdout] ... [INFO] [stdout] 128 | '}' | ']' => PopObject!(), [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: this warning originates in the macro `CompleteItem` which comes from the expansion of the macro `PopObject` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> main.rs:73:76 [INFO] [stdout] | [INFO] [stdout] 73 | macro_rules! ParsingErr { ($message:expr) => { return Err($message); } } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 128 | '}' | ']' => PopObject!(), [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `ParsingErr` which comes from the expansion of the macro `PopObject` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> main.rs:73:76 [INFO] [stdout] | [INFO] [stdout] 73 | macro_rules! ParsingErr { ($message:expr) => { return Err($message); } } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 128 | '}' | ']' => PopObject!(), [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `ParsingErr` which comes from the expansion of the macro `PopObject` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> main.rs:73:76 [INFO] [stdout] | [INFO] [stdout] 73 | macro_rules! ParsingErr { ($message:expr) => { return Err($message); } } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 130 | _ => ParsingErr!("Expected a comma.") [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `ParsingErr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> main.rs:134:25 [INFO] [stdout] | [INFO] [stdout] 134 | ///invalid numbers can get past here still, needs to be fixed TODO [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 135 | '}' | ']' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); PopObject!(); }, [INFO] [stdout] | ---------------------------------------------------------------------------------------------------- rustdoc does not generate documentation for match arms [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> main.rs:89:25 [INFO] [stdout] | [INFO] [stdout] 89 | ///Possible that this will unwrap to None, needs evaluation [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 90 | / match key_stack.pop().unwrap() { [INFO] [stdout] 91 | | Some(k) => {o.insert(k,$item); key_stack.push(None); state = ExpectingComma; }, [INFO] [stdout] 92 | | None => { [INFO] [stdout] 93 | | match $item { [INFO] [stdout] ... | [INFO] [stdout] 97 | | }, [INFO] [stdout] 98 | | } [INFO] [stdout] | |_________________________- rustdoc does not generate documentation for expressions [INFO] [stdout] ... [INFO] [stdout] 135 | '}' | ']' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); PopObject!(); }, [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: this warning originates in the macro `CompleteItem` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> main.rs:73:76 [INFO] [stdout] | [INFO] [stdout] 73 | macro_rules! ParsingErr { ($message:expr) => { return Err($message); } } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 135 | '}' | ']' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); PopObject!(); }, [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `ParsingErr` which comes from the expansion of the macro `CompleteItem` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> main.rs:89:25 [INFO] [stdout] | [INFO] [stdout] 89 | ///Possible that this will unwrap to None, needs evaluation [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 90 | / match key_stack.pop().unwrap() { [INFO] [stdout] 91 | | Some(k) => {o.insert(k,$item); key_stack.push(None); state = ExpectingComma; }, [INFO] [stdout] 92 | | None => { [INFO] [stdout] 93 | | match $item { [INFO] [stdout] ... | [INFO] [stdout] 97 | | }, [INFO] [stdout] 98 | | } [INFO] [stdout] | |_________________________- rustdoc does not generate documentation for expressions [INFO] [stdout] ... [INFO] [stdout] 135 | '}' | ']' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); PopObject!(); }, [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: this warning originates in the macro `CompleteItem` which comes from the expansion of the macro `PopObject` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> main.rs:73:76 [INFO] [stdout] | [INFO] [stdout] 73 | macro_rules! ParsingErr { ($message:expr) => { return Err($message); } } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 135 | '}' | ']' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); PopObject!(); }, [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `ParsingErr` which comes from the expansion of the macro `PopObject` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> main.rs:73:76 [INFO] [stdout] | [INFO] [stdout] 73 | macro_rules! ParsingErr { ($message:expr) => { return Err($message); } } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 135 | '}' | ']' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); PopObject!(); }, [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `ParsingErr` which comes from the expansion of the macro `PopObject` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> main.rs:89:25 [INFO] [stdout] | [INFO] [stdout] 89 | ///Possible that this will unwrap to None, needs evaluation [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 90 | / match key_stack.pop().unwrap() { [INFO] [stdout] 91 | | Some(k) => {o.insert(k,$item); key_stack.push(None); state = ExpectingComma; }, [INFO] [stdout] 92 | | None => { [INFO] [stdout] 93 | | match $item { [INFO] [stdout] ... | [INFO] [stdout] 97 | | }, [INFO] [stdout] 98 | | } [INFO] [stdout] | |_________________________- rustdoc does not generate documentation for expressions [INFO] [stdout] ... [INFO] [stdout] 136 | ',' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); state = ExpectingItem; } [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: this warning originates in the macro `CompleteItem` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> main.rs:73:76 [INFO] [stdout] | [INFO] [stdout] 73 | macro_rules! ParsingErr { ($message:expr) => { return Err($message); } } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 136 | ',' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); state = ExpectingItem; } [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `ParsingErr` which comes from the expansion of the macro `CompleteItem` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> main.rs:89:25 [INFO] [stdout] | [INFO] [stdout] 89 | ///Possible that this will unwrap to None, needs evaluation [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 90 | / match key_stack.pop().unwrap() { [INFO] [stdout] 91 | | Some(k) => {o.insert(k,$item); key_stack.push(None); state = ExpectingComma; }, [INFO] [stdout] 92 | | None => { [INFO] [stdout] 93 | | match $item { [INFO] [stdout] ... | [INFO] [stdout] 97 | | }, [INFO] [stdout] 98 | | } [INFO] [stdout] | |_________________________- rustdoc does not generate documentation for expressions [INFO] [stdout] ... [INFO] [stdout] 137 | _ => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap()));} [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: this warning originates in the macro `CompleteItem` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> main.rs:73:76 [INFO] [stdout] | [INFO] [stdout] 73 | macro_rules! ParsingErr { ($message:expr) => { return Err($message); } } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 137 | _ => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap()));} [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `ParsingErr` which comes from the expansion of the macro `CompleteItem` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> main.rs:89:25 [INFO] [stdout] | [INFO] [stdout] 89 | ///Possible that this will unwrap to None, needs evaluation [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 90 | / match key_stack.pop().unwrap() { [INFO] [stdout] 91 | | Some(k) => {o.insert(k,$item); key_stack.push(None); state = ExpectingComma; }, [INFO] [stdout] 92 | | None => { [INFO] [stdout] 93 | | match $item { [INFO] [stdout] ... | [INFO] [stdout] 97 | | }, [INFO] [stdout] 98 | | } [INFO] [stdout] | |_________________________- rustdoc does not generate documentation for expressions [INFO] [stdout] ... [INFO] [stdout] 143 | '"' => { CompleteItem!(JSON::String(input[start..i].to_owned())) }, [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: this warning originates in the macro `CompleteItem` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> main.rs:73:76 [INFO] [stdout] | [INFO] [stdout] 73 | macro_rules! ParsingErr { ($message:expr) => { return Err($message); } } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 143 | '"' => { CompleteItem!(JSON::String(input[start..i].to_owned())) }, [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `ParsingErr` [INFO] [stdout] = note: this warning originates in the macro `ParsingErr` which comes from the expansion of the macro `CompleteItem` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> main.rs:73:76 [INFO] [stdout] | [INFO] [stdout] 73 | macro_rules! ParsingErr { ($message:expr) => { return Err($message); } } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 148 | _ => ParsingErr!("Encountered unexpected character after JSON content") [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `ParsingErr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> main.rs:73:76 [INFO] [stdout] | [INFO] [stdout] 73 | macro_rules! ParsingErr { ($message:expr) => { return Err($message); } } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 154 | ParsingErr!("Unexpected end of data") [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `ParsingErr` [INFO] [stdout] = note: this warning originates in the macro `ParsingErr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> main.rs:73:76 [INFO] [stdout] | [INFO] [stdout] 73 | macro_rules! ParsingErr { ($message:expr) => { return Err($message); } } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 160 | _ => ParsingErr!("Unexpected end of data.") [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `ParsingErr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> main.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 169 | ///Confirm that we can construct objects as expected [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 170 | let _z = JSON::Array(vec![JSON::Boolean(true)]); [INFO] [stdout] | ------------------------------------------------ rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> main.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 171 | ///Load up a few examples to test parsing [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 172 | / let examples = vec![ [INFO] [stdout] 173 | | ///Test parsing a single string [INFO] [stdout] 174 | | "\"strung\"", [INFO] [stdout] 175 | | ///Empty array [INFO] [stdout] ... | [INFO] [stdout] 195 | | \"clastic\": 34.3 [INFO] [stdout] 196 | | }"]; [INFO] [stdout] | |____- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> main.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 173 | ///Test parsing a single string [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 174 | "\"strung\"", [INFO] [stdout] | ------------ rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> main.rs:175:5 [INFO] [stdout] | [INFO] [stdout] 175 | ///Empty array [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 176 | "[]", [INFO] [stdout] | ---- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> main.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 177 | ///array of 1 string [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 178 | "[\"strang\"]", [INFO] [stdout] | -------------- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> main.rs:179:5 [INFO] [stdout] | [INFO] [stdout] 179 | ///Array w/ two strings [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 180 | "[\"strang\",\"strunk\"]", [INFO] [stdout] | ------------------------- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> main.rs:188:5 [INFO] [stdout] | [INFO] [stdout] 188 | ///A more complex test with an object, array, empty object, numbers, strings, bools, and whitespace galore [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 189 | / " [INFO] [stdout] 190 | | { [INFO] [stdout] 191 | | \"testy\": { [INFO] [stdout] ... | [INFO] [stdout] 195 | | \"clastic\": 34.3 [INFO] [stdout] 196 | | }"]; [INFO] [stdout] | |__- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> main.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 197 | /// [INFO] [stdout] | ^^^ [INFO] [stdout] 198 | //println!("{:?}", examples); [INFO] [stdout] 199 | / for e in &examples { [INFO] [stdout] 200 | | let _a = JSON::new(e.to_string()); [INFO] [stdout] 201 | | println!("{} \n\t\t\t\t\t=> {:?}", e, _a); [INFO] [stdout] 202 | | } [INFO] [stdout] | |_____- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> main.rs:206:5 [INFO] [stdout] | [INFO] [stdout] 206 | ///Run tests [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 207 | test(); [INFO] [stdout] | ------ rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `state` is never read [INFO] [stdout] --> main.rs:86:51 [INFO] [stdout] | [INFO] [stdout] 86 | None => { retval = Ok($item); state = ExpectingNothingElse; }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | '}' | ']' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); PopObject!(); }, [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = note: this warning originates in the macro `CompleteItem` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `state` is never read [INFO] [stdout] --> main.rs:87:74 [INFO] [stdout] | [INFO] [stdout] 87 | Some(&mut JSON::Array(ref mut a)) => {a.push($item); state = ExpectingComma; }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | '}' | ']' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); PopObject!(); }, [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `CompleteItem` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `state` is never read [INFO] [stdout] --> main.rs:91:82 [INFO] [stdout] | [INFO] [stdout] 91 | Some(k) => {o.insert(k,$item); key_stack.push(None); state = ExpectingComma; }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | '}' | ']' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); PopObject!(); }, [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `CompleteItem` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `state` is never read [INFO] [stdout] --> main.rs:94:83 [INFO] [stdout] | [INFO] [stdout] 94 | JSON::String(s) => { key_stack.push(Some(s)); state = ExpectingColon; }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | '}' | ']' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); PopObject!(); }, [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `CompleteItem` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `state` is never read [INFO] [stdout] --> main.rs:86:51 [INFO] [stdout] | [INFO] [stdout] 86 | None => { retval = Ok($item); state = ExpectingNothingElse; }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | ',' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); state = ExpectingItem; } [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `CompleteItem` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `state` is never read [INFO] [stdout] --> main.rs:87:74 [INFO] [stdout] | [INFO] [stdout] 87 | Some(&mut JSON::Array(ref mut a)) => {a.push($item); state = ExpectingComma; }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | ',' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); state = ExpectingItem; } [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `CompleteItem` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `state` is never read [INFO] [stdout] --> main.rs:91:82 [INFO] [stdout] | [INFO] [stdout] 91 | Some(k) => {o.insert(k,$item); key_stack.push(None); state = ExpectingComma; }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | ',' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); state = ExpectingItem; } [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `CompleteItem` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `state` is never read [INFO] [stdout] --> main.rs:94:83 [INFO] [stdout] | [INFO] [stdout] 94 | JSON::String(s) => { key_stack.push(Some(s)); state = ExpectingColon; }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | ',' => { CompleteItem!(JSON::Number(input[start..i].parse::().unwrap())); state = ExpectingItem; } [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `CompleteItem` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] thread 'rustc' panicked at compiler/rustc_mir_build/src/builder/scope.rs:1724:17: [INFO] [stdout] error: internal compiler error: compiler/rustc_mir_build/src/builder/scope.rs:1724:17: cannot unwind from goto -> bb896 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Box [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x7dba57981caa - ::fmt::h636462e57d5ef1e1 [INFO] [stderr] 1: 0x7dba58013cbc - core::fmt::write::h067060808ac50eb9 [INFO] [stderr] 2: 0x7dba58f28e11 - std::io::Write::write_fmt::h4674fa2ed7c0dfdd [INFO] [stderr] 3: 0x7dba57981b02 - std::sys::backtrace::BacktraceLock::print::h0c77148acfb0b5e9 [INFO] [stderr] 4: 0x7dba57983ffa - std::panicking::default_hook::{{closure}}::h30daa8e7c6ccb09d [INFO] [stderr] 5: 0x7dba57983e43 - std::panicking::default_hook::h25f21dc0f2064615 [INFO] [stderr] 6: 0x7dba56aeff28 - std[b36e883d67eb0403]::panicking::update_hook::>::{closure#0} [INFO] [stderr] 7: 0x7dba579847b8 - std::panicking::rust_panic_with_hook::hc98438687e833605 [INFO] [stderr] 8: 0x7dba56b2a341 - std[b36e883d67eb0403]::panicking::begin_panic::::{closure#0} [INFO] [stderr] 9: 0x7dba56b1f526 - std[b36e883d67eb0403]::sys::backtrace::__rust_end_short_backtrace::::{closure#0}, !> [INFO] [stderr] 10: 0x7dba56b1f50d - std[b36e883d67eb0403]::panicking::begin_panic:: [INFO] [stderr] 11: 0x7dba56b342a1 - ::emit_producing_guarantee [INFO] [stderr] 12: 0x7dba57084fdc - ::span_bug:: [INFO] [stderr] 13: 0x7dba5710a897 - rustc_middle[8ad6e8ce52578819]::util::bug::opt_span_bug_fmt::::{closure#0} [INFO] [stderr] 14: 0x7dba570f006a - rustc_middle[8ad6e8ce52578819]::ty::context::tls::with_opt::::{closure#0}, !>::{closure#0} [INFO] [stderr] 15: 0x7dba570efefb - rustc_middle[8ad6e8ce52578819]::ty::context::tls::with_context_opt::::{closure#0}, !>::{closure#0}, !> [INFO] [stderr] 16: 0x7dba55534437 - rustc_middle[8ad6e8ce52578819]::util::bug::span_bug_fmt:: [INFO] [stderr] 17: 0x7dba589d541b - ::build_unwind_tree [INFO] [stderr] 18: 0x7dba589cd7cd - rustc_mir_build[73684a27b88b946a]::builder::mir_build [INFO] [stderr] 19: 0x7dba58007714 - rustc_mir_transform[857cd804783fef4d]::mir_built [INFO] [stderr] 20: 0x7dba580076d7 - rustc_query_impl[1e55094a59e290f4]::plumbing::__rust_begin_short_backtrace::> [INFO] [stderr] 21: 0x7dba582953d1 - rustc_query_system[67781f9dc633c543]::query::plumbing::try_execute_query::, rustc_query_system[67781f9dc633c543]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[1e55094a59e290f4]::plumbing::QueryCtxt, false> [INFO] [stderr] 22: 0x7dba58294f8d - rustc_query_impl[1e55094a59e290f4]::query_impl::mir_built::get_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 23: 0x7dba55067185 - rustc_mir_build[73684a27b88b946a]::check_unsafety::check_unsafety [INFO] [stderr] 24: 0x7dba588e98a7 - rustc_query_impl[1e55094a59e290f4]::plumbing::__rust_begin_short_backtrace::> [INFO] [stderr] 25: 0x7dba588e9b69 - rustc_query_system[67781f9dc633c543]::query::plumbing::try_execute_query::, rustc_query_system[67781f9dc633c543]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[1e55094a59e290f4]::plumbing::QueryCtxt, false> [INFO] [stderr] 26: 0x7dba588e97d1 - rustc_query_impl[1e55094a59e290f4]::query_impl::check_unsafety::get_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 27: 0x7dba5849bd32 - rustc_interface[b59e7ee7606ca029]::passes::run_required_analyses [INFO] [stderr] 28: 0x7dba58f2cc9e - rustc_interface[b59e7ee7606ca029]::passes::analysis [INFO] [stderr] 29: 0x7dba58f2cc6f - rustc_query_impl[1e55094a59e290f4]::plumbing::__rust_begin_short_backtrace::> [INFO] [stderr] 30: 0x7dba58f7b355 - rustc_query_system[67781f9dc633c543]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[1e55094a59e290f4]::plumbing::QueryCtxt, false> [INFO] [stderr] 31: 0x7dba58f7b08e - rustc_query_impl[1e55094a59e290f4]::query_impl::analysis::get_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 32: 0x7dba58f701de - rustc_interface[b59e7ee7606ca029]::passes::create_and_enter_global_ctxt::, rustc_driver_impl[be5855d19ccc8b6c]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0} [INFO] [stderr] 33: 0x7dba58fdff51 - rustc_interface[b59e7ee7606ca029]::interface::run_compiler::<(), rustc_driver_impl[be5855d19ccc8b6c]::run_compiler::{closure#0}>::{closure#1} [INFO] [stderr] 34: 0x7dba58ef5087 - std[b36e883d67eb0403]::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> [INFO] [stderr] 35: 0x7dba58ef551c - <::spawn_unchecked_::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[303105738bd0c2ae]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stderr] 36: 0x7dba58ef6aef - std::sys::pal::unix::thread::Thread::new::thread_start::ha554cc4ba6335b05 [INFO] [stderr] 37: 0x7dba5a669ac3 - [INFO] [stderr] 38: 0x7dba5a6faa04 - clone [INFO] [stderr] 39: 0x0 - [INFO] [stderr] [INFO] [stderr] note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md [INFO] [stderr] [INFO] [stderr] note: please make sure that you have updated to the latest nightly [INFO] [stderr] [INFO] [stderr] warning: the ICE couldn't be written to `/opt/rustwide/workdir/rustc-ice-2024-12-31T22_03_54-9.txt`: Read-only file system (os error 30) [INFO] [stderr] [INFO] [stderr] note: rustc 1.85.0-nightly (9b5e8b16b 2024-12-19) running on x86_64-unknown-linux-gnu [INFO] [stderr] [INFO] [stderr] note: compiler flags: --crate-type bin -C embed-bitcode=no -C debuginfo=2 [INFO] [stderr] [INFO] [stderr] note: some of the compiler flags provided by cargo are hidden [INFO] [stderr] [INFO] [stderr] query stack during panic: [INFO] [stderr] #0 [mir_built] building MIR for `::new` [INFO] [stderr] #1 [check_unsafety] unsafety-checking `::new` [INFO] [stderr] #2 [analysis] running analysis passes on this crate [INFO] [stderr] end of query stack [INFO] [stderr] error: could not compile `json-toy` (bin "json-toy"); 64 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/9b5e8b16bd1c4acf4cf8e6880368314cf021a987/bin/rustc --crate-name json_toy --edition=2015 main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=3f65817dadbf7330 -C extra-filename=-fa4242e2f8b61142 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --cap-lints=forbid -Dtail-expr-drop-order` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "318460752ff3342eddc2762fc485e542cd34c9f10ba19085b692d02d1d1952e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "318460752ff3342eddc2762fc485e542cd34c9f10ba19085b692d02d1d1952e6", kill_on_drop: false }` [INFO] [stdout] 318460752ff3342eddc2762fc485e542cd34c9f10ba19085b692d02d1d1952e6