[INFO] cloning repository https://github.com/paulcacheux/YAL [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/paulcacheux/YAL" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpaulcacheux%2FYAL", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpaulcacheux%2FYAL'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8462218d0563fb573aed4b8801e1a576579bfe8b [INFO] checking paulcacheux/YAL against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpaulcacheux%2FYAL" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/paulcacheux/YAL on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/paulcacheux/YAL [INFO] finished tweaking git repo https://github.com/paulcacheux/YAL [INFO] tweaked toml for git repo https://github.com/paulcacheux/YAL written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/paulcacheux/YAL 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libc v0.2.35 [INFO] [stderr] Downloaded llvm-sys v50.0.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f0c6079c3932a37f4fefa9bfd10fff673500a86ee0532bc884d97f91cf767b62 [INFO] running `Command { std: "docker" "start" "-a" "f0c6079c3932a37f4fefa9bfd10fff673500a86ee0532bc884d97f91cf767b62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f0c6079c3932a37f4fefa9bfd10fff673500a86ee0532bc884d97f91cf767b62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0c6079c3932a37f4fefa9bfd10fff673500a86ee0532bc884d97f91cf767b62", kill_on_drop: false }` [INFO] [stdout] f0c6079c3932a37f4fefa9bfd10fff673500a86ee0532bc884d97f91cf767b62 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2e2a683a3631d4e6ad0742977c55c1a3f7200d839ddbec2f785022f41c6add9c [INFO] running `Command { std: "docker" "start" "-a" "2e2a683a3631d4e6ad0742977c55c1a3f7200d839ddbec2f785022f41c6add9c", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling libc v0.2.35 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling lazy_static v1.0.0 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.4.2 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling gcc v0.3.54 [INFO] [stderr] Compiling thread_local v0.3.5 [INFO] [stderr] Checking unicode-width v0.1.4 [INFO] [stderr] Compiling semver v0.6.0 [INFO] [stderr] Checking textwrap v0.9.0 [INFO] [stderr] Checking memchr v2.0.1 [INFO] [stderr] Checking atty v0.2.6 [INFO] [stderr] Checking vec_map v0.8.0 [INFO] [stderr] Checking ansi_term v0.10.2 [INFO] [stderr] Checking aho-corasick v0.6.4 [INFO] [stderr] Checking strsim v0.6.0 [INFO] [stderr] Checking bitflags v1.0.1 [INFO] [stderr] Checking if_chain v0.1.2 [INFO] [stderr] Checking typed-arena v1.3.0 [INFO] [stderr] Checking clap v2.29.1 [INFO] [stderr] Compiling regex v0.2.5 [INFO] [stderr] Compiling llvm-sys v50.0.2 [INFO] [stderr] Checking yal v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/parser/mod.rs:58:11 [INFO] [stdout] | [INFO] [stdout] 58 | )); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 139 | _ => return_unexpected!(span, "struct", "typedef", "extern", "fn"), [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 `return_unexpected` (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] --> src/parser/mod.rs:58:11 [INFO] [stdout] | [INFO] [stdout] 58 | )); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 566 | return_unexpected!(span, "identifier", "int literal") [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 `return_unexpected` [INFO] [stdout] = note: this warning originates in the macro `return_unexpected` (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] --> src/parser/mod.rs:58:11 [INFO] [stdout] | [INFO] [stdout] 58 | )); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 631 | _ => return_unexpected!(span, ")", ","), [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 `return_unexpected` (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] --> src/parser/mod.rs:58:11 [INFO] [stdout] | [INFO] [stdout] 58 | )); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 669 | _ => return_unexpected!(span, ",", ";", "]"), [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 `return_unexpected` (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] --> src/parser/mod.rs:58:11 [INFO] [stdout] | [INFO] [stdout] 58 | )); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 139 | _ => return_unexpected!(span, "struct", "typedef", "extern", "fn"), [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 `return_unexpected` (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] --> src/parser/mod.rs:58:11 [INFO] [stdout] | [INFO] [stdout] 58 | )); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 566 | return_unexpected!(span, "identifier", "int literal") [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 `return_unexpected` [INFO] [stdout] = note: this warning originates in the macro `return_unexpected` (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] --> src/parser/mod.rs:58:11 [INFO] [stdout] | [INFO] [stdout] 58 | )); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 631 | _ => return_unexpected!(span, ")", ","), [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 `return_unexpected` (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] --> src/parser/mod.rs:58:11 [INFO] [stdout] | [INFO] [stdout] 58 | )); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 669 | _ => return_unexpected!(span, ",", ";", "]"), [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 `return_unexpected` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/lexer/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / lazy_static! { [INFO] [stdout] 9 | | static ref WHITESPACES: Regex = Regex::new(r"^\s+").unwrap(); [INFO] [stdout] 10 | | static ref LINE_COMMENT: Regex = Regex::new(r"^//.*").unwrap(); [INFO] [stdout] 11 | | static ref LINE_PP_COMMENT: Regex = Regex::new(r"^#.*").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 20 | | static ref STRING_REGEX: Regex = Regex::new(r##"^"(([^"]|\\")*[^\\])?""##).unwrap(); [INFO] [stdout] 21 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/lexer/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / lazy_static! { [INFO] [stdout] 9 | | static ref WHITESPACES: Regex = Regex::new(r"^\s+").unwrap(); [INFO] [stdout] 10 | | static ref LINE_COMMENT: Regex = Regex::new(r"^//.*").unwrap(); [INFO] [stdout] 11 | | static ref LINE_PP_COMMENT: Regex = Regex::new(r"^#.*").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 20 | | static ref STRING_REGEX: Regex = Regex::new(r##"^"(([^"]|\\")*[^\\])?""##).unwrap(); [INFO] [stdout] 21 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/lexer/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / lazy_static! { [INFO] [stdout] 9 | | static ref WHITESPACES: Regex = Regex::new(r"^\s+").unwrap(); [INFO] [stdout] 10 | | static ref LINE_COMMENT: Regex = Regex::new(r"^//.*").unwrap(); [INFO] [stdout] 11 | | static ref LINE_PP_COMMENT: Regex = Regex::new(r"^#.*").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 20 | | static ref STRING_REGEX: Regex = Regex::new(r##"^"(([^"]|\\")*[^\\])?""##).unwrap(); [INFO] [stdout] 21 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/lexer/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / lazy_static! { [INFO] [stdout] 9 | | static ref WHITESPACES: Regex = Regex::new(r"^\s+").unwrap(); [INFO] [stdout] 10 | | static ref LINE_COMMENT: Regex = Regex::new(r"^//.*").unwrap(); [INFO] [stdout] 11 | | static ref LINE_PP_COMMENT: Regex = Regex::new(r"^#.*").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 20 | | static ref STRING_REGEX: Regex = Regex::new(r##"^"(([^"]|\\")*[^\\])?""##).unwrap(); [INFO] [stdout] 21 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/lexer/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / lazy_static! { [INFO] [stdout] 9 | | static ref WHITESPACES: Regex = Regex::new(r"^\s+").unwrap(); [INFO] [stdout] 10 | | static ref LINE_COMMENT: Regex = Regex::new(r"^//.*").unwrap(); [INFO] [stdout] 11 | | static ref LINE_PP_COMMENT: Regex = Regex::new(r"^#.*").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 20 | | static ref STRING_REGEX: Regex = Regex::new(r##"^"(([^"]|\\")*[^\\])?""##).unwrap(); [INFO] [stdout] 21 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/lexer/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / lazy_static! { [INFO] [stdout] 9 | | static ref WHITESPACES: Regex = Regex::new(r"^\s+").unwrap(); [INFO] [stdout] 10 | | static ref LINE_COMMENT: Regex = Regex::new(r"^//.*").unwrap(); [INFO] [stdout] 11 | | static ref LINE_PP_COMMENT: Regex = Regex::new(r"^#.*").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 20 | | static ref STRING_REGEX: Regex = Regex::new(r##"^"(([^"]|\\")*[^\\])?""##).unwrap(); [INFO] [stdout] 21 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/lexer/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / lazy_static! { [INFO] [stdout] 9 | | static ref WHITESPACES: Regex = Regex::new(r"^\s+").unwrap(); [INFO] [stdout] 10 | | static ref LINE_COMMENT: Regex = Regex::new(r"^//.*").unwrap(); [INFO] [stdout] 11 | | static ref LINE_PP_COMMENT: Regex = Regex::new(r"^#.*").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 20 | | static ref STRING_REGEX: Regex = Regex::new(r##"^"(([^"]|\\")*[^\\])?""##).unwrap(); [INFO] [stdout] 21 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/lexer/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / lazy_static! { [INFO] [stdout] 9 | | static ref WHITESPACES: Regex = Regex::new(r"^\s+").unwrap(); [INFO] [stdout] 10 | | static ref LINE_COMMENT: Regex = Regex::new(r"^//.*").unwrap(); [INFO] [stdout] 11 | | static ref LINE_PP_COMMENT: Regex = Regex::new(r"^#.*").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 20 | | static ref STRING_REGEX: Regex = Regex::new(r##"^"(([^"]|\\")*[^\\])?""##).unwrap(); [INFO] [stdout] 21 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/lexer/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / lazy_static! { [INFO] [stdout] 9 | | static ref WHITESPACES: Regex = Regex::new(r"^\s+").unwrap(); [INFO] [stdout] 10 | | static ref LINE_COMMENT: Regex = Regex::new(r"^//.*").unwrap(); [INFO] [stdout] 11 | | static ref LINE_PP_COMMENT: Regex = Regex::new(r"^#.*").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 20 | | static ref STRING_REGEX: Regex = Regex::new(r##"^"(([^"]|\\")*[^\\])?""##).unwrap(); [INFO] [stdout] 21 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/trans/tables.rs:103:1 [INFO] [stdout] | [INFO] [stdout] 103 | / lazy_static! { [INFO] [stdout] 104 | | static ref CONTEXT: Context = Context::new(); [INFO] [stdout] 105 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/lexer/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / lazy_static! { [INFO] [stdout] 9 | | static ref WHITESPACES: Regex = Regex::new(r"^\s+").unwrap(); [INFO] [stdout] 10 | | static ref LINE_COMMENT: Regex = Regex::new(r"^//.*").unwrap(); [INFO] [stdout] 11 | | static ref LINE_PP_COMMENT: Regex = Regex::new(r"^#.*").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 20 | | static ref STRING_REGEX: Regex = Regex::new(r##"^"(([^"]|\\")*[^\\])?""##).unwrap(); [INFO] [stdout] 21 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/lexer/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / lazy_static! { [INFO] [stdout] 9 | | static ref WHITESPACES: Regex = Regex::new(r"^\s+").unwrap(); [INFO] [stdout] 10 | | static ref LINE_COMMENT: Regex = Regex::new(r"^//.*").unwrap(); [INFO] [stdout] 11 | | static ref LINE_PP_COMMENT: Regex = Regex::new(r"^#.*").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 20 | | static ref STRING_REGEX: Regex = Regex::new(r##"^"(([^"]|\\")*[^\\])?""##).unwrap(); [INFO] [stdout] 21 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/lexer/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / lazy_static! { [INFO] [stdout] 9 | | static ref WHITESPACES: Regex = Regex::new(r"^\s+").unwrap(); [INFO] [stdout] 10 | | static ref LINE_COMMENT: Regex = Regex::new(r"^//.*").unwrap(); [INFO] [stdout] 11 | | static ref LINE_PP_COMMENT: Regex = Regex::new(r"^#.*").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 20 | | static ref STRING_REGEX: Regex = Regex::new(r##"^"(([^"]|\\")*[^\\])?""##).unwrap(); [INFO] [stdout] 21 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/lexer/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / lazy_static! { [INFO] [stdout] 9 | | static ref WHITESPACES: Regex = Regex::new(r"^\s+").unwrap(); [INFO] [stdout] 10 | | static ref LINE_COMMENT: Regex = Regex::new(r"^//.*").unwrap(); [INFO] [stdout] 11 | | static ref LINE_PP_COMMENT: Regex = Regex::new(r"^#.*").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 20 | | static ref STRING_REGEX: Regex = Regex::new(r##"^"(([^"]|\\")*[^\\])?""##).unwrap(); [INFO] [stdout] 21 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/lexer/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / lazy_static! { [INFO] [stdout] 9 | | static ref WHITESPACES: Regex = Regex::new(r"^\s+").unwrap(); [INFO] [stdout] 10 | | static ref LINE_COMMENT: Regex = Regex::new(r"^//.*").unwrap(); [INFO] [stdout] 11 | | static ref LINE_PP_COMMENT: Regex = Regex::new(r"^#.*").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 20 | | static ref STRING_REGEX: Regex = Regex::new(r##"^"(([^"]|\\")*[^\\])?""##).unwrap(); [INFO] [stdout] 21 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/lexer/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / lazy_static! { [INFO] [stdout] 9 | | static ref WHITESPACES: Regex = Regex::new(r"^\s+").unwrap(); [INFO] [stdout] 10 | | static ref LINE_COMMENT: Regex = Regex::new(r"^//.*").unwrap(); [INFO] [stdout] 11 | | static ref LINE_PP_COMMENT: Regex = Regex::new(r"^#.*").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 20 | | static ref STRING_REGEX: Regex = Regex::new(r##"^"(([^"]|\\")*[^\\])?""##).unwrap(); [INFO] [stdout] 21 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/lexer/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / lazy_static! { [INFO] [stdout] 9 | | static ref WHITESPACES: Regex = Regex::new(r"^\s+").unwrap(); [INFO] [stdout] 10 | | static ref LINE_COMMENT: Regex = Regex::new(r"^//.*").unwrap(); [INFO] [stdout] 11 | | static ref LINE_PP_COMMENT: Regex = Regex::new(r"^#.*").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 20 | | static ref STRING_REGEX: Regex = Regex::new(r##"^"(([^"]|\\")*[^\\])?""##).unwrap(); [INFO] [stdout] 21 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/lexer/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / lazy_static! { [INFO] [stdout] 9 | | static ref WHITESPACES: Regex = Regex::new(r"^\s+").unwrap(); [INFO] [stdout] 10 | | static ref LINE_COMMENT: Regex = Regex::new(r"^//.*").unwrap(); [INFO] [stdout] 11 | | static ref LINE_PP_COMMENT: Regex = Regex::new(r"^#.*").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 20 | | static ref STRING_REGEX: Regex = Regex::new(r##"^"(([^"]|\\")*[^\\])?""##).unwrap(); [INFO] [stdout] 21 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/lexer/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / lazy_static! { [INFO] [stdout] 9 | | static ref WHITESPACES: Regex = Regex::new(r"^\s+").unwrap(); [INFO] [stdout] 10 | | static ref LINE_COMMENT: Regex = Regex::new(r"^//.*").unwrap(); [INFO] [stdout] 11 | | static ref LINE_PP_COMMENT: Regex = Regex::new(r"^#.*").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 20 | | static ref STRING_REGEX: Regex = Regex::new(r##"^"(([^"]|\\")*[^\\])?""##).unwrap(); [INFO] [stdout] 21 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/trans/tables.rs:103:1 [INFO] [stdout] | [INFO] [stdout] 103 | / lazy_static! { [INFO] [stdout] 104 | | static ref CONTEXT: Context = Context::new(); [INFO] [stdout] 105 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/codemap.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | s.trim_right_matches(|c| c == '\r' || c == '\n') [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 15 | s.trim_end_matches(|c| c == '\r' || c == '\n') [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/codemap.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | s.trim_right_matches(|c| c == '\r' || c == '\n') [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 15 | s.trim_end_matches(|c| c == '\r' || c == '\n') [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/trans/mod.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | let mut body = func_builder.translate_block_statement(function.body)?; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/trans/mod.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | let mut body = func_builder.translate_block_statement(function.body)?; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `struct_name` is never read [INFO] [stdout] --> src/trans/utils.rs:211:5 [INFO] [stdout] | [INFO] [stdout] 210 | pub struct StructLitChecker { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 211 | struct_name: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StructLitChecker` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `struct_name` is never read [INFO] [stdout] --> src/trans/utils.rs:211:5 [INFO] [stdout] | [INFO] [stdout] 210 | pub struct StructLitChecker { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 211 | struct_name: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StructLitChecker` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.18s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: yal v0.2.0 (/opt/rustwide/workdir) [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" "2e2a683a3631d4e6ad0742977c55c1a3f7200d839ddbec2f785022f41c6add9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e2a683a3631d4e6ad0742977c55c1a3f7200d839ddbec2f785022f41c6add9c", kill_on_drop: false }` [INFO] [stdout] 2e2a683a3631d4e6ad0742977c55c1a3f7200d839ddbec2f785022f41c6add9c [INFO] checking paulcacheux/YAL against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpaulcacheux%2FYAL" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/paulcacheux/YAL on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/paulcacheux/YAL [INFO] finished tweaking git repo https://github.com/paulcacheux/YAL [INFO] tweaked toml for git repo https://github.com/paulcacheux/YAL written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/paulcacheux/YAL 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c4558c350c3b0f3e5f7b3ad5dfc38f770fb358da18fb16d6adc46066a4614acb [INFO] running `Command { std: "docker" "start" "-a" "c4558c350c3b0f3e5f7b3ad5dfc38f770fb358da18fb16d6adc46066a4614acb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c4558c350c3b0f3e5f7b3ad5dfc38f770fb358da18fb16d6adc46066a4614acb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4558c350c3b0f3e5f7b3ad5dfc38f770fb358da18fb16d6adc46066a4614acb", kill_on_drop: false }` [INFO] [stdout] c4558c350c3b0f3e5f7b3ad5dfc38f770fb358da18fb16d6adc46066a4614acb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1d83f0d9b9c67beab8222e1f1460b790fc9ca14000bc5cc3c480cb26d92c4ae3 [INFO] running `Command { std: "docker" "start" "-a" "1d83f0d9b9c67beab8222e1f1460b790fc9ca14000bc5cc3c480cb26d92c4ae3", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling libc v0.2.35 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling lazy_static v1.0.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling regex-syntax v0.4.2 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling gcc v0.3.54 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling thread_local v0.3.5 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling semver v0.6.0 [INFO] [stderr] Checking unicode-width v0.1.4 [INFO] [stderr] Checking textwrap v0.9.0 [INFO] [stderr] Checking bitflags v1.0.1 [INFO] [stderr] Checking ansi_term v0.10.2 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Checking atty v0.2.6 [INFO] [stderr] Checking strsim v0.6.0 [INFO] [stderr] Checking vec_map v0.8.0 [INFO] [stderr] Compiling aho-corasick v0.6.4 [INFO] [stderr] Checking if_chain v0.1.2 [INFO] [stderr] Checking typed-arena v1.3.0 [INFO] [stderr] Checking clap v2.29.1 [INFO] [stderr] Compiling regex v0.2.5 [INFO] [stderr] Compiling llvm-sys v50.0.2 [INFO] [stderr] Checking yal v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/parser/mod.rs:58:11 [INFO] [stdout] | [INFO] [stdout] 58 | )); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 139 | _ => return_unexpected!(span, "struct", "typedef", "extern", "fn"), [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 `return_unexpected` (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] --> src/parser/mod.rs:58:11 [INFO] [stdout] | [INFO] [stdout] 58 | )); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 566 | return_unexpected!(span, "identifier", "int literal") [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 `return_unexpected` [INFO] [stdout] = note: this warning originates in the macro `return_unexpected` (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] --> src/parser/mod.rs:58:11 [INFO] [stdout] | [INFO] [stdout] 58 | )); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 631 | _ => return_unexpected!(span, ")", ","), [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 `return_unexpected` (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] --> src/parser/mod.rs:58:11 [INFO] [stdout] | [INFO] [stdout] 58 | )); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 669 | _ => return_unexpected!(span, ",", ";", "]"), [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 `return_unexpected` (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] --> src/parser/mod.rs:58:11 [INFO] [stdout] | [INFO] [stdout] 58 | )); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 139 | _ => return_unexpected!(span, "struct", "typedef", "extern", "fn"), [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 `return_unexpected` (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] --> src/parser/mod.rs:58:11 [INFO] [stdout] | [INFO] [stdout] 58 | )); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 566 | return_unexpected!(span, "identifier", "int literal") [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 `return_unexpected` [INFO] [stdout] = note: this warning originates in the macro `return_unexpected` (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] --> src/parser/mod.rs:58:11 [INFO] [stdout] | [INFO] [stdout] 58 | )); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 631 | _ => return_unexpected!(span, ")", ","), [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 `return_unexpected` (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] --> src/parser/mod.rs:58:11 [INFO] [stdout] | [INFO] [stdout] 58 | )); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 669 | _ => return_unexpected!(span, ",", ";", "]"), [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 `return_unexpected` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/lexer/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / lazy_static! { [INFO] [stdout] 9 | | static ref WHITESPACES: Regex = Regex::new(r"^\s+").unwrap(); [INFO] [stdout] 10 | | static ref LINE_COMMENT: Regex = Regex::new(r"^//.*").unwrap(); [INFO] [stdout] 11 | | static ref LINE_PP_COMMENT: Regex = Regex::new(r"^#.*").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 20 | | static ref STRING_REGEX: Regex = Regex::new(r##"^"(([^"]|\\")*[^\\])?""##).unwrap(); [INFO] [stdout] 21 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/lexer/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / lazy_static! { [INFO] [stdout] 9 | | static ref WHITESPACES: Regex = Regex::new(r"^\s+").unwrap(); [INFO] [stdout] 10 | | static ref LINE_COMMENT: Regex = Regex::new(r"^//.*").unwrap(); [INFO] [stdout] 11 | | static ref LINE_PP_COMMENT: Regex = Regex::new(r"^#.*").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 20 | | static ref STRING_REGEX: Regex = Regex::new(r##"^"(([^"]|\\")*[^\\])?""##).unwrap(); [INFO] [stdout] 21 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/lexer/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / lazy_static! { [INFO] [stdout] 9 | | static ref WHITESPACES: Regex = Regex::new(r"^\s+").unwrap(); [INFO] [stdout] 10 | | static ref LINE_COMMENT: Regex = Regex::new(r"^//.*").unwrap(); [INFO] [stdout] 11 | | static ref LINE_PP_COMMENT: Regex = Regex::new(r"^#.*").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 20 | | static ref STRING_REGEX: Regex = Regex::new(r##"^"(([^"]|\\")*[^\\])?""##).unwrap(); [INFO] [stdout] 21 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/lexer/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / lazy_static! { [INFO] [stdout] 9 | | static ref WHITESPACES: Regex = Regex::new(r"^\s+").unwrap(); [INFO] [stdout] 10 | | static ref LINE_COMMENT: Regex = Regex::new(r"^//.*").unwrap(); [INFO] [stdout] 11 | | static ref LINE_PP_COMMENT: Regex = Regex::new(r"^#.*").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 20 | | static ref STRING_REGEX: Regex = Regex::new(r##"^"(([^"]|\\")*[^\\])?""##).unwrap(); [INFO] [stdout] 21 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/lexer/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / lazy_static! { [INFO] [stdout] 9 | | static ref WHITESPACES: Regex = Regex::new(r"^\s+").unwrap(); [INFO] [stdout] 10 | | static ref LINE_COMMENT: Regex = Regex::new(r"^//.*").unwrap(); [INFO] [stdout] 11 | | static ref LINE_PP_COMMENT: Regex = Regex::new(r"^#.*").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 20 | | static ref STRING_REGEX: Regex = Regex::new(r##"^"(([^"]|\\")*[^\\])?""##).unwrap(); [INFO] [stdout] 21 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/lexer/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / lazy_static! { [INFO] [stdout] 9 | | static ref WHITESPACES: Regex = Regex::new(r"^\s+").unwrap(); [INFO] [stdout] 10 | | static ref LINE_COMMENT: Regex = Regex::new(r"^//.*").unwrap(); [INFO] [stdout] 11 | | static ref LINE_PP_COMMENT: Regex = Regex::new(r"^#.*").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 20 | | static ref STRING_REGEX: Regex = Regex::new(r##"^"(([^"]|\\")*[^\\])?""##).unwrap(); [INFO] [stdout] 21 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/lexer/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / lazy_static! { [INFO] [stdout] 9 | | static ref WHITESPACES: Regex = Regex::new(r"^\s+").unwrap(); [INFO] [stdout] 10 | | static ref LINE_COMMENT: Regex = Regex::new(r"^//.*").unwrap(); [INFO] [stdout] 11 | | static ref LINE_PP_COMMENT: Regex = Regex::new(r"^#.*").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 20 | | static ref STRING_REGEX: Regex = Regex::new(r##"^"(([^"]|\\")*[^\\])?""##).unwrap(); [INFO] [stdout] 21 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/lexer/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / lazy_static! { [INFO] [stdout] 9 | | static ref WHITESPACES: Regex = Regex::new(r"^\s+").unwrap(); [INFO] [stdout] 10 | | static ref LINE_COMMENT: Regex = Regex::new(r"^//.*").unwrap(); [INFO] [stdout] 11 | | static ref LINE_PP_COMMENT: Regex = Regex::new(r"^#.*").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 20 | | static ref STRING_REGEX: Regex = Regex::new(r##"^"(([^"]|\\")*[^\\])?""##).unwrap(); [INFO] [stdout] 21 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/lexer/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / lazy_static! { [INFO] [stdout] 9 | | static ref WHITESPACES: Regex = Regex::new(r"^\s+").unwrap(); [INFO] [stdout] 10 | | static ref LINE_COMMENT: Regex = Regex::new(r"^//.*").unwrap(); [INFO] [stdout] 11 | | static ref LINE_PP_COMMENT: Regex = Regex::new(r"^#.*").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 20 | | static ref STRING_REGEX: Regex = Regex::new(r##"^"(([^"]|\\")*[^\\])?""##).unwrap(); [INFO] [stdout] 21 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/trans/tables.rs:103:1 [INFO] [stdout] | [INFO] [stdout] 103 | / lazy_static! { [INFO] [stdout] 104 | | static ref CONTEXT: Context = Context::new(); [INFO] [stdout] 105 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/lexer/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / lazy_static! { [INFO] [stdout] 9 | | static ref WHITESPACES: Regex = Regex::new(r"^\s+").unwrap(); [INFO] [stdout] 10 | | static ref LINE_COMMENT: Regex = Regex::new(r"^//.*").unwrap(); [INFO] [stdout] 11 | | static ref LINE_PP_COMMENT: Regex = Regex::new(r"^#.*").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 20 | | static ref STRING_REGEX: Regex = Regex::new(r##"^"(([^"]|\\")*[^\\])?""##).unwrap(); [INFO] [stdout] 21 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/lexer/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / lazy_static! { [INFO] [stdout] 9 | | static ref WHITESPACES: Regex = Regex::new(r"^\s+").unwrap(); [INFO] [stdout] 10 | | static ref LINE_COMMENT: Regex = Regex::new(r"^//.*").unwrap(); [INFO] [stdout] 11 | | static ref LINE_PP_COMMENT: Regex = Regex::new(r"^#.*").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 20 | | static ref STRING_REGEX: Regex = Regex::new(r##"^"(([^"]|\\")*[^\\])?""##).unwrap(); [INFO] [stdout] 21 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/lexer/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / lazy_static! { [INFO] [stdout] 9 | | static ref WHITESPACES: Regex = Regex::new(r"^\s+").unwrap(); [INFO] [stdout] 10 | | static ref LINE_COMMENT: Regex = Regex::new(r"^//.*").unwrap(); [INFO] [stdout] 11 | | static ref LINE_PP_COMMENT: Regex = Regex::new(r"^#.*").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 20 | | static ref STRING_REGEX: Regex = Regex::new(r##"^"(([^"]|\\")*[^\\])?""##).unwrap(); [INFO] [stdout] 21 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/lexer/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / lazy_static! { [INFO] [stdout] 9 | | static ref WHITESPACES: Regex = Regex::new(r"^\s+").unwrap(); [INFO] [stdout] 10 | | static ref LINE_COMMENT: Regex = Regex::new(r"^//.*").unwrap(); [INFO] [stdout] 11 | | static ref LINE_PP_COMMENT: Regex = Regex::new(r"^#.*").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 20 | | static ref STRING_REGEX: Regex = Regex::new(r##"^"(([^"]|\\")*[^\\])?""##).unwrap(); [INFO] [stdout] 21 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/lexer/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / lazy_static! { [INFO] [stdout] 9 | | static ref WHITESPACES: Regex = Regex::new(r"^\s+").unwrap(); [INFO] [stdout] 10 | | static ref LINE_COMMENT: Regex = Regex::new(r"^//.*").unwrap(); [INFO] [stdout] 11 | | static ref LINE_PP_COMMENT: Regex = Regex::new(r"^#.*").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 20 | | static ref STRING_REGEX: Regex = Regex::new(r##"^"(([^"]|\\")*[^\\])?""##).unwrap(); [INFO] [stdout] 21 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/lexer/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / lazy_static! { [INFO] [stdout] 9 | | static ref WHITESPACES: Regex = Regex::new(r"^\s+").unwrap(); [INFO] [stdout] 10 | | static ref LINE_COMMENT: Regex = Regex::new(r"^//.*").unwrap(); [INFO] [stdout] 11 | | static ref LINE_PP_COMMENT: Regex = Regex::new(r"^#.*").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 20 | | static ref STRING_REGEX: Regex = Regex::new(r##"^"(([^"]|\\")*[^\\])?""##).unwrap(); [INFO] [stdout] 21 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/lexer/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / lazy_static! { [INFO] [stdout] 9 | | static ref WHITESPACES: Regex = Regex::new(r"^\s+").unwrap(); [INFO] [stdout] 10 | | static ref LINE_COMMENT: Regex = Regex::new(r"^//.*").unwrap(); [INFO] [stdout] 11 | | static ref LINE_PP_COMMENT: Regex = Regex::new(r"^#.*").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 20 | | static ref STRING_REGEX: Regex = Regex::new(r##"^"(([^"]|\\")*[^\\])?""##).unwrap(); [INFO] [stdout] 21 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/lexer/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / lazy_static! { [INFO] [stdout] 9 | | static ref WHITESPACES: Regex = Regex::new(r"^\s+").unwrap(); [INFO] [stdout] 10 | | static ref LINE_COMMENT: Regex = Regex::new(r"^//.*").unwrap(); [INFO] [stdout] 11 | | static ref LINE_PP_COMMENT: Regex = Regex::new(r"^#.*").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 20 | | static ref STRING_REGEX: Regex = Regex::new(r##"^"(([^"]|\\")*[^\\])?""##).unwrap(); [INFO] [stdout] 21 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/lexer/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / lazy_static! { [INFO] [stdout] 9 | | static ref WHITESPACES: Regex = Regex::new(r"^\s+").unwrap(); [INFO] [stdout] 10 | | static ref LINE_COMMENT: Regex = Regex::new(r"^//.*").unwrap(); [INFO] [stdout] 11 | | static ref LINE_PP_COMMENT: Regex = Regex::new(r"^#.*").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 20 | | static ref STRING_REGEX: Regex = Regex::new(r##"^"(([^"]|\\")*[^\\])?""##).unwrap(); [INFO] [stdout] 21 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/trans/tables.rs:103:1 [INFO] [stdout] | [INFO] [stdout] 103 | / lazy_static! { [INFO] [stdout] 104 | | static ref CONTEXT: Context = Context::new(); [INFO] [stdout] 105 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/codemap.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | s.trim_right_matches(|c| c == '\r' || c == '\n') [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 15 | s.trim_end_matches(|c| c == '\r' || c == '\n') [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/codemap.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | s.trim_right_matches(|c| c == '\r' || c == '\n') [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 15 | s.trim_end_matches(|c| c == '\r' || c == '\n') [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/trans/mod.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | let mut body = func_builder.translate_block_statement(function.body)?; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/trans/mod.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | let mut body = func_builder.translate_block_statement(function.body)?; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `struct_name` is never read [INFO] [stdout] --> src/trans/utils.rs:211:5 [INFO] [stdout] | [INFO] [stdout] 210 | pub struct StructLitChecker { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 211 | struct_name: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StructLitChecker` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/mod.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 15 | let declarations = { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 18 | let mut declarations = Vec::new(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 26 | Ok(ast::Program { declarations }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/mod.rs:153:12 [INFO] [stdout] | [INFO] [stdout] 148 | let fields = self.parse_comma_sep(&Token::RightBracket, Parser::parse_field, true)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 153 | Ok(ast::Declaration::Struct(ast::Struct { name, fields, span })) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/mod.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 161 | let ty = self.parse_type()?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 162 | Ok((name, ty)) [INFO] [stdout] | ^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/mod.rs:183:12 [INFO] [stdout] | [INFO] [stdout] 170 | let (parameters, is_vararg) = self.parse_extern_parameter_list()?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 173 | let return_ty = if let Token::Arrow = self.lexer.peek_token()?.inner { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 183 | Ok(ast::Declaration::ExternFunction(ast::ExternFunction { [INFO] [stdout] | ____________^ [INFO] [stdout] 184 | | return_ty, [INFO] [stdout] 185 | | name, [INFO] [stdout] 186 | | parameters, [INFO] [stdout] 187 | | is_vararg, [INFO] [stdout] 188 | | span, [INFO] [stdout] 189 | | })) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |__________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/mod.rs:213:12 [INFO] [stdout] | [INFO] [stdout] 194 | let mut result = Vec::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 213 | Ok((result, is_vararg)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/mod.rs:236:12 [INFO] [stdout] | [INFO] [stdout] 220 | let parameters = [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 224 | let return_ty = if let Token::Arrow = self.lexer.peek_token()?.inner { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 225 | self.lexer.next_token()?; [INFO] [stdout] 226 | let ty = self.parse_type()?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 234 | let body = self.parse_block_statement()?.inner; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 235 | [INFO] [stdout] 236 | Ok(ast::Declaration::Function(ast::Function { [INFO] [stdout] | ____________^ [INFO] [stdout] 237 | | return_ty, [INFO] [stdout] 238 | | name, [INFO] [stdout] 239 | | parameters, [INFO] [stdout] 240 | | body, [INFO] [stdout] 241 | | span, [INFO] [stdout] 242 | | })) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |__________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/mod.rs:249:12 [INFO] [stdout] | [INFO] [stdout] 248 | let ty = self.parse_type()?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 249 | Ok((name, ty)) [INFO] [stdout] | ^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/mod.rs:270:12 [INFO] [stdout] | [INFO] [stdout] 258 | let mut block = Vec::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 270 | Ok(Spanned::new(ast::BlockStatement::from_vec(block), span)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/mod.rs:335:12 [INFO] [stdout] | [INFO] [stdout] 316 | let condition = self.parse_expression()?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 317 | expect!(self.lexer; Token::RightParenthesis, ")"); [INFO] [stdout] 318 | let body = Box::new(self.parse_statement()?); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 319 | [INFO] [stdout] 320 | let else_clause = if let Token::ElseKeyword = self.lexer.peek_token()?.inner { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 321 | self.lexer.next_token()?; [INFO] [stdout] 322 | let body = Box::new(self.parse_statement()?); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 335 | Ok(Spanned::new( [INFO] [stdout] | ____________^ [INFO] [stdout] 336 | | ast::Statement::If(ast::IfStatement { [INFO] [stdout] 337 | | condition, [INFO] [stdout] 338 | | body, [INFO] [stdout] ... | [INFO] [stdout] 341 | | span, [INFO] [stdout] 342 | | )) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/mod.rs:354:12 [INFO] [stdout] | [INFO] [stdout] 348 | let condition = self.parse_expression()?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 349 | expect!(self.lexer; Token::RightParenthesis, ")"); [INFO] [stdout] 350 | let body = Box::new(self.parse_statement()?); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 354 | Ok(Spanned::new( [INFO] [stdout] | ____________^ [INFO] [stdout] 355 | | ast::Statement::While(ast::WhileStatement { condition, body }), [INFO] [stdout] 356 | | span, [INFO] [stdout] 357 | | )) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/mod.rs:384:12 [INFO] [stdout] | [INFO] [stdout] 364 | let init = if let Token::LetKeyword = self.lexer.peek_token()?.inner { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 369 | let init = Box::new(init); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 370 | [INFO] [stdout] 371 | let condition = self.parse_expression()?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 372 | expect!(self.lexer; Token::SemiColon, ";"); [INFO] [stdout] 373 | let step = if let Token::RightParenthesis = self.lexer.peek_token()?.inner { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 380 | let body = Box::new(self.parse_statement()?); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 384 | Ok(Spanned::new( [INFO] [stdout] | ____________^ [INFO] [stdout] 385 | | ast::Statement::For(ast::ForStatement { [INFO] [stdout] 386 | | init, [INFO] [stdout] 387 | | condition, [INFO] [stdout] ... | [INFO] [stdout] 391 | | span, [INFO] [stdout] 392 | | )) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/mod.rs:406:12 [INFO] [stdout] | [INFO] [stdout] 397 | let expr = if let Token::SemiColon = self.lexer.peek_token()?.inner { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 406 | Ok(Spanned::new(ast::Statement::Return(expr), span)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/mod.rs:426:12 [INFO] [stdout] | [INFO] [stdout] 413 | let ty = if let Token::Colon = self.lexer.peek_token()?.inner { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 421 | let value = self.parse_expression()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 426 | Ok(Spanned::new( [INFO] [stdout] | ____________^ [INFO] [stdout] 427 | | ast::Statement::Let(ast::LetStatement { ty, name, value }), [INFO] [stdout] 428 | | span, [INFO] [stdout] 429 | | )) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/mod.rs:702:12 [INFO] [stdout] | [INFO] [stdout] 694 | let fields = [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 698 | let expr = ast::Expression::StructLiteral { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 702 | Ok(Spanned::new(expr, span)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/mod.rs:743:12 [INFO] [stdout] | [INFO] [stdout] 742 | let field_expr = self.parse_expression()?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 743 | Ok((name, field_expr)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/trans/mod.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 22 | program: ast::Program, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | runtime: Option, [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | ) -> TranslationResult { [INFO] [stdout] 25 | let mut declarations = runtime.map(|r| r.declarations).unwrap_or_default(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 28 | let mut functions = Vec::new(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | let mut exfunctions = Vec::new(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | let mut structs = Vec::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 81 | Ok(ir::Program { declarations }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/trans/mod.rs:125:8 [INFO] [stdout] | [INFO] [stdout] 86 | function: ast::Function, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 108 | let (mut body, var_declarations) = { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 109 | let mut func_builder = FunctionBuilder::new(tables, func_return_ty); [INFO] [stdout] 110 | let mut body = func_builder.translate_block_statement(function.body)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 125 | Ok(ir::Function { [INFO] [stdout] | ________^ [INFO] [stdout] 126 | | return_ty: func_return_ty, [INFO] [stdout] 127 | | name: function.name, [INFO] [stdout] 128 | | parameters, [INFO] [stdout] ... | [INFO] [stdout] 131 | | span: function.span, [INFO] [stdout] 132 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/trans/utils.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn build_assign_to_id(id: IdentifierId, rhs: ir::Expression) -> ir::Expression { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 26 | lhs: Box::new(ir::Expression::Value(value)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/trans/utils.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn build_assign_to_id(id: IdentifierId, rhs: ir::Expression) -> ir::Expression { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 27 | rhs: Box::new(rhs), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/trans/utils.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 32 | struct_expr: ir::Expression, [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 33 | index: usize, [INFO] [stdout] 34 | expr: ir::Expression, [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 37 | lhs: Box::new(ir::Expression::FieldAccess { [INFO] [stdout] | ______________^ [INFO] [stdout] 38 | | sub: Box::new(struct_expr), [INFO] [stdout] 39 | | index, [INFO] [stdout] 40 | | }), [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/trans/utils.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 32 | struct_expr: ir::Expression, [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 33 | index: usize, [INFO] [stdout] 34 | expr: ir::Expression, [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | rhs: Box::new(expr), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/trans/utils.rs:51:14 [INFO] [stdout] | [INFO] [stdout] 46 | ptr: ir::Expression, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 47 | index: usize, [INFO] [stdout] 48 | expr: ir::Expression, [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | lhs: Box::new(build_subscript( [INFO] [stdout] | ______________^ [INFO] [stdout] 52 | | ptr, [INFO] [stdout] 53 | | ir::Expression::Value(ir::Value::Literal(common::Literal::IntLiteral(index as _))), [INFO] [stdout] 54 | | )), [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/trans/utils.rs:55:14 [INFO] [stdout] | [INFO] [stdout] 46 | ptr: ir::Expression, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 47 | index: usize, [INFO] [stdout] 48 | expr: ir::Expression, [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 55 | rhs: Box::new(expr), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/trans/utils.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn build_subscript(ptr: ir::Expression, index: ir::Expression) -> ir::Expression { [INFO] [stdout] | ------------------- --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 62 | sub: Box::new(ir::Expression::BinaryOperator { [INFO] [stdout] | ______________^ [INFO] [stdout] 63 | | binop: ir::BinaryOperatorKind::PtrPlusOffset, [INFO] [stdout] 64 | | lhs: Box::new(ptr), [INFO] [stdout] 65 | | rhs: Box::new(index), [INFO] [stdout] 66 | | }), [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/trans/func_trans.rs:506:12 [INFO] [stdout] | [INFO] [stdout] 473 | fields: Vec<(Spanned, Spanned)>, [INFO] [stdout] | -------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 490 | let res_id_expr = ir::Expression::Value(ir::Value::Local(res_id)); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 491 | let mut stmts = Vec::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 506 | Ok(utils::TypedExpression { [INFO] [stdout] | ____________^ [INFO] [stdout] 507 | | ty: lvalue_ty, [INFO] [stdout] 508 | | expr: ir::Expression::Block(Box::new(ir::BlockExpression { [INFO] [stdout] 509 | | stmts, [INFO] [stdout] 510 | | final_expr: res_id_expr, [INFO] [stdout] 511 | | })), [INFO] [stdout] 512 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/trans/func_trans.rs:545:12 [INFO] [stdout] | [INFO] [stdout] 517 | values: Vec>, [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 520 | let mut trans_values = Vec::with_capacity(values.len()); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 533 | let res_id_expr = ir::Expression::Value(ir::Value::Local(res_id)); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 534 | [INFO] [stdout] 535 | let mut stmts = Vec::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 545 | Ok(utils::TypedExpression { [INFO] [stdout] | ____________^ [INFO] [stdout] 546 | | ty: lvalue_ty, [INFO] [stdout] 547 | | expr: ir::Expression::Block(Box::new(ir::BlockExpression { [INFO] [stdout] 548 | | stmts, [INFO] [stdout] 549 | | final_expr: res_id_expr, [INFO] [stdout] 550 | | })), [INFO] [stdout] 551 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/trans/func_trans.rs:597:12 [INFO] [stdout] | [INFO] [stdout] 556 | values: Vec>, [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 565 | let mut trans_values = Vec::with_capacity(values.len()); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 584 | let res_id_expr = ir::Expression::Value(ir::Value::Local(res_id)); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 585 | let ptr_expr = ir::Expression::BitCast { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 590 | let mut stmts = Vec::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 597 | Ok(utils::TypedExpression { [INFO] [stdout] | ____________^ [INFO] [stdout] 598 | | ty: lvalue_ty, [INFO] [stdout] 599 | | expr: ir::Expression::Block(Box::new(ir::BlockExpression { [INFO] [stdout] 600 | | stmts, [INFO] [stdout] 601 | | final_expr: res_id_expr, [INFO] [stdout] 602 | | })), [INFO] [stdout] 603 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/trans/func_trans.rs:665:12 [INFO] [stdout] | [INFO] [stdout] 608 | value: Spanned, [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 611 | let value = self.translate_expression(value)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 612 | let value = utils::lvalue_to_rvalue(value); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 613 | [INFO] [stdout] 614 | let zero_literal = [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 615 | ir::Expression::Value(ir::Value::Literal(common::Literal::IntLiteral(0))); [INFO] [stdout] 616 | let size_literal = [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 625 | let res_id_expr = ir::Expression::Value(ir::Value::Local(res_id)); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 626 | let ptr_expr = ir::Expression::BitCast { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 633 | let index_id_expr = ir::Expression::Value(ir::Value::Local(index_id)); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 634 | let index_id_rvalue = ir::Expression::LValueToRValue(Box::new(index_id_expr.clone())); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 635 | [INFO] [stdout] 636 | let init = utils::build_assign_to_id(index_id, zero_literal); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 637 | [INFO] [stdout] 638 | let condition = ir::Expression::BinaryOperator { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 644 | let step = ir::Expression::LValueUnaryOperator { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 649 | let body = vec![ [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 656 | let stmts = vec![ [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 665 | Ok(utils::TypedExpression { [INFO] [stdout] | ____________^ [INFO] [stdout] 666 | | ty: lvalue_ty, [INFO] [stdout] 667 | | expr: ir::Expression::Block(Box::new(ir::BlockExpression { [INFO] [stdout] 668 | | stmts, [INFO] [stdout] 669 | | final_expr: res_id_expr, [INFO] [stdout] 670 | | })), [INFO] [stdout] 671 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/trans/func_trans.rs:697:12 [INFO] [stdout] | [INFO] [stdout] 676 | array: Spanned, [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 677 | index: Spanned, [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 682 | let array = self.translate_expression(array)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 683 | let mut index = self.translate_expression(index)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 687 | let (sub_ty, ptr) = if let Some(s) = utils::unsure_subscriptable(&self.tables.types, array) [INFO] [stdout] | --- - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 697 | Ok(utils::TypedExpression { [INFO] [stdout] | ____________^ [INFO] [stdout] 698 | | ty: lvalue_ty, [INFO] [stdout] 699 | | expr: utils::build_subscript(ptr, index.expr), [INFO] [stdout] 700 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/trans/func_trans.rs:746:12 [INFO] [stdout] | [INFO] [stdout] 706 | lhs: Spanned, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 707 | rhs: Spanned, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 710 | let lhs = self.translate_expression(lhs)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 711 | let lhs = utils::lvalue_to_rvalue(lhs); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 712 | let rhs = self.translate_expression(rhs)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 713 | let rhs = utils::lvalue_to_rvalue(rhs); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 723 | let (true_expr, false_expr) = match lazyop { [INFO] [stdout] | --------- ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 724 | ast::LazyOperatorKind::LogicalOr => { [INFO] [stdout] 725 | let true_expr = ir::Expression::Value(ir::Value::Literal( [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 728 | let false_expr = rhs.expr; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 732 | let true_expr = rhs.expr; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 733 | let false_expr = ir::Expression::Value(ir::Value::Literal( [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 740 | let expr = ir::Expression::Ternary { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 746 | Ok(utils::TypedExpression { ty: bool_ty, expr }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 30 previous errors; 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `struct_name` is never read [INFO] [stdout] --> src/trans/utils.rs:211:5 [INFO] [stdout] | [INFO] [stdout] 210 | pub struct StructLitChecker { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 211 | struct_name: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StructLitChecker` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/mod.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 15 | let declarations = { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 18 | let mut declarations = Vec::new(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 26 | Ok(ast::Program { declarations }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/mod.rs:153:12 [INFO] [stdout] | [INFO] [stdout] 148 | let fields = self.parse_comma_sep(&Token::RightBracket, Parser::parse_field, true)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 153 | Ok(ast::Declaration::Struct(ast::Struct { name, fields, span })) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/mod.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 161 | let ty = self.parse_type()?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 162 | Ok((name, ty)) [INFO] [stdout] | ^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/mod.rs:183:12 [INFO] [stdout] | [INFO] [stdout] 170 | let (parameters, is_vararg) = self.parse_extern_parameter_list()?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 173 | let return_ty = if let Token::Arrow = self.lexer.peek_token()?.inner { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 183 | Ok(ast::Declaration::ExternFunction(ast::ExternFunction { [INFO] [stdout] | ____________^ [INFO] [stdout] 184 | | return_ty, [INFO] [stdout] 185 | | name, [INFO] [stdout] 186 | | parameters, [INFO] [stdout] 187 | | is_vararg, [INFO] [stdout] 188 | | span, [INFO] [stdout] 189 | | })) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |__________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/mod.rs:213:12 [INFO] [stdout] | [INFO] [stdout] 194 | let mut result = Vec::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 213 | Ok((result, is_vararg)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/mod.rs:236:12 [INFO] [stdout] | [INFO] [stdout] 220 | let parameters = [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 224 | let return_ty = if let Token::Arrow = self.lexer.peek_token()?.inner { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 225 | self.lexer.next_token()?; [INFO] [stdout] 226 | let ty = self.parse_type()?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 234 | let body = self.parse_block_statement()?.inner; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 235 | [INFO] [stdout] 236 | Ok(ast::Declaration::Function(ast::Function { [INFO] [stdout] | ____________^ [INFO] [stdout] 237 | | return_ty, [INFO] [stdout] 238 | | name, [INFO] [stdout] 239 | | parameters, [INFO] [stdout] 240 | | body, [INFO] [stdout] 241 | | span, [INFO] [stdout] 242 | | })) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |__________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/mod.rs:249:12 [INFO] [stdout] | [INFO] [stdout] 248 | let ty = self.parse_type()?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 249 | Ok((name, ty)) [INFO] [stdout] | ^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/mod.rs:270:12 [INFO] [stdout] | [INFO] [stdout] 258 | let mut block = Vec::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 270 | Ok(Spanned::new(ast::BlockStatement::from_vec(block), span)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/mod.rs:335:12 [INFO] [stdout] | [INFO] [stdout] 316 | let condition = self.parse_expression()?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 317 | expect!(self.lexer; Token::RightParenthesis, ")"); [INFO] [stdout] 318 | let body = Box::new(self.parse_statement()?); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 319 | [INFO] [stdout] 320 | let else_clause = if let Token::ElseKeyword = self.lexer.peek_token()?.inner { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 321 | self.lexer.next_token()?; [INFO] [stdout] 322 | let body = Box::new(self.parse_statement()?); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 335 | Ok(Spanned::new( [INFO] [stdout] | ____________^ [INFO] [stdout] 336 | | ast::Statement::If(ast::IfStatement { [INFO] [stdout] 337 | | condition, [INFO] [stdout] 338 | | body, [INFO] [stdout] ... | [INFO] [stdout] 341 | | span, [INFO] [stdout] 342 | | )) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/mod.rs:354:12 [INFO] [stdout] | [INFO] [stdout] 348 | let condition = self.parse_expression()?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 349 | expect!(self.lexer; Token::RightParenthesis, ")"); [INFO] [stdout] 350 | let body = Box::new(self.parse_statement()?); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 354 | Ok(Spanned::new( [INFO] [stdout] | ____________^ [INFO] [stdout] 355 | | ast::Statement::While(ast::WhileStatement { condition, body }), [INFO] [stdout] 356 | | span, [INFO] [stdout] 357 | | )) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/mod.rs:384:12 [INFO] [stdout] | [INFO] [stdout] 364 | let init = if let Token::LetKeyword = self.lexer.peek_token()?.inner { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 369 | let init = Box::new(init); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 370 | [INFO] [stdout] 371 | let condition = self.parse_expression()?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 372 | expect!(self.lexer; Token::SemiColon, ";"); [INFO] [stdout] 373 | let step = if let Token::RightParenthesis = self.lexer.peek_token()?.inner { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 380 | let body = Box::new(self.parse_statement()?); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 384 | Ok(Spanned::new( [INFO] [stdout] | ____________^ [INFO] [stdout] 385 | | ast::Statement::For(ast::ForStatement { [INFO] [stdout] 386 | | init, [INFO] [stdout] 387 | | condition, [INFO] [stdout] ... | [INFO] [stdout] 391 | | span, [INFO] [stdout] 392 | | )) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/mod.rs:406:12 [INFO] [stdout] | [INFO] [stdout] 397 | let expr = if let Token::SemiColon = self.lexer.peek_token()?.inner { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 406 | Ok(Spanned::new(ast::Statement::Return(expr), span)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/mod.rs:426:12 [INFO] [stdout] | [INFO] [stdout] 413 | let ty = if let Token::Colon = self.lexer.peek_token()?.inner { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 421 | let value = self.parse_expression()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 426 | Ok(Spanned::new( [INFO] [stdout] | ____________^ [INFO] [stdout] 427 | | ast::Statement::Let(ast::LetStatement { ty, name, value }), [INFO] [stdout] 428 | | span, [INFO] [stdout] 429 | | )) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/mod.rs:702:12 [INFO] [stdout] | [INFO] [stdout] 694 | let fields = [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 698 | let expr = ast::Expression::StructLiteral { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 702 | Ok(Spanned::new(expr, span)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/mod.rs:743:12 [INFO] [stdout] | [INFO] [stdout] 742 | let field_expr = self.parse_expression()?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 743 | Ok((name, field_expr)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/trans/mod.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 22 | program: ast::Program, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | runtime: Option, [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | ) -> TranslationResult { [INFO] [stdout] 25 | let mut declarations = runtime.map(|r| r.declarations).unwrap_or_default(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 28 | let mut functions = Vec::new(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | let mut exfunctions = Vec::new(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | let mut structs = Vec::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 81 | Ok(ir::Program { declarations }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/trans/mod.rs:125:8 [INFO] [stdout] | [INFO] [stdout] 86 | function: ast::Function, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 108 | let (mut body, var_declarations) = { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 109 | let mut func_builder = FunctionBuilder::new(tables, func_return_ty); [INFO] [stdout] 110 | let mut body = func_builder.translate_block_statement(function.body)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 125 | Ok(ir::Function { [INFO] [stdout] | ________^ [INFO] [stdout] 126 | | return_ty: func_return_ty, [INFO] [stdout] 127 | | name: function.name, [INFO] [stdout] 128 | | parameters, [INFO] [stdout] ... | [INFO] [stdout] 131 | | span: function.span, [INFO] [stdout] 132 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/trans/utils.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn build_assign_to_id(id: IdentifierId, rhs: ir::Expression) -> ir::Expression { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 26 | lhs: Box::new(ir::Expression::Value(value)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/trans/utils.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn build_assign_to_id(id: IdentifierId, rhs: ir::Expression) -> ir::Expression { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 27 | rhs: Box::new(rhs), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/trans/utils.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 32 | struct_expr: ir::Expression, [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 33 | index: usize, [INFO] [stdout] 34 | expr: ir::Expression, [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 37 | lhs: Box::new(ir::Expression::FieldAccess { [INFO] [stdout] | ______________^ [INFO] [stdout] 38 | | sub: Box::new(struct_expr), [INFO] [stdout] 39 | | index, [INFO] [stdout] 40 | | }), [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/trans/utils.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 32 | struct_expr: ir::Expression, [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 33 | index: usize, [INFO] [stdout] 34 | expr: ir::Expression, [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | rhs: Box::new(expr), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/trans/utils.rs:51:14 [INFO] [stdout] | [INFO] [stdout] 46 | ptr: ir::Expression, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 47 | index: usize, [INFO] [stdout] 48 | expr: ir::Expression, [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | lhs: Box::new(build_subscript( [INFO] [stdout] | ______________^ [INFO] [stdout] 52 | | ptr, [INFO] [stdout] 53 | | ir::Expression::Value(ir::Value::Literal(common::Literal::IntLiteral(index as _))), [INFO] [stdout] 54 | | )), [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/trans/utils.rs:55:14 [INFO] [stdout] | [INFO] [stdout] 46 | ptr: ir::Expression, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 47 | index: usize, [INFO] [stdout] 48 | expr: ir::Expression, [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 55 | rhs: Box::new(expr), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/trans/utils.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn build_subscript(ptr: ir::Expression, index: ir::Expression) -> ir::Expression { [INFO] [stdout] | ------------------- --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 62 | sub: Box::new(ir::Expression::BinaryOperator { [INFO] [stdout] | ______________^ [INFO] [stdout] 63 | | binop: ir::BinaryOperatorKind::PtrPlusOffset, [INFO] [stdout] 64 | | lhs: Box::new(ptr), [INFO] [stdout] 65 | | rhs: Box::new(index), [INFO] [stdout] 66 | | }), [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/trans/func_trans.rs:506:12 [INFO] [stdout] | [INFO] [stdout] 473 | fields: Vec<(Spanned, Spanned)>, [INFO] [stdout] | -------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 490 | let res_id_expr = ir::Expression::Value(ir::Value::Local(res_id)); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 491 | let mut stmts = Vec::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 506 | Ok(utils::TypedExpression { [INFO] [stdout] | ____________^ [INFO] [stdout] 507 | | ty: lvalue_ty, [INFO] [stdout] 508 | | expr: ir::Expression::Block(Box::new(ir::BlockExpression { [INFO] [stdout] 509 | | stmts, [INFO] [stdout] 510 | | final_expr: res_id_expr, [INFO] [stdout] 511 | | })), [INFO] [stdout] 512 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/trans/func_trans.rs:545:12 [INFO] [stdout] | [INFO] [stdout] 517 | values: Vec>, [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 520 | let mut trans_values = Vec::with_capacity(values.len()); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 533 | let res_id_expr = ir::Expression::Value(ir::Value::Local(res_id)); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 534 | [INFO] [stdout] 535 | let mut stmts = Vec::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 545 | Ok(utils::TypedExpression { [INFO] [stdout] | ____________^ [INFO] [stdout] 546 | | ty: lvalue_ty, [INFO] [stdout] 547 | | expr: ir::Expression::Block(Box::new(ir::BlockExpression { [INFO] [stdout] 548 | | stmts, [INFO] [stdout] 549 | | final_expr: res_id_expr, [INFO] [stdout] 550 | | })), [INFO] [stdout] 551 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `yal` (lib test) due to 31 previous errors; 21 warnings emitted [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/trans/func_trans.rs:597:12 [INFO] [stdout] | [INFO] [stdout] 556 | values: Vec>, [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 565 | let mut trans_values = Vec::with_capacity(values.len()); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 584 | let res_id_expr = ir::Expression::Value(ir::Value::Local(res_id)); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 585 | let ptr_expr = ir::Expression::BitCast { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 590 | let mut stmts = Vec::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 597 | Ok(utils::TypedExpression { [INFO] [stdout] | ____________^ [INFO] [stdout] 598 | | ty: lvalue_ty, [INFO] [stdout] 599 | | expr: ir::Expression::Block(Box::new(ir::BlockExpression { [INFO] [stdout] 600 | | stmts, [INFO] [stdout] 601 | | final_expr: res_id_expr, [INFO] [stdout] 602 | | })), [INFO] [stdout] 603 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/trans/func_trans.rs:665:12 [INFO] [stdout] | [INFO] [stdout] 608 | value: Spanned, [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 611 | let value = self.translate_expression(value)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 612 | let value = utils::lvalue_to_rvalue(value); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 613 | [INFO] [stdout] 614 | let zero_literal = [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 615 | ir::Expression::Value(ir::Value::Literal(common::Literal::IntLiteral(0))); [INFO] [stdout] 616 | let size_literal = [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 625 | let res_id_expr = ir::Expression::Value(ir::Value::Local(res_id)); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 626 | let ptr_expr = ir::Expression::BitCast { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 633 | let index_id_expr = ir::Expression::Value(ir::Value::Local(index_id)); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 634 | let index_id_rvalue = ir::Expression::LValueToRValue(Box::new(index_id_expr.clone())); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 635 | [INFO] [stdout] 636 | let init = utils::build_assign_to_id(index_id, zero_literal); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 637 | [INFO] [stdout] 638 | let condition = ir::Expression::BinaryOperator { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 644 | let step = ir::Expression::LValueUnaryOperator { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 649 | let body = vec![ [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 656 | let stmts = vec![ [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 665 | Ok(utils::TypedExpression { [INFO] [stdout] | ____________^ [INFO] [stdout] 666 | | ty: lvalue_ty, [INFO] [stdout] 667 | | expr: ir::Expression::Block(Box::new(ir::BlockExpression { [INFO] [stdout] 668 | | stmts, [INFO] [stdout] 669 | | final_expr: res_id_expr, [INFO] [stdout] 670 | | })), [INFO] [stdout] 671 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/trans/func_trans.rs:697:12 [INFO] [stdout] | [INFO] [stdout] 676 | array: Spanned, [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 677 | index: Spanned, [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 682 | let array = self.translate_expression(array)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 683 | let mut index = self.translate_expression(index)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 687 | let (sub_ty, ptr) = if let Some(s) = utils::unsure_subscriptable(&self.tables.types, array) [INFO] [stdout] | --- - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 697 | Ok(utils::TypedExpression { [INFO] [stdout] | ____________^ [INFO] [stdout] 698 | | ty: lvalue_ty, [INFO] [stdout] 699 | | expr: utils::build_subscript(ptr, index.expr), [INFO] [stdout] 700 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/trans/func_trans.rs:746:12 [INFO] [stdout] | [INFO] [stdout] 706 | lhs: Spanned, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 707 | rhs: Spanned, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 710 | let lhs = self.translate_expression(lhs)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 711 | let lhs = utils::lvalue_to_rvalue(lhs); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 712 | let rhs = self.translate_expression(rhs)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 713 | let rhs = utils::lvalue_to_rvalue(rhs); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 723 | let (true_expr, false_expr) = match lazyop { [INFO] [stdout] | --------- ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 724 | ast::LazyOperatorKind::LogicalOr => { [INFO] [stdout] 725 | let true_expr = ir::Expression::Value(ir::Value::Literal( [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 728 | let false_expr = rhs.expr; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 732 | let true_expr = rhs.expr; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 733 | let false_expr = ir::Expression::Value(ir::Value::Literal( [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 740 | let expr = ir::Expression::Ternary { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 746 | Ok(utils::TypedExpression { ty: bool_ty, expr }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 30 previous errors; 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `yal` (lib) due to 31 previous errors; 21 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1d83f0d9b9c67beab8222e1f1460b790fc9ca14000bc5cc3c480cb26d92c4ae3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d83f0d9b9c67beab8222e1f1460b790fc9ca14000bc5cc3c480cb26d92c4ae3", kill_on_drop: false }` [INFO] [stdout] 1d83f0d9b9c67beab8222e1f1460b790fc9ca14000bc5cc3c480cb26d92c4ae3