[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 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frainbowlang%2Frainbow" "/workspace/builds/worker-25/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-25/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rainbowlang/rainbow 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/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-25/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" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded id_tree v1.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eecfce039886e582ac17298c471cafaf6ae302ec19f49ccf04dc204bd7cc2b83 [INFO] running `Command { std: "docker" "start" "-a" "eecfce039886e582ac17298c471cafaf6ae302ec19f49ccf04dc204bd7cc2b83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eecfce039886e582ac17298c471cafaf6ae302ec19f49ccf04dc204bd7cc2b83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eecfce039886e582ac17298c471cafaf6ae302ec19f49ccf04dc204bd7cc2b83", kill_on_drop: false }` [INFO] [stdout] eecfce039886e582ac17298c471cafaf6ae302ec19f49ccf04dc204bd7cc2b83 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2aa62ce380477d8a7d83604f952246b187e6b1f512562e10a63ee92c08ab570f [INFO] running `Command { std: "docker" "start" "-a" "2aa62ce380477d8a7d83604f952246b187e6b1f512562e10a63ee92c08ab570f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling libc v0.2.45 [INFO] [stderr] Compiling serde v1.0.82 [INFO] [stderr] Compiling bitflags v0.4.0 [INFO] [stderr] Compiling snowflake v1.3.0 [INFO] [stderr] Compiling pest v1.0.6 [INFO] [stderr] Compiling encode_unicode v0.1.3 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling id_tree v1.3.0 [INFO] [stderr] Compiling nix v0.5.1 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling syn v0.15.23 [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: 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] 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 - callback: Option, &mut Machine) -> Result>>, [INFO] [stdout] 12 + callback: Option, &mut Machine) -> Result>>, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 - callbacks: HashMap, &mut Machine) -> Result>>, [INFO] [stdout] 26 + callbacks: HashMap, &mut Machine) -> Result>>, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 93 - Box, &mut Machine) -> Result>, [INFO] [stdout] 93 + Box, &mut Machine) -> Result>, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 87 - ) -> Option<&Box, &mut Machine) -> Result>> { [INFO] [stdout] 87 + ) -> Option<&Box, &mut Machine) -> Result>> { [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 102 - callback: Box, &mut Machine) -> Result>, [INFO] [stdout] 102 + callback: Box, &mut Machine) -> Result>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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: `#[warn(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] warning: 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] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rainbow_repl v0.1.0 (/opt/rustwide/workdir/rainbow_repl) [INFO] [stdout] warning: unused import: `Scope` [INFO] [stdout] --> rainbow_repl/src/main.rs:8:43 [INFO] [stdout] | [INFO] [stdout] 8 | use rainbow_core::{INamespace, Namespace, Scope, Script, SharedNamespace, Type, TypeCheckerResult}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead. [INFO] [stdout] --> rainbow_repl/src/main.rs:51:31 [INFO] [stdout] | [INFO] [stdout] 51 | let hist_path = std::env::home_dir().map(|path| path.join(".rainbow_history")); [INFO] [stdout] | ^^^^^^^^ [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_left`: superseded by `trim_start` [INFO] [stdout] --> rainbow_repl/src/main.rs:93:53 [INFO] [stdout] | [INFO] [stdout] 93 | Some(pos) => (&line[..pos], line[pos..].trim_left()), [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> rainbow_repl/src/main.rs:132:43 [INFO] [stdout] | [INFO] [stdout] 132 | repl.eval(rest[pos..].trim_left()) [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> rainbow_repl/src/main.rs:38:64 [INFO] [stdout] | [INFO] [stdout] 38 | .eval(env.clone().into_iter().map(|(k, (v, t))| (k, v)).collect()) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 14.04s [INFO] running `Command { std: "docker" "inspect" "2aa62ce380477d8a7d83604f952246b187e6b1f512562e10a63ee92c08ab570f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2aa62ce380477d8a7d83604f952246b187e6b1f512562e10a63ee92c08ab570f", kill_on_drop: false }` [INFO] [stdout] 2aa62ce380477d8a7d83604f952246b187e6b1f512562e10a63ee92c08ab570f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fa477a08fa444c7da83937d65dbfdab075ba381ce3a6be3c2d5cf79a76efb53e [INFO] running `Command { std: "docker" "start" "-a" "fa477a08fa444c7da83937d65dbfdab075ba381ce3a6be3c2d5cf79a76efb53e", kill_on_drop: false }` [INFO] [stderr] Compiling bencher v0.1.5 [INFO] [stderr] Compiling rainbow_repl v0.1.0 (/opt/rustwide/workdir/rainbow_repl) [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] 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 - callback: Option, &mut Machine) -> Result>>, [INFO] [stdout] 12 + callback: Option, &mut Machine) -> Result>>, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 - callbacks: HashMap, &mut Machine) -> Result>>, [INFO] [stdout] 26 + callbacks: HashMap, &mut Machine) -> Result>>, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 93 - Box, &mut Machine) -> Result>, [INFO] [stdout] 93 + Box, &mut Machine) -> Result>, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 87 - ) -> Option<&Box, &mut Machine) -> Result>> { [INFO] [stdout] 87 + ) -> Option<&Box, &mut Machine) -> Result>> { [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 102 - callback: Box, &mut Machine) -> Result>, [INFO] [stdout] 102 + callback: Box, &mut Machine) -> Result>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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: `#[warn(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] warning: 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] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Scope` [INFO] [stdout] --> rainbow_repl/src/main.rs:8:43 [INFO] [stdout] | [INFO] [stdout] 8 | use rainbow_core::{INamespace, Namespace, Scope, Script, SharedNamespace, Type, TypeCheckerResult}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead. [INFO] [stdout] --> rainbow_repl/src/main.rs:51:31 [INFO] [stdout] | [INFO] [stdout] 51 | let hist_path = std::env::home_dir().map(|path| path.join(".rainbow_history")); [INFO] [stdout] | ^^^^^^^^ [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_left`: superseded by `trim_start` [INFO] [stdout] --> rainbow_repl/src/main.rs:93:53 [INFO] [stdout] | [INFO] [stdout] 93 | Some(pos) => (&line[..pos], line[pos..].trim_left()), [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> rainbow_repl/src/main.rs:132:43 [INFO] [stdout] | [INFO] [stdout] 132 | repl.eval(rest[pos..].trim_left()) [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> rainbow_repl/src/main.rs:38:64 [INFO] [stdout] | [INFO] [stdout] 38 | .eval(env.clone().into_iter().map(|(k, (v, t))| (k, v)).collect()) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rainbow_core v0.1.0 (/opt/rustwide/workdir/rainbow_core) [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] 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 - callback: Option, &mut Machine) -> Result>>, [INFO] [stdout] 12 + callback: Option, &mut Machine) -> Result>>, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 - callbacks: HashMap, &mut Machine) -> Result>>, [INFO] [stdout] 26 + callbacks: HashMap, &mut Machine) -> Result>>, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 93 - Box, &mut Machine) -> Result>, [INFO] [stdout] 93 + Box, &mut Machine) -> Result>, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 87 - ) -> Option<&Box, &mut Machine) -> Result>> { [INFO] [stdout] 87 + ) -> Option<&Box, &mut Machine) -> Result>> { [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 102 - callback: Box, &mut Machine) -> Result>, [INFO] [stdout] 102 + callback: Box, &mut Machine) -> Result>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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: `#[warn(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] warning: 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: 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] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 5.51s [INFO] running `Command { std: "docker" "inspect" "fa477a08fa444c7da83937d65dbfdab075ba381ce3a6be3c2d5cf79a76efb53e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa477a08fa444c7da83937d65dbfdab075ba381ce3a6be3c2d5cf79a76efb53e", kill_on_drop: false }` [INFO] [stdout] fa477a08fa444c7da83937d65dbfdab075ba381ce3a6be3c2d5cf79a76efb53e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7b8e95818444b7860496ef580a3c73b1ffe293baefc97a54a3de15351520c9d7 [INFO] running `Command { std: "docker" "start" "-a" "7b8e95818444b7860496ef580a3c73b1ffe293baefc97a54a3de15351520c9d7", kill_on_drop: false }` [INFO] [stderr] warning: the item `Prim` is imported redundantly [INFO] [stderr] --> rainbow_core/src/standalone.rs:20:13 [INFO] [stderr] | [INFO] [stderr] 6 | use crate::primitive::Prim; [INFO] [stderr] | ---------------------- the item `Prim` is already imported here [INFO] [stderr] ... [INFO] [stderr] 20 | use crate::primitive::Prim; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> rainbow_core/src/function_builder.rs:12:26 [INFO] [stderr] | [INFO] [stderr] 12 | callback: Option, &mut Machine) -> Result>>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 12 - callback: Option, &mut Machine) -> Result>>, [INFO] [stderr] 12 + callback: Option, &mut Machine) -> Result>>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> rainbow_core/src/namespace.rs:26:37 [INFO] [stderr] | [INFO] [stderr] 26 | callbacks: HashMap, &mut Machine) -> Result>>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 26 - callbacks: HashMap, &mut Machine) -> Result>>, [INFO] [stderr] 26 + callbacks: HashMap, &mut Machine) -> Result>>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> rainbow_core/src/function_builder.rs:93:17 [INFO] [stderr] | [INFO] [stderr] 93 | Box, &mut Machine) -> Result>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 93 - Box, &mut Machine) -> Result>, [INFO] [stderr] 93 + Box, &mut Machine) -> Result>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> rainbow_core/src/namespace.rs:87:22 [INFO] [stderr] | [INFO] [stderr] 87 | ) -> Option<&Box, &mut Machine) -> Result>> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 87 - ) -> Option<&Box, &mut Machine) -> Result>> { [INFO] [stderr] 87 + ) -> Option<&Box, &mut Machine) -> Result>> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> rainbow_core/src/namespace.rs:102:23 [INFO] [stderr] | [INFO] [stderr] 102 | callback: Box, &mut Machine) -> Result>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 102 - callback: Box, &mut Machine) -> Result>, [INFO] [stderr] 102 + callback: Box, &mut Machine) -> Result>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: ambiguous associated item [INFO] [stderr] --> rainbow_core/src/standalone.rs:93:34 [INFO] [stderr] | [INFO] [stderr] 93 | fn try_list(&self) -> Result { [INFO] [stderr] | ^^^^^^^^^^ help: use fully-qualified syntax: `::List` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ambiguous_associated_items)]` 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 #57644 [INFO] [stderr] note: `List` could refer to the variant defined here [INFO] [stderr] --> rainbow_core/src/standalone.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | List(Vec), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] note: `List` could also refer to the associated type defined here [INFO] [stderr] --> rainbow_core/src/interpreter/value.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 30 | type List: List; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: ambiguous associated item [INFO] [stderr] --> rainbow_core/src/standalone.rs:100:36 [INFO] [stderr] | [INFO] [stderr] 100 | fn try_record(&self) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^ help: use fully-qualified syntax: `::Record` [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 #57644 [INFO] [stderr] note: `Record` could refer to the variant defined here [INFO] [stderr] --> rainbow_core/src/standalone.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | Record(HashMap), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] note: `Record` could also refer to the associated type defined here [INFO] [stderr] --> rainbow_core/src/interpreter/value.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 31 | type Record: Record; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stderr] --> rainbow_core/src/frontend/implicit_blocks.rs:18:22 [INFO] [stderr] | [INFO] [stderr] 18 | .trim_right_matches(':'); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stderr] --> rainbow_core/src/typing/constraint_generator.rs:172:22 [INFO] [stderr] | [INFO] [stderr] 172 | .trim_right_matches(':'); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stderr] [INFO] [stderr] warning: function is never used: `lex` [INFO] [stderr] --> rainbow_core/src/frontend/lexer.rs:37:8 [INFO] [stderr] | [INFO] [stderr] 37 | pub fn lex<'i>(input: &'i str) -> Lexer<'i> { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> rainbow_core/src/frontend/syntax_tree.rs:149:29 [INFO] [stderr] | [INFO] [stderr] 149 | _ => panic!(format!("grammar rule `bool` rule matched {:?}", pair)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 149 - _ => panic!(format!("grammar rule `bool` rule matched {:?}", pair)), [INFO] [stderr] 149 + _ => panic!("grammar rule `bool` rule matched {:?}", pair), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `rainbow_core` (lib) generated 12 warnings [INFO] [stderr] warning: `rainbow_core` (lib test) generated 11 warnings (11 duplicates) [INFO] [stderr] warning: unused import: `Scope` [INFO] [stderr] --> rainbow_repl/src/main.rs:8:43 [INFO] [stderr] | [INFO] [stderr] 8 | use rainbow_core::{INamespace, Namespace, Scope, Script, SharedNamespace, Type, TypeCheckerResult}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead. [INFO] [stderr] --> rainbow_repl/src/main.rs:51:31 [INFO] [stderr] | [INFO] [stderr] 51 | let hist_path = std::env::home_dir().map(|path| path.join(".rainbow_history")); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `core::str::::trim_left`: superseded by `trim_start` [INFO] [stderr] --> rainbow_repl/src/main.rs:93:53 [INFO] [stderr] | [INFO] [stderr] 93 | Some(pos) => (&line[..pos], line[pos..].trim_left()), [INFO] [stderr] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `core::str::::trim_left`: superseded by `trim_start` [INFO] [stderr] --> rainbow_repl/src/main.rs:132:43 [INFO] [stderr] | [INFO] [stderr] 132 | repl.eval(rest[pos..].trim_left()) [INFO] [stderr] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `t` [INFO] [stderr] --> rainbow_repl/src/main.rs:38:64 [INFO] [stderr] | [INFO] [stderr] 38 | .eval(env.clone().into_iter().map(|(k, (v, t))| (k, v)).collect()) [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `rainbow_repl` (bin "rainbow_repl" test) generated 5 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rainbow_core-9c2c3c26be2435ba) [INFO] [stdout] [INFO] [stdout] running 30 tests [INFO] [stdout] test frontend::grammar::tests::test_parse_keyword ... ok [INFO] [stdout] test frontend::grammar::tests::test_parse_numbers ... ok [INFO] [stdout] test frontend::grammar::tests::test_parse_larger ... ok [INFO] [stdout] test frontend::grammar::tests::test_parse_variables ... ok [INFO] [stdout] test frontend::lexer::tests::test_literals ... ok [INFO] [stdout] test frontend::lexer::tests::test_func_list_and_block ... ok [INFO] [stdout] test frontend::lexer::tests::test_records_and_variables ... ok [INFO] [stdout] test frontend::implicit_blocks::tests::test_implicit_block_wrapping ... ok [INFO] [stdout] test frontend::implicit_blocks::tests::test_redundant_block_unwrapping ... ok [INFO] [stdout] test interpreter::emitter::tests::test_emit_function_call ... ok [INFO] [stdout] test interpreter::emitter::tests::test_emit_var ... ok [INFO] [stdout] test interpreter::emitter::tests::test_emit_list ... ok [INFO] [stdout] test interpreter::emitter::tests::test_emit_block ... ok [INFO] [stdout] test scope::test_scope ... ok [INFO] [stdout] test interpreter::emitter::tests::test_emit_var_path ... ok [INFO] [stdout] test frontend::syntax_tree::test_print_tree ... ok [INFO] [stdout] test interpreter::emitter::tests::test_emit_record ... ok [INFO] [stdout] test interpreter::script::tests::test_function_call ... ok [INFO] [stdout] test typing::tests::inference_of_lists ... ok [INFO] [stdout] test interpreter::script::tests::test_block ... ok [INFO] [stdout] test typing::tests::inference_of_primitives ... ok [INFO] [stdout] test typing::tests::inference_of_blocks ... ok [INFO] [stdout] test typing::types::tests::record_display ... ok [INFO] [stdout] test typing::types::tests::test_satisfied_by_lists ... ok [INFO] [stdout] test typing::types::tests::test_satisfied_by_primitive_types ... ok [INFO] [stdout] test typing::types::tests::test_satisfied_by_records ... ok [INFO] [stdout] test typing::tests::inference_of_variables ... ok [INFO] [stdout] test typing::tests::merging_of_nested_records ... ok [INFO] [stdout] test typing::tests::inference_of_functions_and_undefined_vars ... ok [INFO] [stdout] test typing::tests::bigger_example ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 30 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rainbow_repl-9b6668f84870dc11) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests rainbow_core [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" "7b8e95818444b7860496ef580a3c73b1ffe293baefc97a54a3de15351520c9d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b8e95818444b7860496ef580a3c73b1ffe293baefc97a54a3de15351520c9d7", kill_on_drop: false }` [INFO] [stdout] 7b8e95818444b7860496ef580a3c73b1ffe293baefc97a54a3de15351520c9d7