[INFO] cloning repository https://github.com/marioidival/coral [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/marioidival/coral" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarioidival%2Fcoral", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarioidival%2Fcoral'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f367ce853fe1dde5f29e017be169f358fc3f1e26 [INFO] testing marioidival/coral against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarioidival%2Fcoral" "/workspace/builds/worker-116/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-116/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/marioidival/coral on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/marioidival/coral [INFO] finished tweaking git repo https://github.com/marioidival/coral [INFO] tweaked toml for git repo https://github.com/marioidival/coral written to /workspace/builds/worker-116/source/Cargo.toml [INFO] crate git repo https://github.com/marioidival/coral already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-116/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-116/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" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dff107965667d2f51069410ba6a0a56da418bc30b6812622fc3812471b25c32c [INFO] running `Command { std: "docker" "start" "-a" "dff107965667d2f51069410ba6a0a56da418bc30b6812622fc3812471b25c32c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dff107965667d2f51069410ba6a0a56da418bc30b6812622fc3812471b25c32c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dff107965667d2f51069410ba6a0a56da418bc30b6812622fc3812471b25c32c", kill_on_drop: false }` [INFO] [stdout] dff107965667d2f51069410ba6a0a56da418bc30b6812622fc3812471b25c32c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-116/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-116/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" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ce2e560fcafbc67ae5e9841b278c4dcfefe8fd54157a5b687c28c8d87fa82f1 [INFO] running `Command { std: "docker" "start" "-a" "8ce2e560fcafbc67ae5e9841b278c4dcfefe8fd54157a5b687c28c8d87fa82f1", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling itertools v0.7.8 [INFO] [stderr] Compiling coral v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/token.rs:93:38 [INFO] [stdout] | [INFO] [stdout] 93 | fn peek_check(&mut self, check: &Fn(char) -> bool) -> bool { [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 2015) 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 - fn peek_check(&mut self, check: &Fn(char) -> bool) -> bool { [INFO] [stdout] 93 + fn peek_check(&mut self, check: &dyn Fn(char) -> bool) -> bool { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/token.rs:102:40 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn peek_two(&mut self, cond1: &Fn(char) -> bool, cond2: &Fn(char) -> bool) -> bool { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 102 - pub fn peek_two(&mut self, cond1: &Fn(char) -> bool, cond2: &Fn(char) -> bool) -> bool { [INFO] [stdout] 102 + pub fn peek_two(&mut self, cond1: &dyn Fn(char) -> bool, cond2: &Fn(char) -> bool) -> bool { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/token.rs:102:66 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn peek_two(&mut self, cond1: &Fn(char) -> bool, cond2: &Fn(char) -> bool) -> bool { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 102 - pub fn peek_two(&mut self, cond1: &Fn(char) -> bool, cond2: &Fn(char) -> bool) -> bool { [INFO] [stdout] 102 + pub fn peek_two(&mut self, cond1: &Fn(char) -> bool, cond2: &dyn Fn(char) -> bool) -> bool { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/token.rs:114:49 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn advance_while(&mut self, condition: &Fn(char) -> bool) -> () { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 114 - pub fn advance_while(&mut self, condition: &Fn(char) -> bool) -> () { [INFO] [stdout] 114 + pub fn advance_while(&mut self, condition: &dyn Fn(char) -> bool) -> () { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `position` [INFO] [stdout] --> src/token.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | position: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Scanner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/token.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.45s [INFO] running `Command { std: "docker" "inspect" "8ce2e560fcafbc67ae5e9841b278c4dcfefe8fd54157a5b687c28c8d87fa82f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ce2e560fcafbc67ae5e9841b278c4dcfefe8fd54157a5b687c28c8d87fa82f1", kill_on_drop: false }` [INFO] [stdout] 8ce2e560fcafbc67ae5e9841b278c4dcfefe8fd54157a5b687c28c8d87fa82f1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-116/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-116/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" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cd059d75e33218741eb788767e3f1194ea571dd7cdd9ea51558354e06a370bfc [INFO] running `Command { std: "docker" "start" "-a" "cd059d75e33218741eb788767e3f1194ea571dd7cdd9ea51558354e06a370bfc", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling coral v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/token.rs:93:38 [INFO] [stdout] | [INFO] [stdout] 93 | fn peek_check(&mut self, check: &Fn(char) -> bool) -> bool { [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 2015) 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 - fn peek_check(&mut self, check: &Fn(char) -> bool) -> bool { [INFO] [stdout] 93 + fn peek_check(&mut self, check: &dyn Fn(char) -> bool) -> bool { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/token.rs:102:40 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn peek_two(&mut self, cond1: &Fn(char) -> bool, cond2: &Fn(char) -> bool) -> bool { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 102 - pub fn peek_two(&mut self, cond1: &Fn(char) -> bool, cond2: &Fn(char) -> bool) -> bool { [INFO] [stdout] 102 + pub fn peek_two(&mut self, cond1: &dyn Fn(char) -> bool, cond2: &Fn(char) -> bool) -> bool { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/token.rs:102:66 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn peek_two(&mut self, cond1: &Fn(char) -> bool, cond2: &Fn(char) -> bool) -> bool { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 102 - pub fn peek_two(&mut self, cond1: &Fn(char) -> bool, cond2: &Fn(char) -> bool) -> bool { [INFO] [stdout] 102 + pub fn peek_two(&mut self, cond1: &Fn(char) -> bool, cond2: &dyn Fn(char) -> bool) -> bool { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/token.rs:114:49 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn advance_while(&mut self, condition: &Fn(char) -> bool) -> () { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 114 - pub fn advance_while(&mut self, condition: &Fn(char) -> bool) -> () { [INFO] [stdout] 114 + pub fn advance_while(&mut self, condition: &dyn Fn(char) -> bool) -> () { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `position` [INFO] [stdout] --> src/token.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | position: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Scanner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/token.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/token.rs:93:38 [INFO] [stdout] | [INFO] [stdout] 93 | fn peek_check(&mut self, check: &Fn(char) -> bool) -> bool { [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 2015) 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 - fn peek_check(&mut self, check: &Fn(char) -> bool) -> bool { [INFO] [stdout] 93 + fn peek_check(&mut self, check: &dyn Fn(char) -> bool) -> bool { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/token.rs:102:40 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn peek_two(&mut self, cond1: &Fn(char) -> bool, cond2: &Fn(char) -> bool) -> bool { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 102 - pub fn peek_two(&mut self, cond1: &Fn(char) -> bool, cond2: &Fn(char) -> bool) -> bool { [INFO] [stdout] 102 + pub fn peek_two(&mut self, cond1: &dyn Fn(char) -> bool, cond2: &Fn(char) -> bool) -> bool { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/token.rs:102:66 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn peek_two(&mut self, cond1: &Fn(char) -> bool, cond2: &Fn(char) -> bool) -> bool { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 102 - pub fn peek_two(&mut self, cond1: &Fn(char) -> bool, cond2: &Fn(char) -> bool) -> bool { [INFO] [stdout] 102 + pub fn peek_two(&mut self, cond1: &Fn(char) -> bool, cond2: &dyn Fn(char) -> bool) -> bool { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/token.rs:114:49 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn advance_while(&mut self, condition: &Fn(char) -> bool) -> () { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 114 - pub fn advance_while(&mut self, condition: &Fn(char) -> bool) -> () { [INFO] [stdout] 114 + pub fn advance_while(&mut self, condition: &dyn Fn(char) -> bool) -> () { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `position` [INFO] [stdout] --> src/token.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | position: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Scanner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/token.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 9.08s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/coral-c038ec77d65c8f59) [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/coral-ab05f3907f2b1706) [INFO] [stderr] Executable tests/repl.rs (/opt/rustwide/target/debug/deps/repl-b28d5390478f3d57) [INFO] running `Command { std: "docker" "inspect" "cd059d75e33218741eb788767e3f1194ea571dd7cdd9ea51558354e06a370bfc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd059d75e33218741eb788767e3f1194ea571dd7cdd9ea51558354e06a370bfc", kill_on_drop: false }` [INFO] [stdout] cd059d75e33218741eb788767e3f1194ea571dd7cdd9ea51558354e06a370bfc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-116/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-116/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" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d614c7c760b974fa3c14cbd4ce7ec15ea2bd8a09b46fa0c93f43ca86794d2465 [INFO] running `Command { std: "docker" "start" "-a" "d614c7c760b974fa3c14cbd4ce7ec15ea2bd8a09b46fa0c93f43ca86794d2465", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/token.rs:93:38 [INFO] [stderr] | [INFO] [stderr] 93 | fn peek_check(&mut self, check: &Fn(char) -> bool) -> bool { [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 2015) 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 - fn peek_check(&mut self, check: &Fn(char) -> bool) -> bool { [INFO] [stderr] 93 + fn peek_check(&mut self, check: &dyn Fn(char) -> bool) -> bool { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/token.rs:102:40 [INFO] [stderr] | [INFO] [stderr] 102 | pub fn peek_two(&mut self, cond1: &Fn(char) -> bool, cond2: &Fn(char) -> bool) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) 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 - pub fn peek_two(&mut self, cond1: &Fn(char) -> bool, cond2: &Fn(char) -> bool) -> bool { [INFO] [stderr] 102 + pub fn peek_two(&mut self, cond1: &dyn Fn(char) -> bool, cond2: &Fn(char) -> bool) -> bool { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/token.rs:102:66 [INFO] [stderr] | [INFO] [stderr] 102 | pub fn peek_two(&mut self, cond1: &Fn(char) -> bool, cond2: &Fn(char) -> bool) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) 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 - pub fn peek_two(&mut self, cond1: &Fn(char) -> bool, cond2: &Fn(char) -> bool) -> bool { [INFO] [stderr] 102 + pub fn peek_two(&mut self, cond1: &Fn(char) -> bool, cond2: &dyn Fn(char) -> bool) -> bool { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/token.rs:114:49 [INFO] [stderr] | [INFO] [stderr] 114 | pub fn advance_while(&mut self, condition: &Fn(char) -> bool) -> () { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 114 - pub fn advance_while(&mut self, condition: &Fn(char) -> bool) -> () { [INFO] [stderr] 114 + pub fn advance_while(&mut self, condition: &dyn Fn(char) -> bool) -> () { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field is never read: `position` [INFO] [stderr] --> src/token.rs:58:5 [INFO] [stderr] | [INFO] [stderr] 58 | position: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Scanner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/token.rs:56:10 [INFO] [stderr] | [INFO] [stderr] 56 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `coral` (lib) generated 5 warnings [INFO] [stderr] warning: `coral` (lib test) generated 5 warnings (5 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/coral-c038ec77d65c8f59) [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test token::scan::test_scan_without_comment ... ok [INFO] [stdout] test token::scan::test_scan_multiline ... ok [INFO] [stdout] test token::tests::test_scan_source_comment ... ok [INFO] [stdout] test token::tests::test_advance_source ... ok [INFO] [stdout] test token::scan::test_scan_string_literal ... ok [INFO] [stdout] test token::tests::test_scan_identifiers ... ok [INFO] [stdout] test token::scan::test_scan_sum ... ok [INFO] [stdout] test token::tests::test_scan_source_basic_operator ... ok [INFO] [stdout] test token::tests::test_scan_source_double_operator ... ok [INFO] [stdout] test token::tests::test_scan_source_numbers ... ok [INFO] [stdout] test token::tests::test_scan_strings ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/coral-ab05f3907f2b1706) [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] Running tests/repl.rs (/opt/rustwide/target/debug/deps/repl-b28d5390478f3d57) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] Doc-tests coral [INFO] [stdout] test repl::test_sum ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d614c7c760b974fa3c14cbd4ce7ec15ea2bd8a09b46fa0c93f43ca86794d2465", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d614c7c760b974fa3c14cbd4ce7ec15ea2bd8a09b46fa0c93f43ca86794d2465", kill_on_drop: false }` [INFO] [stdout] d614c7c760b974fa3c14cbd4ce7ec15ea2bd8a09b46fa0c93f43ca86794d2465