[INFO] cloning repository https://github.com/paulcacheux/YAL [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/paulcacheux/YAL" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpaulcacheux%2FYAL", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpaulcacheux%2FYAL'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8462218d0563fb573aed4b8801e1a576579bfe8b [INFO] checking paulcacheux/YAL against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpaulcacheux%2FYAL" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/paulcacheux/YAL on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "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-4/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f38e613d1f995dad5bc4b9548354ea8c3091002a31755ecd1208efa3750eccce [INFO] running `Command { std: "docker" "start" "-a" "f38e613d1f995dad5bc4b9548354ea8c3091002a31755ecd1208efa3750eccce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f38e613d1f995dad5bc4b9548354ea8c3091002a31755ecd1208efa3750eccce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f38e613d1f995dad5bc4b9548354ea8c3091002a31755ecd1208efa3750eccce", kill_on_drop: false }` [INFO] [stdout] f38e613d1f995dad5bc4b9548354ea8c3091002a31755ecd1208efa3750eccce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f37dbfb3ac40f969ba98eae16fdf16dc3cbd97a44bfce819b811bf81dffeb798 [INFO] running `Command { std: "docker" "start" "-a" "f37dbfb3ac40f969ba98eae16fdf16dc3cbd97a44bfce819b811bf81dffeb798", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.35 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling regex-syntax v0.4.2 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Checking lazy_static v1.0.0 [INFO] [stderr] Checking bitflags v1.0.1 [INFO] [stderr] Checking ansi_term v0.10.2 [INFO] [stderr] Checking if_chain v0.1.2 [INFO] [stderr] Checking typed-arena v1.3.0 [INFO] [stderr] Checking textwrap v0.9.0 [INFO] [stderr] Compiling thread_local v0.3.5 [INFO] [stderr] Compiling semver v0.6.0 [INFO] [stderr] Checking memchr v2.0.1 [INFO] [stderr] Checking atty v0.2.6 [INFO] [stderr] Checking clap v2.29.1 [INFO] [stderr] Checking aho-corasick v0.6.4 [INFO] [stderr] Checking regex v0.2.5 [INFO] [stderr] Compiling llvm-sys v50.0.2 [INFO] [stderr] Checking yal v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/if_chain-0.1.2/src/lib.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | $then [INFO] [stdout] | ^^^^^ help: remove these braces [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/if_chain-0.1.2/src/lib.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | $then [INFO] [stdout] | ^^^^^ help: remove these braces [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [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 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: 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: 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: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 11.36s [INFO] running `Command { std: "docker" "inspect" "f37dbfb3ac40f969ba98eae16fdf16dc3cbd97a44bfce819b811bf81dffeb798", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f37dbfb3ac40f969ba98eae16fdf16dc3cbd97a44bfce819b811bf81dffeb798", kill_on_drop: false }` [INFO] [stdout] f37dbfb3ac40f969ba98eae16fdf16dc3cbd97a44bfce819b811bf81dffeb798