[INFO] cloning repository https://github.com/aHeraud/bfc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aHeraud/bfc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FaHeraud%2Fbfc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FaHeraud%2Fbfc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a7f835313581bb6f8dd1838d91b00a6010d1afc7 [INFO] checking aHeraud/bfc against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FaHeraud%2Fbfc" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/aHeraud/bfc [INFO] finished tweaking git repo https://github.com/aHeraud/bfc [INFO] tweaked toml for git repo https://github.com/aHeraud/bfc written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/aHeraud/bfc on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/aHeraud/bfc already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7bfed0f02ab140ba30221a4e3cbb2ca709197cf7007366d327ea5ebb0318c5cc [INFO] running `Command { std: "docker" "start" "-a" "7bfed0f02ab140ba30221a4e3cbb2ca709197cf7007366d327ea5ebb0318c5cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7bfed0f02ab140ba30221a4e3cbb2ca709197cf7007366d327ea5ebb0318c5cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7bfed0f02ab140ba30221a4e3cbb2ca709197cf7007366d327ea5ebb0318c5cc", kill_on_drop: false }` [INFO] [stdout] 7bfed0f02ab140ba30221a4e3cbb2ca709197cf7007366d327ea5ebb0318c5cc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dunmustuse_in_always_ok" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5bffdcb7e324fc83c1597a07aa02c0b3c5de129ef9d9b27c939d0ef2b07c1807 [INFO] running `Command { std: "docker" "start" "-a" "5bffdcb7e324fc83c1597a07aa02c0b3c5de129ef9d9b27c939d0ef2b07c1807", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.48 [INFO] [stderr] Compiling proc-macro2 v0.4.26 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling syn v1.0.8 [INFO] [stderr] Compiling serde v1.0.85 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling target-lexicon v0.9.0 [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Compiling memchr v2.1.3 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling cranelift-entity v0.50.0 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Compiling cranelift-codegen-shared v0.50.0 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling cc v1.0.28 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling string_cache_shared v0.3.0 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.2 [INFO] [stderr] Compiling cranelift-codegen-meta v0.50.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Checking cranelift-bforest v0.50.0 [INFO] [stderr] Compiling block-padding v0.1.3 [INFO] [stderr] Compiling regex-syntax v0.6.5 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling rand_os v0.1.2 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling backtrace v0.3.14 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Checking smallvec v1.0.0 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling aho-corasick v0.6.9 [INFO] [stderr] Compiling new_debug_unreachable v1.0.1 [INFO] [stderr] Compiling ordermap v0.3.5 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling opaque-debug v0.2.2 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Checking rustc-demangle v0.1.13 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling fixedbitset v0.1.9 [INFO] [stderr] Compiling bit-vec v0.5.0 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling itertools v0.8.0 [INFO] [stderr] Compiling syn v0.15.26 [INFO] [stderr] Compiling ena v0.13.0 [INFO] [stderr] Compiling bit-set v0.5.0 [INFO] [stderr] Compiling generic-array v0.12.0 [INFO] [stderr] Compiling petgraph v0.4.13 [INFO] [stderr] Compiling ascii-canvas v2.0.0 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking plain v0.2.3 [INFO] [stderr] Compiling lalrpop-util v0.17.2 [INFO] [stderr] Compiling unicode-segmentation v1.2.1 [INFO] [stderr] Compiling diff v0.1.11 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling string_cache_codegen v0.4.2 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Compiling block-buffer v0.7.2 [INFO] [stderr] Compiling digest v0.8.0 [INFO] [stderr] Checking indexmap v1.0.2 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Compiling sha2 v0.8.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Compiling string_cache v0.7.3 [INFO] [stderr] Compiling proc-macro-error v0.2.6 [INFO] [stderr] Compiling thiserror-impl v1.0.5 [INFO] [stderr] Compiling scroll_derive v0.10.1 [INFO] [stderr] Compiling structopt-derive v0.3.4 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Checking scroll v0.10.1 [INFO] [stderr] Compiling serde_derive v1.0.85 [INFO] [stderr] Checking thiserror v1.0.5 [INFO] [stderr] Checking goblin v0.1.1 [INFO] [stderr] Checking failure v0.1.5 [INFO] [stderr] Checking structopt v0.3.4 [INFO] [stderr] Checking string-interner v0.7.1 [INFO] [stderr] Compiling cranelift-codegen v0.50.0 [INFO] [stderr] Compiling docopt v1.0.2 [INFO] [stderr] Checking faerie v0.12.0 [INFO] [stderr] Compiling lalrpop v0.17.2 [INFO] [stderr] Checking cranelift-module v0.50.0 [INFO] [stderr] Checking cranelift-frontend v0.50.0 [INFO] [stderr] Checking cranelift-faerie v0.50.0 [INFO] [stderr] Checking cranelift v0.50.0 [INFO] [stderr] Compiling bfc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/bfc-8475e2bdbb444cab/out/grammar.rs:838:5 [INFO] [stdout] | [INFO] [stdout] 838 | (__0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 838 - (__0) [INFO] [stdout] 838 + __0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/bfc-8475e2bdbb444cab/out/grammar.rs:838:5 [INFO] [stdout] | [INFO] [stdout] 838 | (__0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 838 - (__0) [INFO] [stdout] 838 + __0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `getchar` is never read [INFO] [stdout] --> src/codegen.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 115 | struct TranslationContext<'a, 'b> { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 122 | getchar: FuncRef [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result<(usize, Token, usize), LexerError> [INFO] [stdout] --> src/lexer.rs:40:51 [INFO] [stdout] | [INFO] [stdout] 40 | Some((index, '[')) => return Some(Ok((index, Token::LoopStart, index + 1))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result<(usize, Token, usize), LexerError> [INFO] [stdout] --> src/lexer.rs:41:51 [INFO] [stdout] | [INFO] [stdout] 41 | Some((index, ']')) => return Some(Ok((index, Token::LoopEnd, index + 1))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result<(usize, Token, usize), LexerError> [INFO] [stdout] --> src/lexer.rs:42:51 [INFO] [stdout] | [INFO] [stdout] 42 | Some((index, '+')) => return Some(Ok((index, Token::Inc, index + 1))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result<(usize, Token, usize), LexerError> [INFO] [stdout] --> src/lexer.rs:43:51 [INFO] [stdout] | [INFO] [stdout] 43 | Some((index, '-')) => return Some(Ok((index, Token::Dec, index + 1))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result<(usize, Token, usize), LexerError> [INFO] [stdout] --> src/lexer.rs:44:51 [INFO] [stdout] | [INFO] [stdout] 44 | Some((index, '>')) => return Some(Ok((index, Token::IncPtr, index + 1))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result<(usize, Token, usize), LexerError> [INFO] [stdout] --> src/lexer.rs:45:51 [INFO] [stdout] | [INFO] [stdout] 45 | Some((index, '<')) => return Some(Ok((index, Token::DecPtr, index + 1))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result<(usize, Token, usize), LexerError> [INFO] [stdout] --> src/lexer.rs:46:51 [INFO] [stdout] | [INFO] [stdout] 46 | Some((index, '.')) => return Some(Ok((index, Token::Print, index + 1))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result<(usize, Token, usize), LexerError> [INFO] [stdout] --> src/lexer.rs:47:51 [INFO] [stdout] | [INFO] [stdout] 47 | Some((index, ',')) => return Some(Ok((index, Token::Read, index + 1))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/codegen.rs:236:25 [INFO] [stdout] | [INFO] [stdout] 236 | _ => panic!(format!("Codegen for {:?} not implemented", self)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 236 - _ => panic!(format!("Codegen for {:?} not implemented", self)) [INFO] [stdout] 236 + _ => panic!("Codegen for {:?} not implemented", self) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result<(usize, Token, usize), LexerError> [INFO] [stdout] --> /opt/rustwide/target/debug/build/bfc-8475e2bdbb444cab/out/grammar.rs:1051:15 [INFO] [stdout] | [INFO] [stdout] 1051 | match value { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bfc` (bin "bfc" test) due to 9 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `getchar` is never read [INFO] [stdout] --> src/codegen.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 115 | struct TranslationContext<'a, 'b> { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 122 | getchar: FuncRef [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result<(usize, Token, usize), LexerError> [INFO] [stdout] --> src/lexer.rs:40:51 [INFO] [stdout] | [INFO] [stdout] 40 | Some((index, '[')) => return Some(Ok((index, Token::LoopStart, index + 1))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result<(usize, Token, usize), LexerError> [INFO] [stdout] --> src/lexer.rs:41:51 [INFO] [stdout] | [INFO] [stdout] 41 | Some((index, ']')) => return Some(Ok((index, Token::LoopEnd, index + 1))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result<(usize, Token, usize), LexerError> [INFO] [stdout] --> src/lexer.rs:42:51 [INFO] [stdout] | [INFO] [stdout] 42 | Some((index, '+')) => return Some(Ok((index, Token::Inc, index + 1))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result<(usize, Token, usize), LexerError> [INFO] [stdout] --> src/lexer.rs:43:51 [INFO] [stdout] | [INFO] [stdout] 43 | Some((index, '-')) => return Some(Ok((index, Token::Dec, index + 1))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result<(usize, Token, usize), LexerError> [INFO] [stdout] --> src/lexer.rs:44:51 [INFO] [stdout] | [INFO] [stdout] 44 | Some((index, '>')) => return Some(Ok((index, Token::IncPtr, index + 1))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result<(usize, Token, usize), LexerError> [INFO] [stdout] --> src/lexer.rs:45:51 [INFO] [stdout] | [INFO] [stdout] 45 | Some((index, '<')) => return Some(Ok((index, Token::DecPtr, index + 1))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result<(usize, Token, usize), LexerError> [INFO] [stdout] --> src/lexer.rs:46:51 [INFO] [stdout] | [INFO] [stdout] 46 | Some((index, '.')) => return Some(Ok((index, Token::Print, index + 1))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result<(usize, Token, usize), LexerError> [INFO] [stdout] --> src/lexer.rs:47:51 [INFO] [stdout] | [INFO] [stdout] 47 | Some((index, ',')) => return Some(Ok((index, Token::Read, index + 1))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/codegen.rs:236:25 [INFO] [stdout] | [INFO] [stdout] 236 | _ => panic!(format!("Codegen for {:?} not implemented", self)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 236 - _ => panic!(format!("Codegen for {:?} not implemented", self)) [INFO] [stdout] 236 + _ => panic!("Codegen for {:?} not implemented", self) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result<(usize, Token, usize), LexerError> [INFO] [stdout] --> /opt/rustwide/target/debug/build/bfc-8475e2bdbb444cab/out/grammar.rs:1051:15 [INFO] [stdout] | [INFO] [stdout] 1051 | match value { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bfc` (bin "bfc") due to 9 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5bffdcb7e324fc83c1597a07aa02c0b3c5de129ef9d9b27c939d0ef2b07c1807", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5bffdcb7e324fc83c1597a07aa02c0b3c5de129ef9d9b27c939d0ef2b07c1807", kill_on_drop: false }` [INFO] [stdout] 5bffdcb7e324fc83c1597a07aa02c0b3c5de129ef9d9b27c939d0ef2b07c1807