[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 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpaulcacheux%2FYAL" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/paulcacheux/YAL on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-0/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" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded llvm-sys v50.0.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 294a93f6db07aa3f09dcdec79d5db41c2c07d5a95a128c8791cb05aefd30c189 [INFO] running `Command { std: "docker" "start" "-a" "294a93f6db07aa3f09dcdec79d5db41c2c07d5a95a128c8791cb05aefd30c189", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "294a93f6db07aa3f09dcdec79d5db41c2c07d5a95a128c8791cb05aefd30c189", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "294a93f6db07aa3f09dcdec79d5db41c2c07d5a95a128c8791cb05aefd30c189", kill_on_drop: false }` [INFO] [stdout] 294a93f6db07aa3f09dcdec79d5db41c2c07d5a95a128c8791cb05aefd30c189 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 10ec4b652fd2ea54eac4261c08f88d3652b901020ea669084c1a714419545fd3 [INFO] running `Command { std: "docker" "start" "-a" "10ec4b652fd2ea54eac4261c08f88d3652b901020ea669084c1a714419545fd3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.35 [INFO] [stderr] Compiling lazy_static v1.0.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 vec_map v0.8.0 [INFO] [stderr] Compiling ansi_term v0.10.2 [INFO] [stderr] Compiling if_chain v0.1.2 [INFO] [stderr] Compiling typed-arena v1.3.0 [INFO] [stderr] Compiling semver v0.6.0 [INFO] [stderr] Compiling textwrap v0.9.0 [INFO] [stderr] Compiling thread_local v0.3.5 [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] = 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: field is never read: `struct_name` [INFO] [stdout] --> src/trans/utils.rs:211:5 [INFO] [stdout] | [INFO] [stdout] 211 | struct_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `StructLitChecker` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/trans/utils.rs:209:10 [INFO] [stdout] | [INFO] [stdout] 209 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 40.87s [INFO] running `Command { std: "docker" "inspect" "10ec4b652fd2ea54eac4261c08f88d3652b901020ea669084c1a714419545fd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10ec4b652fd2ea54eac4261c08f88d3652b901020ea669084c1a714419545fd3", kill_on_drop: false }` [INFO] [stdout] 10ec4b652fd2ea54eac4261c08f88d3652b901020ea669084c1a714419545fd3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] be1a1ac4003bfced1930e230adc77e4038052aa121fdefb60fe13bb7acf10ccc [INFO] running `Command { std: "docker" "start" "-a" "be1a1ac4003bfced1930e230adc77e4038052aa121fdefb60fe13bb7acf10ccc", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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] [stderr] Compiling yal v0.2.0 (/opt/rustwide/workdir) [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: field is never read: `struct_name` [INFO] [stdout] --> src/trans/utils.rs:211:5 [INFO] [stdout] | [INFO] [stdout] 211 | struct_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `StructLitChecker` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/trans/utils.rs:209:10 [INFO] [stdout] | [INFO] [stdout] 209 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 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: field is never read: `struct_name` [INFO] [stdout] --> src/trans/utils.rs:211:5 [INFO] [stdout] | [INFO] [stdout] 211 | struct_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `StructLitChecker` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/trans/utils.rs:209:10 [INFO] [stdout] | [INFO] [stdout] 209 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.61s [INFO] running `Command { std: "docker" "inspect" "be1a1ac4003bfced1930e230adc77e4038052aa121fdefb60fe13bb7acf10ccc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be1a1ac4003bfced1930e230adc77e4038052aa121fdefb60fe13bb7acf10ccc", kill_on_drop: false }` [INFO] [stdout] be1a1ac4003bfced1930e230adc77e4038052aa121fdefb60fe13bb7acf10ccc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d08f58e22768d960d6b55a37503d419da0a3d7becf69d34c6c6389ee75f5a5aa [INFO] running `Command { std: "docker" "start" "-a" "d08f58e22768d960d6b55a37503d419da0a3d7becf69d34c6c6389ee75f5a5aa", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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] [stdout] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] running 0 tests [INFO] [stderr] --> src/trans/tables.rs:103:1 [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] 103 | / lazy_static! { [INFO] [stdout] [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: field is never read: `struct_name` [INFO] [stderr] --> src/trans/utils.rs:211:5 [INFO] [stderr] | [INFO] [stderr] 211 | struct_name: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `StructLitChecker` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/trans/utils.rs:209:10 [INFO] [stderr] | [INFO] [stderr] 209 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `yal` (lib) generated 17 warnings (7 duplicates) [INFO] [stderr] warning: `yal` (lib test) generated 17 warnings (17 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.05s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/yal-6cfb2e0c9502d31f) [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/yalc-349c835a508b8898) [INFO] [stdout] [INFO] [stderr] Doc-tests yal [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] running `Command { std: "docker" "inspect" "d08f58e22768d960d6b55a37503d419da0a3d7becf69d34c6c6389ee75f5a5aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d08f58e22768d960d6b55a37503d419da0a3d7becf69d34c6c6389ee75f5a5aa", kill_on_drop: false }` [INFO] [stdout] d08f58e22768d960d6b55a37503d419da0a3d7becf69d34c6c6389ee75f5a5aa