[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] building paulcacheux/YAL against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpaulcacheux%2FYAL" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/paulcacheux/YAL on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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-1-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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap v2.29.1 [INFO] [stderr] Downloaded typed-arena v1.3.0 [INFO] [stderr] Downloaded llvm-sys v50.0.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7424533fee7a607139d8304900a515fce951a000b114410135b6a59cb34e2982 [INFO] running `Command { std: "docker" "start" "-a" "7424533fee7a607139d8304900a515fce951a000b114410135b6a59cb34e2982", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7424533fee7a607139d8304900a515fce951a000b114410135b6a59cb34e2982", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7424533fee7a607139d8304900a515fce951a000b114410135b6a59cb34e2982", kill_on_drop: false }` [INFO] [stdout] 7424533fee7a607139d8304900a515fce951a000b114410135b6a59cb34e2982 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ab7ea4fa946a0e0f99807a88bf1196fecb9d321aab2daeb855abe42c0abb9a21 [INFO] running `Command { std: "docker" "start" "-a" "ab7ea4fa946a0e0f99807a88bf1196fecb9d321aab2daeb855abe42c0abb9a21", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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 semver-parser v0.7.0 [INFO] [stderr] Compiling regex-syntax v0.4.2 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling gcc v0.3.54 [INFO] [stderr] Compiling unicode-width v0.1.4 [INFO] [stderr] Compiling ansi_term v0.10.2 [INFO] [stderr] Compiling bitflags v1.0.1 [INFO] [stderr] Compiling strsim v0.6.0 [INFO] [stderr] Compiling vec_map v0.8.0 [INFO] [stderr] Compiling typed-arena v1.3.0 [INFO] [stderr] Compiling if_chain v0.1.2 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling textwrap v0.9.0 [INFO] [stderr] Compiling thread_local v0.3.5 [INFO] [stderr] Compiling semver v0.6.0 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling atty v0.2.6 [INFO] [stderr] Compiling clap v2.29.1 [INFO] [stderr] Compiling aho-corasick v0.6.4 [INFO] [stderr] Compiling regex v0.2.5 [INFO] [stderr] Compiling llvm-sys v50.0.2 [INFO] [stderr] Compiling 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: 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: 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.86s [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" "ab7ea4fa946a0e0f99807a88bf1196fecb9d321aab2daeb855abe42c0abb9a21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab7ea4fa946a0e0f99807a88bf1196fecb9d321aab2daeb855abe42c0abb9a21", kill_on_drop: false }` [INFO] [stdout] ab7ea4fa946a0e0f99807a88bf1196fecb9d321aab2daeb855abe42c0abb9a21 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7f1ac7dbcde5f2ed1be6fa9ab9521b4e4c88c9c13c6964d4fa06119936e7aded [INFO] running `Command { std: "docker" "start" "-a" "7f1ac7dbcde5f2ed1be6fa9ab9521b4e4c88c9c13c6964d4fa06119936e7aded", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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] [stderr] Compiling yal v0.2.0 (/opt/rustwide/workdir) [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: 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: 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 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: 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.95s [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 2` [INFO] running `Command { std: "docker" "inspect" "7f1ac7dbcde5f2ed1be6fa9ab9521b4e4c88c9c13c6964d4fa06119936e7aded", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f1ac7dbcde5f2ed1be6fa9ab9521b4e4c88c9c13c6964d4fa06119936e7aded", kill_on_drop: false }` [INFO] [stdout] 7f1ac7dbcde5f2ed1be6fa9ab9521b4e4c88c9c13c6964d4fa06119936e7aded