[INFO] cloning repository https://github.com/paavohuhtala/bfcrs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/paavohuhtala/bfcrs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpaavohuhtala%2Fbfcrs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpaavohuhtala%2Fbfcrs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cfa75356188b83ce56b1de13366bd431c304cfa2 [INFO] testing paavohuhtala/bfcrs 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%2Fpaavohuhtala%2Fbfcrs" "/workspace/builds/worker-27/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-27/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/paavohuhtala/bfcrs 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/paavohuhtala/bfcrs [INFO] finished tweaking git repo https://github.com/paavohuhtala/bfcrs [INFO] tweaked toml for git repo https://github.com/paavohuhtala/bfcrs written to /workspace/builds/worker-27/source/Cargo.toml [INFO] crate git repo https://github.com/paavohuhtala/bfcrs 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/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] d5950c96c4b529e77c69c1c638aea152a746dc0a3ac3f26a5e9f91a2b4783576 [INFO] running `Command { std: "docker" "start" "-a" "d5950c96c4b529e77c69c1c638aea152a746dc0a3ac3f26a5e9f91a2b4783576", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d5950c96c4b529e77c69c1c638aea152a746dc0a3ac3f26a5e9f91a2b4783576", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5950c96c4b529e77c69c1c638aea152a746dc0a3ac3f26a5e9f91a2b4783576", kill_on_drop: false }` [INFO] [stdout] d5950c96c4b529e77c69c1c638aea152a746dc0a3ac3f26a5e9f91a2b4783576 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/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] ce57d93e803105fec72911245a5ccb5bc13bd04d052cd91189792ca03de53b59 [INFO] running `Command { std: "docker" "start" "-a" "ce57d93e803105fec72911245a5ccb5bc13bd04d052cd91189792ca03de53b59", kill_on_drop: false }` [INFO] [stderr] Compiling byteorder v1.2.3 [INFO] [stderr] Compiling leb128 v0.2.3 [INFO] [stderr] Compiling bfcrs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find value `tail` in this scope [INFO] [stdout] --> src/optimizer.rs:13:45 [INFO] [stdout] | [INFO] [stdout] 13 | (Some(ChangeAddr(a)), [ChangeAddr(b), tail..]) => (Some(ChangeAddr(a + b)), tail), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `tail` in this scope [INFO] [stdout] --> src/optimizer.rs:13:83 [INFO] [stdout] | [INFO] [stdout] 13 | (Some(ChangeAddr(a)), [ChangeAddr(b), tail..]) => (Some(ChangeAddr(a + b)), tail), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `tail` in this scope [INFO] [stdout] --> src/optimizer.rs:14:79 [INFO] [stdout] | [INFO] [stdout] 14 | (Some(Offset(offs_a, ChangeValue(a))), [Offset(offs_b, ChangeValue(b)), tail..]) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `tail` in this scope [INFO] [stdout] --> src/optimizer.rs:17:65 [INFO] [stdout] | [INFO] [stdout] 17 | (Some(ProgramToken::offs_change_value(*offs_a, a + b)), tail) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `tail` in this scope [INFO] [stdout] --> src/optimizer.rs:21:68 [INFO] [stdout] | [INFO] [stdout] 21 | [Offset(0, ChangeValue(value)), ChangeAddr(addr_offset_b), tail..], [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `tail` in this scope [INFO] [stdout] --> src/optimizer.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | tail, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `tail` in this scope [INFO] [stdout] --> src/optimizer.rs:38:20 [INFO] [stdout] | [INFO] [stdout] 38 | [head, tail..] => (Some(head.clone()), tail), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `tail` in this scope [INFO] [stdout] --> src/optimizer.rs:38:52 [INFO] [stdout] | [INFO] [stdout] 38 | [head, tail..] => (Some(head.clone()), tail), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `tail` in this scope [INFO] [stdout] --> src/optimizer.rs:42:76 [INFO] [stdout] | [INFO] [stdout] 42 | (Some(Offset(offs_a, SetValue(0))), [Offset(offs_b, ChangeValue(a)), tail..]) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `tail` in this scope [INFO] [stdout] --> src/optimizer.rs:45:59 [INFO] [stdout] | [INFO] [stdout] 45 | (Some(ProgramToken::offs_set_value(*offs_a, *a)), tail) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `tail` in this scope [INFO] [stdout] --> src/optimizer.rs:47:73 [INFO] [stdout] | [INFO] [stdout] 47 | (Some(Offset(offs_a, SetValue(_))), [Offset(offs_b, SetValue(a)), tail..]) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `tail` in this scope [INFO] [stdout] --> src/optimizer.rs:48:78 [INFO] [stdout] | [INFO] [stdout] 48 | | (Some(Offset(offs_a, ChangeValue(_))), [Offset(offs_b, SetValue(a)), tail..]) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `tail` in this scope [INFO] [stdout] --> src/optimizer.rs:51:59 [INFO] [stdout] | [INFO] [stdout] 51 | (Some(ProgramToken::offs_set_value(*offs_a, *a)), tail) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `tail` in this scope [INFO] [stdout] --> src/optimizer.rs:58:32 [INFO] [stdout] | [INFO] [stdout] 58 | (Some(ref token), [head, tail..]) => { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `tail` in this scope [INFO] [stdout] --> src/optimizer.rs:60:30 [INFO] [stdout] | [INFO] [stdout] 60 | (Some(head.clone()), tail) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `tail` in this scope [INFO] [stdout] --> src/optimizer.rs:62:21 [INFO] [stdout] | [INFO] [stdout] 62 | (None, [head, tail..]) => (Some(head.clone()), tail), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `tail` in this scope [INFO] [stdout] --> src/optimizer.rs:62:54 [INFO] [stdout] | [INFO] [stdout] 62 | (None, [head, tail..]) => (Some(head.clone()), tail), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(iterator_find_map)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(iterator_flatten)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(slice_patterns)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the attribute [INFO] [stdout] | [INFO] [stdout] = help: the feature `slice_patterns` has been stable since 1.42.0 and no longer requires an attribute to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `X..` patterns in slices are experimental [INFO] [stdout] --> src/optimizer.rs:13:45 [INFO] [stdout] | [INFO] [stdout] 13 | (Some(ChangeAddr(a)), [ChangeAddr(b), tail..]) => (Some(ChangeAddr(a + b)), tail), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #67264 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `X..` patterns in slices are experimental [INFO] [stdout] --> src/optimizer.rs:14:79 [INFO] [stdout] | [INFO] [stdout] 14 | (Some(Offset(offs_a, ChangeValue(a))), [Offset(offs_b, ChangeValue(b)), tail..]) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #67264 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `X..` patterns in slices are experimental [INFO] [stdout] --> src/optimizer.rs:21:68 [INFO] [stdout] | [INFO] [stdout] 21 | [Offset(0, ChangeValue(value)), ChangeAddr(addr_offset_b), tail..], [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #67264 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `X..` patterns in slices are experimental [INFO] [stdout] --> src/optimizer.rs:38:20 [INFO] [stdout] | [INFO] [stdout] 38 | [head, tail..] => (Some(head.clone()), tail), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #67264 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `X..` patterns in slices are experimental [INFO] [stdout] --> src/optimizer.rs:42:76 [INFO] [stdout] | [INFO] [stdout] 42 | (Some(Offset(offs_a, SetValue(0))), [Offset(offs_b, ChangeValue(a)), tail..]) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #67264 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `X..` patterns in slices are experimental [INFO] [stdout] --> src/optimizer.rs:47:73 [INFO] [stdout] | [INFO] [stdout] 47 | (Some(Offset(offs_a, SetValue(_))), [Offset(offs_b, SetValue(a)), tail..]) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #67264 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `X..` patterns in slices are experimental [INFO] [stdout] --> src/optimizer.rs:48:78 [INFO] [stdout] | [INFO] [stdout] 48 | | (Some(Offset(offs_a, ChangeValue(_))), [Offset(offs_b, SetValue(a)), tail..]) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #67264 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `X..` patterns in slices are experimental [INFO] [stdout] --> src/optimizer.rs:58:32 [INFO] [stdout] | [INFO] [stdout] 58 | (Some(ref token), [head, tail..]) => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #67264 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `X..` patterns in slices are experimental [INFO] [stdout] --> src/optimizer.rs:62:21 [INFO] [stdout] | [INFO] [stdout] 62 | (None, [head, tail..]) => (Some(head.clone()), tail), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #67264 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `slice_patterns` has been stable since 1.42.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(slice_patterns)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(iterator_find_map)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(iterator_flatten)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `iterator_find_map` has been stable since 1.30.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(iterator_find_map)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `iterator_flatten` has been stable since 1.29.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(iterator_flatten)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/backend/mod.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 12 | impl Backend { [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] 12 - impl Backend { [INFO] [stdout] 12 + impl dyn Backend { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/backend/mod.rs:13:46 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn from_name(name: &str) -> Option> { [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] 13 - pub fn from_name(name: &str) -> Option> { [INFO] [stdout] 13 + pub fn from_name(name: &str) -> Option> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/backend/wasm/code_stream.rs:85:66 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn emit_print_string(&mut self, s: &str) -> Result<(), 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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 85 - pub fn emit_print_string(&mut self, s: &str) -> Result<(), Box> { [INFO] [stdout] 85 + pub fn emit_print_string(&mut self, s: &str) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/backend/wasm/code_stream.rs:93:61 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn emit(&mut self, op: Instruction) -> Result<(), 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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 93 - pub fn emit(&mut self, op: Instruction) -> Result<(), Box> { [INFO] [stdout] 93 + pub fn emit(&mut self, op: Instruction) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/backend/wasm/module_builder.rs:66:21 [INFO] [stdout] | [INFO] [stdout] 66 | ) -> Result<(), 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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 66 - ) -> Result<(), Box> { [INFO] [stdout] 66 + ) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/backend/wasm/module_builder.rs:29:56 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn add_section(&mut self, id: u8, entries: &[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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 29 - pub fn add_section(&mut self, id: u8, entries: &[Box ()>]) { [INFO] [stdout] 29 + pub fn add_section(&mut self, id: u8, entries: &[Box ()>]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/backend/wasm/module_builder.rs:40:82 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn write_to_stream(mut self, mut stream: &mut dyn Write) -> Result<(), 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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 - pub fn write_to_stream(mut self, mut stream: &mut dyn Write) -> Result<(), Box> { [INFO] [stdout] 40 + pub fn write_to_stream(mut self, mut stream: &mut dyn Write) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/backend/wasm/module_builder.rs:321:23 [INFO] [stdout] | [INFO] [stdout] 321 | ) -> Result<(), 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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 321 - ) -> Result<(), Box> { [INFO] [stdout] 321 + ) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0029]: only `char` and numeric types are allowed in range patterns [INFO] [stdout] --> src/optimizer.rs:13:45 [INFO] [stdout] | [INFO] [stdout] 13 | (Some(ChangeAddr(a)), [ChangeAddr(b), tail..]) => (Some(ChangeAddr(a + b)), tail), [INFO] [stdout] | ^^^^ this is of type `[type error]` but it should be `char` or numeric [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0029]: only `char` and numeric types are allowed in range patterns [INFO] [stdout] --> src/optimizer.rs:14:79 [INFO] [stdout] | [INFO] [stdout] 14 | (Some(Offset(offs_a, ChangeValue(a))), [Offset(offs_b, ChangeValue(b)), tail..]) [INFO] [stdout] | ^^^^ this is of type `[type error]` but it should be `char` or numeric [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0029]: only `char` and numeric types are allowed in range patterns [INFO] [stdout] --> src/optimizer.rs:21:68 [INFO] [stdout] | [INFO] [stdout] 21 | [Offset(0, ChangeValue(value)), ChangeAddr(addr_offset_b), tail..], [INFO] [stdout] | ^^^^ this is of type `[type error]` but it should be `char` or numeric [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0029]: only `char` and numeric types are allowed in range patterns [INFO] [stdout] --> src/optimizer.rs:42:76 [INFO] [stdout] | [INFO] [stdout] 42 | (Some(Offset(offs_a, SetValue(0))), [Offset(offs_b, ChangeValue(a)), tail..]) [INFO] [stdout] | ^^^^ this is of type `[type error]` but it should be `char` or numeric [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0029]: only `char` and numeric types are allowed in range patterns [INFO] [stdout] --> src/optimizer.rs:47:73 [INFO] [stdout] | [INFO] [stdout] 47 | (Some(Offset(offs_a, SetValue(_))), [Offset(offs_b, SetValue(a)), tail..]) [INFO] [stdout] | ^^^^ this is of type `[type error]` but it should be `char` or numeric [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0029]: only `char` and numeric types are allowed in range patterns [INFO] [stdout] --> src/optimizer.rs:48:78 [INFO] [stdout] | [INFO] [stdout] 48 | | (Some(Offset(offs_a, ChangeValue(_))), [Offset(offs_b, SetValue(a)), tail..]) [INFO] [stdout] | ^^^^ this is of type `[type error]` but it should be `char` or numeric [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0029]: only `char` and numeric types are allowed in range patterns [INFO] [stdout] --> src/optimizer.rs:58:32 [INFO] [stdout] | [INFO] [stdout] 58 | (Some(ref token), [head, tail..]) => { [INFO] [stdout] | ^^^^ this is of type `[type error]` but it should be `char` or numeric [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0029]: only `char` and numeric types are allowed in range patterns [INFO] [stdout] --> src/optimizer.rs:62:21 [INFO] [stdout] | [INFO] [stdout] 62 | (None, [head, tail..]) => (Some(head.clone()), tail), [INFO] [stdout] | ^^^^ this is of type `[type error]` but it should be `char` or numeric [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0029]: only `char` and numeric types are allowed in range patterns [INFO] [stdout] --> src/optimizer.rs:38:20 [INFO] [stdout] | [INFO] [stdout] 38 | [head, tail..] => (Some(head.clone()), tail), [INFO] [stdout] | ^^^^ this is of type `[type error]` but it should be `char` or numeric [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 40 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0029, E0425, E0554, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0029`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bfcrs` due to 41 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ce57d93e803105fec72911245a5ccb5bc13bd04d052cd91189792ca03de53b59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce57d93e803105fec72911245a5ccb5bc13bd04d052cd91189792ca03de53b59", kill_on_drop: false }` [INFO] [stdout] ce57d93e803105fec72911245a5ccb5bc13bd04d052cd91189792ca03de53b59