[INFO] cloning repository https://github.com/rainbowlang/rainbow [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rainbowlang/rainbow" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frainbowlang%2Frainbow", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frainbowlang%2Frainbow'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8b6accd772c561d31c78cad08c3659651bab9b47 [INFO] testing rainbowlang/rainbow against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frainbowlang%2Frainbow" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rainbowlang/rainbow on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rainbowlang/rainbow [INFO] finished tweaking git repo https://github.com/rainbowlang/rainbow [INFO] tweaked toml for git repo https://github.com/rainbowlang/rainbow written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/rainbowlang/rainbow already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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] 0f6986b5ca233e425a359133d88eb011881e1881793dd3b111167953756b1009 [INFO] running `Command { std: "docker" "start" "-a" "0f6986b5ca233e425a359133d88eb011881e1881793dd3b111167953756b1009", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0f6986b5ca233e425a359133d88eb011881e1881793dd3b111167953756b1009", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f6986b5ca233e425a359133d88eb011881e1881793dd3b111167953756b1009", kill_on_drop: false }` [INFO] [stdout] 0f6986b5ca233e425a359133d88eb011881e1881793dd3b111167953756b1009 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f71a245374ebb0426efd997c3a07eaef32abba20c4fd052283689b99f5ff493f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f71a245374ebb0426efd997c3a07eaef32abba20c4fd052283689b99f5ff493f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.45 [INFO] [stderr] Compiling snowflake v1.3.0 [INFO] [stderr] Compiling pest v1.0.6 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling serde v1.0.82 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling syn v0.15.23 [INFO] [stderr] Compiling id_tree v1.3.0 [INFO] [stderr] Compiling nix v0.5.1 [INFO] [stderr] Compiling pest_derive v1.0.8 [INFO] [stderr] Compiling rustyline v1.0.0 [INFO] [stderr] Compiling serde_derive v1.0.82 [INFO] [stderr] Compiling rainbow_core v0.1.0 (/opt/rustwide/workdir/rainbow_core) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> rainbow_core/src/function_builder.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | callback: Option, &mut Machine) -> Result>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Apply, &mut Machine) -> Result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> rainbow_core/src/function_builder.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | Box, &mut Machine) -> Result>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Apply, &mut Machine) -> Result` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> rainbow_core/src/namespace.rs:26:37 [INFO] [stdout] | [INFO] [stdout] 26 | callbacks: HashMap, &mut Machine) -> Result>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Apply, &mut Machine) -> Result` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> rainbow_core/src/namespace.rs:87:22 [INFO] [stdout] | [INFO] [stdout] 87 | ) -> Option<&Box, &mut Machine) -> Result>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Apply, &mut Machine) -> Result` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> rainbow_core/src/namespace.rs:102:23 [INFO] [stdout] | [INFO] [stdout] 102 | callback: Box, &mut Machine) -> Result>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Apply, &mut Machine) -> Result` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Prim` is imported redundantly [INFO] [stdout] --> rainbow_core/src/standalone.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::primitive::Prim; [INFO] [stdout] | ---------------------- the item `Prim` is already imported here [INFO] [stdout] ... [INFO] [stdout] 20 | use crate::primitive::Prim; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: ambiguous associated item [INFO] [stdout] --> rainbow_core/src/standalone.rs:93:34 [INFO] [stdout] | [INFO] [stdout] 93 | fn try_list(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^ help: use fully-qualified syntax: `::List` [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(ambiguous_associated_items)]` 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 #57644 [INFO] [stdout] note: `List` could refer to the variant defined here [INFO] [stdout] --> rainbow_core/src/standalone.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | List(Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `List` could also refer to the associated type defined here [INFO] [stdout] --> rainbow_core/src/interpreter/value.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | type List: List; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: ambiguous associated item [INFO] [stdout] --> rainbow_core/src/standalone.rs:100:36 [INFO] [stdout] | [INFO] [stdout] 100 | fn try_record(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ help: use fully-qualified syntax: `::Record` [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 #57644 [INFO] [stdout] note: `Record` could refer to the variant defined here [INFO] [stdout] --> rainbow_core/src/standalone.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | Record(HashMap), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Record` could also refer to the associated type defined here [INFO] [stdout] --> rainbow_core/src/interpreter/value.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | type Record: Record; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> rainbow_core/src/frontend/implicit_blocks.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | .trim_right_matches(':'); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> rainbow_core/src/typing/constraint_generator.rs:172:22 [INFO] [stdout] | [INFO] [stdout] 172 | .trim_right_matches(':'); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `lex` [INFO] [stdout] --> rainbow_core/src/frontend/lexer.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn lex<'i>(input: &'i str) -> Lexer<'i> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> rainbow_core/src/frontend/syntax_tree.rs:149:29 [INFO] [stdout] | [INFO] [stdout] 149 | _ => panic!(format!("grammar rule `bool` rule matched {:?}", pair)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 149 - _ => panic!(format!("grammar rule `bool` rule matched {:?}", pair)), [INFO] [stdout] 149 + _ => panic!("grammar rule `bool` rule matched {:?}", pair), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rainbow_core` due to 3 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f71a245374ebb0426efd997c3a07eaef32abba20c4fd052283689b99f5ff493f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f71a245374ebb0426efd997c3a07eaef32abba20c4fd052283689b99f5ff493f", kill_on_drop: false }` [INFO] [stdout] f71a245374ebb0426efd997c3a07eaef32abba20c4fd052283689b99f5ff493f