[INFO] cloning repository https://github.com/cbarrick/ripl [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cbarrick/ripl" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcbarrick%2Fripl", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcbarrick%2Fripl'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2d4f3dac2f50942ba922259fc497cc1a14ce4d7a [INFO] checking cbarrick/ripl/2d4f3dac2f50942ba922259fc497cc1a14ce4d7a against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcbarrick%2Fripl" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cbarrick/ripl on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/cbarrick/ripl [INFO] finished tweaking git repo https://github.com/cbarrick/ripl [INFO] tweaked toml for git repo https://github.com/cbarrick/ripl written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/cbarrick/ripl already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thread_local v0.3.3 [INFO] [stderr] Downloaded thread-id v3.0.0 [INFO] [stderr] Downloaded memchr v1.0.1 [INFO] [stderr] Downloaded aho-corasick v0.6.3 [INFO] [stderr] Downloaded lazy_static v0.2.5 [INFO] [stderr] Downloaded num-traits v0.1.37 [INFO] [stderr] Downloaded libc v0.2.20 [INFO] [stderr] Downloaded regex-syntax v0.4.0 [INFO] [stderr] Downloaded regex v0.2.1 [INFO] [stderr] Downloaded unicode-normalization v0.1.4 [INFO] [stderr] Downloaded ordered-float v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0570c2cb234c9b91a7ad89a0d57784cfd4c06d88564e977322c66b444f6f3681 [INFO] running `Command { std: "docker" "start" "-a" "0570c2cb234c9b91a7ad89a0d57784cfd4c06d88564e977322c66b444f6f3681", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0570c2cb234c9b91a7ad89a0d57784cfd4c06d88564e977322c66b444f6f3681", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0570c2cb234c9b91a7ad89a0d57784cfd4c06d88564e977322c66b444f6f3681", kill_on_drop: false }` [INFO] [stdout] 0570c2cb234c9b91a7ad89a0d57784cfd4c06d88564e977322c66b444f6f3681 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f5894bef74396f8a9f15a8ce653c2c01876efa09501565313fee424e643f765e [INFO] running `Command { std: "docker" "start" "-a" "f5894bef74396f8a9f15a8ce653c2c01876efa09501565313fee424e643f765e", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking libc v0.2.20 [INFO] [stderr] Checking unreachable v0.1.1 [INFO] [stderr] Checking regex-syntax v0.4.0 [INFO] [stderr] Checking num-traits v0.1.37 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Checking lazy_static v0.2.5 [INFO] [stderr] Checking unicode-normalization v0.1.4 [INFO] [stderr] Checking memchr v1.0.1 [INFO] [stderr] Checking thread-id v3.0.0 [INFO] [stderr] Checking rand v0.3.15 [INFO] [stderr] Checking thread_local v0.3.3 [INFO] [stderr] Checking aho-corasick v0.6.3 [INFO] [stderr] Checking ordered-float v0.4.0 [INFO] [stderr] Checking regex v0.2.1 [INFO] [stderr] Checking ripl v0.1.0-master (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(custom_attribute)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in favor of `#![register_tool]` and `#![register_attr]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(custom_attribute)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in favor of `#![register_tool]` and `#![register_attr]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(box_syntax, box_patterns)] [INFO] [stdout] | ^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: replaced with `#[rustc_box]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(box_syntax, box_patterns)] [INFO] [stdout] | ^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: replaced with `#[rustc_box]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/syntax/namespace.rs:106:34 [INFO] [stdout] | [INFO] [stdout] 105 | impl<'ns> From<&'ns str> for Name<'ns> { [INFO] [stdout] | --- lifetime `'ns` declared here [INFO] [stdout] 106 | fn from(string: &'ns str) -> Name { [INFO] [stdout] | ^^^^ this elided lifetime gets resolved as `'ns` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/syntax/namespace.rs:106:34 [INFO] [stdout] | [INFO] [stdout] 105 | impl<'ns> From<&'ns str> for Name<'ns> { [INFO] [stdout] | --- lifetime `'ns` declared here [INFO] [stdout] 106 | fn from(string: &'ns str) -> Name { [INFO] [stdout] | ^^^^ this elided lifetime gets resolved as `'ns` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/collections/clone_map.rs:447:55 [INFO] [stdout] | [INFO] [stdout] 447 | let s = unsafe { mem::replace(s, mem::uninitialized()) }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/syntax/lexer.rs:255:9 [INFO] [stdout] | [INFO] [stdout] 255 | / lazy_static! { [INFO] [stdout] 256 | | static ref RE: Regex = { [INFO] [stdout] 257 | | let pattern = r"^([\w\d]+|[\p{S}\p{Pc}\p{Pd}\p{Po}]+)"; [INFO] [stdout] 258 | | Regex::new(pattern).unwrap() [INFO] [stdout] 259 | | }; [INFO] [stdout] 260 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/syntax/lexer.rs:255:9 [INFO] [stdout] | [INFO] [stdout] 255 | / lazy_static! { [INFO] [stdout] 256 | | static ref RE: Regex = { [INFO] [stdout] 257 | | let pattern = r"^([\w\d]+|[\p{S}\p{Pc}\p{Pd}\p{Po}]+)"; [INFO] [stdout] 258 | | Regex::new(pattern).unwrap() [INFO] [stdout] 259 | | }; [INFO] [stdout] 260 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/syntax/lexer.rs:278:9 [INFO] [stdout] | [INFO] [stdout] 278 | / lazy_static! { [INFO] [stdout] 279 | | static ref RE: Regex = { [INFO] [stdout] 280 | | let pattern = r"^[\p{Lu}_][\w\d]*"; [INFO] [stdout] 281 | | Regex::new(pattern).unwrap() [INFO] [stdout] 282 | | }; [INFO] [stdout] 283 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/syntax/lexer.rs:278:9 [INFO] [stdout] | [INFO] [stdout] 278 | / lazy_static! { [INFO] [stdout] 279 | | static ref RE: Regex = { [INFO] [stdout] 280 | | let pattern = r"^[\p{Lu}_][\w\d]*"; [INFO] [stdout] 281 | | Regex::new(pattern).unwrap() [INFO] [stdout] 282 | | }; [INFO] [stdout] 283 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/syntax/lexer.rs:377:9 [INFO] [stdout] | [INFO] [stdout] 377 | / lazy_static! { [INFO] [stdout] 378 | | static ref RE: Regex = { [INFO] [stdout] 379 | | let pattern = r"^\d[\d_]*(\.[\d_]+)?(e-?[\d_]+)?"; [INFO] [stdout] 380 | | Regex::new(pattern).unwrap() [INFO] [stdout] 381 | | }; [INFO] [stdout] 382 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/syntax/lexer.rs:377:9 [INFO] [stdout] | [INFO] [stdout] 377 | / lazy_static! { [INFO] [stdout] 378 | | static ref RE: Regex = { [INFO] [stdout] 379 | | let pattern = r"^\d[\d_]*(\.[\d_]+)?(e-?[\d_]+)?"; [INFO] [stdout] 380 | | Regex::new(pattern).unwrap() [INFO] [stdout] 381 | | }; [INFO] [stdout] 382 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/syntax/lexer.rs:464:9 [INFO] [stdout] | [INFO] [stdout] 464 | / lazy_static! { [INFO] [stdout] 465 | | static ref RE: Regex = { [INFO] [stdout] 466 | | let pattern = r"^[\s\p{C}]+"; [INFO] [stdout] 467 | | Regex::new(pattern).unwrap() [INFO] [stdout] 468 | | }; [INFO] [stdout] 469 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/syntax/lexer.rs:464:9 [INFO] [stdout] | [INFO] [stdout] 464 | / lazy_static! { [INFO] [stdout] 465 | | static ref RE: Regex = { [INFO] [stdout] 466 | | let pattern = r"^[\s\p{C}]+"; [INFO] [stdout] 467 | | Regex::new(pattern).unwrap() [INFO] [stdout] 468 | | }; [INFO] [stdout] 469 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/syntax/lexer.rs:483:9 [INFO] [stdout] | [INFO] [stdout] 483 | / lazy_static! { [INFO] [stdout] 484 | | static ref RE: Regex = { [INFO] [stdout] 485 | | let pattern = r"^%.*"; [INFO] [stdout] 486 | | Regex::new(pattern).unwrap() [INFO] [stdout] 487 | | }; [INFO] [stdout] 488 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/syntax/lexer.rs:483:9 [INFO] [stdout] | [INFO] [stdout] 483 | / lazy_static! { [INFO] [stdout] 484 | | static ref RE: Regex = { [INFO] [stdout] 485 | | let pattern = r"^%.*"; [INFO] [stdout] 486 | | Regex::new(pattern).unwrap() [INFO] [stdout] 487 | | }; [INFO] [stdout] 488 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/syntax/error.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | Wrapper(Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 | Wrapper(Box), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/collections/clone_map.rs:447:55 [INFO] [stdout] | [INFO] [stdout] 447 | let s = unsafe { mem::replace(s, mem::uninitialized()) }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/syntax/lexer.rs:255:9 [INFO] [stdout] | [INFO] [stdout] 255 | / lazy_static! { [INFO] [stdout] 256 | | static ref RE: Regex = { [INFO] [stdout] 257 | | let pattern = r"^([\w\d]+|[\p{S}\p{Pc}\p{Pd}\p{Po}]+)"; [INFO] [stdout] 258 | | Regex::new(pattern).unwrap() [INFO] [stdout] 259 | | }; [INFO] [stdout] 260 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/syntax/lexer.rs:255:9 [INFO] [stdout] | [INFO] [stdout] 255 | / lazy_static! { [INFO] [stdout] 256 | | static ref RE: Regex = { [INFO] [stdout] 257 | | let pattern = r"^([\w\d]+|[\p{S}\p{Pc}\p{Pd}\p{Po}]+)"; [INFO] [stdout] 258 | | Regex::new(pattern).unwrap() [INFO] [stdout] 259 | | }; [INFO] [stdout] 260 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/syntax/lexer.rs:278:9 [INFO] [stdout] | [INFO] [stdout] 278 | / lazy_static! { [INFO] [stdout] 279 | | static ref RE: Regex = { [INFO] [stdout] 280 | | let pattern = r"^[\p{Lu}_][\w\d]*"; [INFO] [stdout] 281 | | Regex::new(pattern).unwrap() [INFO] [stdout] 282 | | }; [INFO] [stdout] 283 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/syntax/lexer.rs:278:9 [INFO] [stdout] | [INFO] [stdout] 278 | / lazy_static! { [INFO] [stdout] 279 | | static ref RE: Regex = { [INFO] [stdout] 280 | | let pattern = r"^[\p{Lu}_][\w\d]*"; [INFO] [stdout] 281 | | Regex::new(pattern).unwrap() [INFO] [stdout] 282 | | }; [INFO] [stdout] 283 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/syntax/lexer.rs:377:9 [INFO] [stdout] | [INFO] [stdout] 377 | / lazy_static! { [INFO] [stdout] 378 | | static ref RE: Regex = { [INFO] [stdout] 379 | | let pattern = r"^\d[\d_]*(\.[\d_]+)?(e-?[\d_]+)?"; [INFO] [stdout] 380 | | Regex::new(pattern).unwrap() [INFO] [stdout] 381 | | }; [INFO] [stdout] 382 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/syntax/lexer.rs:377:9 [INFO] [stdout] | [INFO] [stdout] 377 | / lazy_static! { [INFO] [stdout] 378 | | static ref RE: Regex = { [INFO] [stdout] 379 | | let pattern = r"^\d[\d_]*(\.[\d_]+)?(e-?[\d_]+)?"; [INFO] [stdout] 380 | | Regex::new(pattern).unwrap() [INFO] [stdout] 381 | | }; [INFO] [stdout] 382 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/syntax/lexer.rs:464:9 [INFO] [stdout] | [INFO] [stdout] 464 | / lazy_static! { [INFO] [stdout] 465 | | static ref RE: Regex = { [INFO] [stdout] 466 | | let pattern = r"^[\s\p{C}]+"; [INFO] [stdout] 467 | | Regex::new(pattern).unwrap() [INFO] [stdout] 468 | | }; [INFO] [stdout] 469 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/syntax/lexer.rs:464:9 [INFO] [stdout] | [INFO] [stdout] 464 | / lazy_static! { [INFO] [stdout] 465 | | static ref RE: Regex = { [INFO] [stdout] 466 | | let pattern = r"^[\s\p{C}]+"; [INFO] [stdout] 467 | | Regex::new(pattern).unwrap() [INFO] [stdout] 468 | | }; [INFO] [stdout] 469 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/syntax/lexer.rs:483:9 [INFO] [stdout] | [INFO] [stdout] 483 | / lazy_static! { [INFO] [stdout] 484 | | static ref RE: Regex = { [INFO] [stdout] 485 | | let pattern = r"^%.*"; [INFO] [stdout] 486 | | Regex::new(pattern).unwrap() [INFO] [stdout] 487 | | }; [INFO] [stdout] 488 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/syntax/lexer.rs:483:9 [INFO] [stdout] | [INFO] [stdout] 483 | / lazy_static! { [INFO] [stdout] 484 | | static ref RE: Regex = { [INFO] [stdout] 485 | | let pattern = r"^%.*"; [INFO] [stdout] 486 | | Regex::new(pattern).unwrap() [INFO] [stdout] 487 | | }; [INFO] [stdout] 488 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/syntax/error.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | Wrapper(Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 | Wrapper(Box), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/syntax/error.rs:80:32 [INFO] [stdout] | [INFO] [stdout] 80 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 80 | fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/syntax/error.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | E: Into>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 37 | E: Into>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/syntax/error.rs:80:32 [INFO] [stdout] | [INFO] [stdout] 80 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 80 | fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/syntax/error.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | E: Into>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 37 | E: Into>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/syntax/error.rs:76:40 [INFO] [stdout] | [INFO] [stdout] 76 | &Kind::Wrapper(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/syntax/error.rs:82:15 [INFO] [stdout] | [INFO] [stdout] 82 | e.cause() [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/collections/clone_map.rs:217:13 [INFO] [stdout] | [INFO] [stdout] 217 | let mut root = Arc::make_mut(&mut self.root); [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/collections/clone_map.rs:244:13 [INFO] [stdout] | [INFO] [stdout] 244 | let mut root = Arc::make_mut(&mut self.root); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/collections/clone_map.rs:363:17 [INFO] [stdout] | [INFO] [stdout] 363 | let mut branch = unsafe { self.branches.get_unchecked_mut(pos) }; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/collections/clone_map.rs:364:17 [INFO] [stdout] | [INFO] [stdout] 364 | let mut branch = Arc::make_mut(branch); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/collections/clone_map.rs:426:13 [INFO] [stdout] | [INFO] [stdout] 426 | let mut branch = unsafe { self.branches.get_unchecked_mut(pos) }; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/collections/clone_map.rs:427:13 [INFO] [stdout] | [INFO] [stdout] 427 | let mut branch = Arc::make_mut(branch); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/syntax/parser.rs:369:19 [INFO] [stdout] | [INFO] [stdout] 369 | Float(456.789), [INFO] [stdout] | ----- ^^^^^^^ expected `OrderedFloat`, found floating-point number [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `OrderedFloat` [INFO] [stdout] found type `{float}` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/syntax/repr.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | Float(OrderedFloat), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: try wrapping the expression in `ordered_float::OrderedFloat` [INFO] [stdout] | [INFO] [stdout] 369 | Float(ordered_float::OrderedFloat(456.789)), [INFO] [stdout] | ++++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/syntax/error.rs:76:40 [INFO] [stdout] | [INFO] [stdout] 76 | &Kind::Wrapper(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/syntax/error.rs:82:15 [INFO] [stdout] | [INFO] [stdout] 82 | e.cause() [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/collections/clone_map.rs:217:13 [INFO] [stdout] | [INFO] [stdout] 217 | let mut root = Arc::make_mut(&mut self.root); [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/collections/clone_map.rs:244:13 [INFO] [stdout] | [INFO] [stdout] 244 | let mut root = Arc::make_mut(&mut self.root); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/collections/clone_map.rs:363:17 [INFO] [stdout] | [INFO] [stdout] 363 | let mut branch = unsafe { self.branches.get_unchecked_mut(pos) }; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/collections/clone_map.rs:364:17 [INFO] [stdout] | [INFO] [stdout] 364 | let mut branch = Arc::make_mut(branch); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/collections/clone_map.rs:426:13 [INFO] [stdout] | [INFO] [stdout] 426 | let mut branch = unsafe { self.branches.get_unchecked_mut(pos) }; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/collections/clone_map.rs:427:13 [INFO] [stdout] | [INFO] [stdout] 427 | let mut branch = Arc::make_mut(branch); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ripl` (lib) due to 3 previous errors; 23 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 3 previous errors; 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ripl` (lib test) due to 4 previous errors; 23 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f5894bef74396f8a9f15a8ce653c2c01876efa09501565313fee424e643f765e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5894bef74396f8a9f15a8ce653c2c01876efa09501565313fee424e643f765e", kill_on_drop: false }` [INFO] [stdout] f5894bef74396f8a9f15a8ce653c2c01876efa09501565313fee424e643f765e