[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] testing paulcacheux/YAL against beta-2021-09-08 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpaulcacheux%2FYAL" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/paulcacheux/YAL on toolchain beta-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "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-10/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: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7744867ccafc99b01effd6cce28a23616c343e516ac0e735ef839f123d939c0d [INFO] running `Command { std: "docker" "start" "-a" "7744867ccafc99b01effd6cce28a23616c343e516ac0e735ef839f123d939c0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7744867ccafc99b01effd6cce28a23616c343e516ac0e735ef839f123d939c0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7744867ccafc99b01effd6cce28a23616c343e516ac0e735ef839f123d939c0d", kill_on_drop: false }` [INFO] [stdout] 7744867ccafc99b01effd6cce28a23616c343e516ac0e735ef839f123d939c0d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 06a23f5d65c29d461e1755372ad368e24261e258051cc211560a3df5534a5770 [INFO] running `Command { std: "docker" "start" "-a" "06a23f5d65c29d461e1755372ad368e24261e258051cc211560a3df5534a5770", kill_on_drop: false }` [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 gcc v0.3.54 [INFO] [stderr] Compiling unicode-width v0.1.4 [INFO] [stderr] Compiling strsim v0.6.0 [INFO] [stderr] Compiling bitflags v1.0.1 [INFO] [stderr] Compiling ansi_term v0.10.2 [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 textwrap v0.9.0 [INFO] [stderr] Compiling unreachable v1.0.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 aho-corasick v0.6.4 [INFO] [stderr] Compiling clap v2.29.1 [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] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [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] 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 `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` (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 `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` (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 `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` (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 `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` (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 `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` (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 `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` (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 `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` (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 `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` (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 `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` (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 `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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [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: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 16.15s [INFO] running `Command { std: "docker" "inspect" "06a23f5d65c29d461e1755372ad368e24261e258051cc211560a3df5534a5770", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06a23f5d65c29d461e1755372ad368e24261e258051cc211560a3df5534a5770", kill_on_drop: false }` [INFO] [stdout] 06a23f5d65c29d461e1755372ad368e24261e258051cc211560a3df5534a5770 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9d27a148df314d70df0beefad6f9f571efc2ebae2af85322a41bf26255bc8c12 [INFO] running `Command { std: "docker" "start" "-a" "9d27a148df314d70df0beefad6f9f571efc2ebae2af85322a41bf26255bc8c12", kill_on_drop: false }` [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] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [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] 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 `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` (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 `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` (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 `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` (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 `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` (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 `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` (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 `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` (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 `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` (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 `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` (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 `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` (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 `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` (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 associated function `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] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [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: 16 warnings emitted [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] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [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] 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 `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` (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 `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` (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 `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` (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 `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` (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 `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` (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 `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` (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 `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` (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 `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` (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 `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` (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 `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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [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: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.06s [INFO] running `Command { std: "docker" "inspect" "9d27a148df314d70df0beefad6f9f571efc2ebae2af85322a41bf26255bc8c12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d27a148df314d70df0beefad6f9f571efc2ebae2af85322a41bf26255bc8c12", kill_on_drop: false }` [INFO] [stdout] 9d27a148df314d70df0beefad6f9f571efc2ebae2af85322a41bf26255bc8c12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5e1af1ed29805b5a7e9b5037e993da977021fe216664347c86f96d6cfa6a83b9 [INFO] running `Command { std: "docker" "start" "-a" "5e1af1ed29805b5a7e9b5037e993da977021fe216664347c86f96d6cfa6a83b9", kill_on_drop: false }` [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/parser/mod.rs:58:11 [INFO] [stderr] | [INFO] [stderr] 58 | )); [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 139 | _ => return_unexpected!(span, "struct", "typedef", "extern", "fn"), [INFO] [stderr] | ------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `return_unexpected` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/parser/mod.rs:58:11 [INFO] [stderr] | [INFO] [stderr] 58 | )); [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 566 | return_unexpected!(span, "identifier", "int literal") [INFO] [stderr] | ----------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: macro invocations at the end of a block are treated as expressions [INFO] [stderr] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `return_unexpected` [INFO] [stderr] = note: this warning originates in the macro `return_unexpected` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/parser/mod.rs:58:11 [INFO] [stderr] | [INFO] [stderr] 58 | )); [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 631 | _ => return_unexpected!(span, ")", ","), [INFO] [stderr] | ---------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `return_unexpected` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/parser/mod.rs:58:11 [INFO] [stderr] | [INFO] [stderr] 58 | )); [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 669 | _ => return_unexpected!(span, ",", ";", "]"), [INFO] [stderr] | --------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `return_unexpected` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/lexer/mod.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | / lazy_static! { [INFO] [stderr] 9 | | static ref WHITESPACES: Regex = Regex::new(r"^\s+").unwrap(); [INFO] [stderr] 10 | | static ref LINE_COMMENT: Regex = Regex::new(r"^//.*").unwrap(); [INFO] [stderr] 11 | | static ref LINE_PP_COMMENT: Regex = Regex::new(r"^#.*").unwrap(); [INFO] [stderr] ... | [INFO] [stderr] 20 | | static ref STRING_REGEX: Regex = Regex::new(r##"^"(([^"]|\\")*[^\\])?""##).unwrap(); [INFO] [stderr] 21 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/lexer/mod.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | / lazy_static! { [INFO] [stderr] 9 | | static ref WHITESPACES: Regex = Regex::new(r"^\s+").unwrap(); [INFO] [stderr] 10 | | static ref LINE_COMMENT: Regex = Regex::new(r"^//.*").unwrap(); [INFO] [stderr] 11 | | static ref LINE_PP_COMMENT: Regex = Regex::new(r"^#.*").unwrap(); [INFO] [stderr] ... | [INFO] [stderr] 20 | | static ref STRING_REGEX: Regex = Regex::new(r##"^"(([^"]|\\")*[^\\])?""##).unwrap(); [INFO] [stderr] 21 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/trans/tables.rs:103:1 [INFO] [stderr] | [INFO] [stderr] 103 | / lazy_static! { [INFO] [stderr] 104 | | static ref CONTEXT: Context = Context::new(); [INFO] [stderr] 105 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stderr] --> src/codemap.rs:15:15 [INFO] [stderr] | [INFO] [stderr] 15 | s.trim_right_matches(|c| c == '\r' || c == '\n') [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/trans/mod.rs:110:13 [INFO] [stderr] | [INFO] [stderr] 110 | let mut body = func_builder.translate_block_statement(function.body)?; [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `yal` (lib) generated 16 warnings (7 duplicates) [INFO] [stderr] warning: `yal` (lib test) generated 16 warnings (16 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/yal-6b37e845606f88f6) [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/yalc-d0de416cff1e5586) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests yal [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5e1af1ed29805b5a7e9b5037e993da977021fe216664347c86f96d6cfa6a83b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e1af1ed29805b5a7e9b5037e993da977021fe216664347c86f96d6cfa6a83b9", kill_on_drop: false }` [INFO] [stdout] 5e1af1ed29805b5a7e9b5037e993da977021fe216664347c86f96d6cfa6a83b9