[INFO] cloning repository https://github.com/xlnx/myrpg [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xlnx/myrpg" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxlnx%2Fmyrpg", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxlnx%2Fmyrpg'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0979b38aa1e8ef9d77be4359e5347fecd4baf085 [INFO] checking xlnx/myrpg against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxlnx%2Fmyrpg" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/xlnx/myrpg on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/xlnx/myrpg [INFO] finished tweaking git repo https://github.com/xlnx/myrpg [INFO] tweaked toml for git repo https://github.com/xlnx/myrpg written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/xlnx/myrpg already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tint v1.0.1 [INFO] [stderr] Downloaded ptree v0.2.1 [INFO] [stderr] Downloaded ref_thread_local v0.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 11a6ea374435da78d50f786ea61e83880c6601e73dfccb33dd242e34e1b777f9 [INFO] running `Command { std: "docker" "start" "-a" "11a6ea374435da78d50f786ea61e83880c6601e73dfccb33dd242e34e1b777f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "11a6ea374435da78d50f786ea61e83880c6601e73dfccb33dd242e34e1b777f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11a6ea374435da78d50f786ea61e83880c6601e73dfccb33dd242e34e1b777f9", kill_on_drop: false }` [INFO] [stdout] 11a6ea374435da78d50f786ea61e83880c6601e73dfccb33dd242e34e1b777f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2841b9428e61a693826459d391e4cb9af9c57411bb102f3754e9f8802a327769 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "2841b9428e61a693826459d391e4cb9af9c57411bb102f3754e9f8802a327769", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] winapi v0.3.7: errhandlingapi, fileapi, knownfolders, minwinbase, ntsecapi, objbase, profileapi, shlobj, winerror [INFO] [stderr] winapi v0.3.7 (as host dependency): errhandlingapi, fileapi, knownfolders, minwinbase, ntsecapi, objbase, profileapi, shlobj, winerror [INFO] [stderr] [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling libc v0.2.54 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling serde v1.0.91 [INFO] [stderr] Compiling regex v1.1.6 [INFO] [stderr] Compiling ryu v0.2.8 [INFO] [stderr] Compiling proc-macro2 v0.4.28 [INFO] [stderr] Compiling cgmath v0.16.1 [INFO] [stderr] Compiling winapi v0.3.7 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling syn v0.15.33 [INFO] [stderr] Compiling serde v0.8.23 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling linked-hash-map v0.5.2 [INFO] [stderr] Compiling approx v0.1.1 [INFO] [stderr] Compiling ordermap v0.3.5 [INFO] [stderr] Compiling cfg-if v0.1.7 [INFO] [stderr] Compiling fixedbitset v0.1.9 [INFO] [stderr] Compiling rgb v0.8.13 [INFO] [stderr] Compiling rust-ini v0.13.0 [INFO] [stderr] Compiling typed-arena v1.4.1 [INFO] [stderr] Compiling ref_thread_local v0.0.0 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Checking regex-syntax v0.6.6 [INFO] [stderr] Compiling tint v1.0.1 [INFO] [stderr] Compiling yaml-rust v0.4.3 [INFO] [stderr] Compiling pretty v0.5.2 [INFO] [stderr] Compiling petgraph v0.4.13 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling directories v1.0.2 [INFO] [stderr] Compiling isatty v0.1.9 [INFO] [stderr] Compiling serde_test v0.8.23 [INFO] [stderr] Compiling aho-corasick v0.7.3 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Compiling linked-hash-map v0.3.0 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling serde_json v1.0.39 [INFO] [stderr] Compiling serde-value v0.5.3 [INFO] [stderr] Compiling serde-hjson v0.8.2 [INFO] [stderr] Checking winconsole v0.10.0 [INFO] [stderr] Checking colored v1.8.0 [INFO] [stderr] Compiling config v0.9.2 [INFO] [stderr] Compiling serde_derive v1.0.91 [INFO] [stderr] Compiling ptree v0.2.1 [INFO] [stderr] Checking lalr_util v0.1.0 (/tmp/fixit/src/lalr_util) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lalr_util/src/log.rs:85:21 [INFO] [stdout] | [INFO] [stdout] 85 | writer: &'a mut Write, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lalr_util/src/log.rs:89:33 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn from(writer: &'a mut Write) -> Self { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lalr_util/src/rule.rs:15:35 [INFO] [stdout] | [INFO] [stdout] 15 | pub handle_reduce: Option) -> ()>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut Ast) -> ()` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lalr_util/src/rule.rs:16:26 [INFO] [stdout] | [INFO] [stdout] 16 | pub handle_exec: Box) -> Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Ast) -> Option` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lalr_util/src/log.rs:85:21 [INFO] [stdout] | [INFO] [stdout] 85 | writer: &'a mut Write, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lalr_util/src/log.rs:89:33 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn from(writer: &'a mut Write) -> Self { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lalr_util/src/rule.rs:15:35 [INFO] [stdout] | [INFO] [stdout] 15 | pub handle_reduce: Option) -> ()>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut Ast) -> ()` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lalr_util/src/rule.rs:16:26 [INFO] [stdout] | [INFO] [stdout] 16 | pub handle_exec: Box) -> Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Ast) -> Option` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> src/lalr_util/src/ast.rs:171:43 [INFO] [stdout] | [INFO] [stdout] 171 | serde_json::Value::Object(ref map) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> src/lalr_util/src/ast.rs:171:43 [INFO] [stdout] | [INFO] [stdout] 171 | serde_json::Value::Object(ref map) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lalr_util/src/rule.rs:146:20 [INFO] [stdout] | [INFO] [stdout] 146 | panic!(format!("Use of undeclared rule set: {:?}", src)); [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] 146 - panic!(format!("Use of undeclared rule set: {:?}", src)); [INFO] [stdout] 146 + panic!("Use of undeclared rule set: {:?}", src); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lalr_util/src/rule.rs:146:20 [INFO] [stdout] | [INFO] [stdout] 146 | panic!(format!("Use of undeclared rule set: {:?}", src)); [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] 146 - panic!(format!("Use of undeclared rule set: {:?}", src)); [INFO] [stdout] 146 + panic!("Use of undeclared rule set: {:?}", src); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling proc_callback v0.1.0 (/tmp/fixit/src/proc_callback) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/proc_callback/src/lib.rs:432:36 [INFO] [stdout] | [INFO] [stdout] 432 | ... panic!(format!( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 433 | | ... "Conflict action found when receiving {:?}:\n#0: {}\n#1: Reducing {:?}\nCan't build parse table", [INFO] [stdout] 434 | | ... symbol, [INFO] [stdout] 435 | | ... prev, [INFO] [stdout] 436 | | ... item [INFO] [stdout] 437 | | ... )); [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] 432 ~ panic!( [INFO] [stdout] 433 | "Conflict action found when receiving {:?}:\n#0: {}\n#1: Reducing {:?}\nCan't build parse table", [INFO] [stdout] 434 | symbol, [INFO] [stdout] 435 | prev, [INFO] [stdout] 436 | item [INFO] [stdout] 437 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking myrpg v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/lang.rs (3 fixes) [INFO] [stderr] Fixed src/lib.rs (4 fixes) [INFO] [stdout] warning: unused return value of `VecDeque::::split_off` that must be used [INFO] [stdout] --> src/lib.rs:259:9 [INFO] [stdout] | [INFO] [stdout] 259 | states.split_off(len - ast_size - term_size); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: use `.truncate()` if you don't need the other half [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `VecDeque::::split_off` that must be used [INFO] [stdout] --> src/lib.rs:259:9 [INFO] [stdout] | [INFO] [stdout] 259 | states.split_off(len - ast_size - term_size); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: use `.truncate()` if you don't need the other half [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/test.rs from 2018 edition to 2021 [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed tests/test.rs (1 fix) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 37.93s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Compiling winapi v0.3.7 [INFO] [stderr] Compiling winconsole v0.10.0 [INFO] [stderr] Compiling colored v1.8.0 [INFO] [stderr] Compiling lalr_util v0.1.0 (/tmp/fixit/src/lalr_util) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lalr_util/src/log.rs:85:21 [INFO] [stdout] | [INFO] [stdout] 85 | writer: &'a mut Write, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lalr_util/src/log.rs:89:33 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn from(writer: &'a mut Write) -> Self { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lalr_util/src/rule.rs:15:35 [INFO] [stdout] | [INFO] [stdout] 15 | pub handle_reduce: Option) -> ()>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut Ast) -> ()` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lalr_util/src/rule.rs:16:26 [INFO] [stdout] | [INFO] [stdout] 16 | pub handle_exec: Box) -> Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Ast) -> Option` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lalr_util/src/log.rs:85:21 [INFO] [stdout] | [INFO] [stdout] 85 | writer: &'a mut Write, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lalr_util/src/log.rs:89:33 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn from(writer: &'a mut Write) -> Self { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lalr_util/src/rule.rs:15:35 [INFO] [stdout] | [INFO] [stdout] 15 | pub handle_reduce: Option) -> ()>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut Ast) -> ()` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lalr_util/src/rule.rs:16:26 [INFO] [stdout] | [INFO] [stdout] 16 | pub handle_exec: Box) -> Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Ast) -> Option` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> src/lalr_util/src/ast.rs:171:43 [INFO] [stdout] | [INFO] [stdout] 171 | serde_json::Value::Object(ref map) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> src/lalr_util/src/ast.rs:171:43 [INFO] [stdout] | [INFO] [stdout] 171 | serde_json::Value::Object(ref map) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lalr_util/src/rule.rs:146:20 [INFO] [stdout] | [INFO] [stdout] 146 | panic!(format!("Use of undeclared rule set: {:?}", src)); [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] 146 - panic!(format!("Use of undeclared rule set: {:?}", src)); [INFO] [stdout] 146 + panic!("Use of undeclared rule set: {:?}", src); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lalr_util/src/rule.rs:146:20 [INFO] [stdout] | [INFO] [stdout] 146 | panic!(format!("Use of undeclared rule set: {:?}", src)); [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] 146 - panic!(format!("Use of undeclared rule set: {:?}", src)); [INFO] [stdout] 146 + panic!("Use of undeclared rule set: {:?}", src); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling proc_callback v0.1.0 (/tmp/fixit/src/proc_callback) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/proc_callback/src/lib.rs:432:36 [INFO] [stdout] | [INFO] [stdout] 432 | ... panic!(format!( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 433 | | ... "Conflict action found when receiving {:?}:\n#0: {}\n#1: Reducing {:?}\nCan't build parse table", [INFO] [stdout] 434 | | ... symbol, [INFO] [stdout] 435 | | ... prev, [INFO] [stdout] 436 | | ... item [INFO] [stdout] 437 | | ... )); [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] 432 ~ panic!( [INFO] [stdout] 433 | "Conflict action found when receiving {:?}:\n#0: {}\n#1: Reducing {:?}\nCan't build parse table", [INFO] [stdout] 434 | symbol, [INFO] [stdout] 435 | prev, [INFO] [stdout] 436 | item [INFO] [stdout] 437 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking myrpg v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: unused return value of `VecDeque::::split_off` that must be used [INFO] [stdout] --> src/lib.rs:259:9 [INFO] [stdout] | [INFO] [stdout] 259 | states.split_off(len - ast_size - term_size); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: use `.truncate()` if you don't need the other half [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `VecDeque::::split_off` that must be used [INFO] [stdout] --> src/lib.rs:259:9 [INFO] [stdout] | [INFO] [stdout] 259 | states.split_off(len - ast_size - term_size); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: use `.truncate()` if you don't need the other half [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Computing First Set... [INFO] [stdout] Computing Closures... [INFO] [stdout] Computing Look Ahead Tokens... [INFO] [stdout] Building LALR Action Table... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] States = 9 [INFO] [stdout] Actions = 19 [INFO] [stdout] Computing First Set... [INFO] [stdout] Computing Closures... [INFO] [stdout] Computing Look Ahead Tokens... [INFO] [stdout] Building LALR Action Table... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] States = 10 [INFO] [stdout] Actions = 33 [INFO] [stdout] error[E0782]: trait objects must include the `dyn` keyword [INFO] [stdout] --> tests/test.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lang! { [INFO] [stdout] 4 | | [INFO] [stdout] 5 | | Name = IfExpr [INFO] [stdout] 6 | | ValueType = i32 [INFO] [stdout] ... | [INFO] [stdout] 22 | | [INFO] [stdout] 23 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lang` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `dyn` keyword before this trait [INFO] [stdout] | [INFO] [stdout] 120| Vec<(&'a str, &'a str, Option ()>>)>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: trait objects must include the `dyn` keyword [INFO] [stdout] --> tests/test.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lang! { [INFO] [stdout] 4 | | [INFO] [stdout] 5 | | Name = IfExpr [INFO] [stdout] 6 | | ValueType = i32 [INFO] [stdout] ... | [INFO] [stdout] 22 | | [INFO] [stdout] 23 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lang` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `dyn` keyword before this trait [INFO] [stdout] | [INFO] [stdout] 126| Option) -> Option<$res>>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: trait objects must include the `dyn` keyword [INFO] [stdout] --> tests/test.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lang! { [INFO] [stdout] 4 | | [INFO] [stdout] 5 | | Name = IfExpr [INFO] [stdout] 6 | | ValueType = i32 [INFO] [stdout] ... | [INFO] [stdout] 22 | | [INFO] [stdout] 23 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lang` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `dyn` keyword before this trait [INFO] [stdout] | [INFO] [stdout] 127| Option) -> ()>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: trait objects must include the `dyn` keyword [INFO] [stdout] --> tests/test.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lang! { [INFO] [stdout] 4 | | [INFO] [stdout] 5 | | Name = IfExpr [INFO] [stdout] 6 | | ValueType = i32 [INFO] [stdout] ... | [INFO] [stdout] 22 | | [INFO] [stdout] 23 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lang` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `dyn` keyword before this trait [INFO] [stdout] | [INFO] [stdout] 136| Option) -> Option<$res>>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: trait objects must include the `dyn` keyword [INFO] [stdout] --> tests/test.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / lang! { [INFO] [stdout] 4 | | [INFO] [stdout] 5 | | Name = IfExpr [INFO] [stdout] 6 | | ValueType = i32 [INFO] [stdout] ... | [INFO] [stdout] 22 | | [INFO] [stdout] 23 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lang` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `dyn` keyword before this trait [INFO] [stdout] | [INFO] [stdout] 137| Option) -> ()>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: trait objects must include the `dyn` keyword [INFO] [stdout] --> tests/test.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | / lang! { [INFO] [stdout] 44 | | [INFO] [stdout] 45 | | Name = SrcLocExpr [INFO] [stdout] 46 | | ValueType = () [INFO] [stdout] ... | [INFO] [stdout] 66 | | ] [INFO] [stdout] 67 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lang` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `dyn` keyword before this trait [INFO] [stdout] | [INFO] [stdout] 120| Vec<(&'a str, &'a str, Option ()>>)>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: trait objects must include the `dyn` keyword [INFO] [stdout] --> tests/test.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | / lang! { [INFO] [stdout] 44 | | [INFO] [stdout] 45 | | Name = SrcLocExpr [INFO] [stdout] 46 | | ValueType = () [INFO] [stdout] ... | [INFO] [stdout] 66 | | ] [INFO] [stdout] 67 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lang` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `dyn` keyword before this trait [INFO] [stdout] | [INFO] [stdout] 126| Option) -> Option<$res>>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: trait objects must include the `dyn` keyword [INFO] [stdout] --> tests/test.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | / lang! { [INFO] [stdout] 44 | | [INFO] [stdout] 45 | | Name = SrcLocExpr [INFO] [stdout] 46 | | ValueType = () [INFO] [stdout] ... | [INFO] [stdout] 66 | | ] [INFO] [stdout] 67 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lang` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `dyn` keyword before this trait [INFO] [stdout] | [INFO] [stdout] 127| Option) -> ()>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: trait objects must include the `dyn` keyword [INFO] [stdout] --> tests/test.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | / lang! { [INFO] [stdout] 44 | | [INFO] [stdout] 45 | | Name = SrcLocExpr [INFO] [stdout] 46 | | ValueType = () [INFO] [stdout] ... | [INFO] [stdout] 66 | | ] [INFO] [stdout] 67 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lang` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `dyn` keyword before this trait [INFO] [stdout] | [INFO] [stdout] 136| Option) -> Option<$res>>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: trait objects must include the `dyn` keyword [INFO] [stdout] --> tests/test.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | / lang! { [INFO] [stdout] 44 | | [INFO] [stdout] 45 | | Name = SrcLocExpr [INFO] [stdout] 46 | | ValueType = () [INFO] [stdout] ... | [INFO] [stdout] 66 | | ] [INFO] [stdout] 67 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `lang` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add `dyn` keyword before this trait [INFO] [stdout] | [INFO] [stdout] 137| Option) -> ()>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0782`. [INFO] [stdout] [INFO] [stderr] error: could not compile `myrpg` due to 11 previous errors [INFO] [stderr] error: failed to check after updating to 2021 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "2841b9428e61a693826459d391e4cb9af9c57411bb102f3754e9f8802a327769", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2841b9428e61a693826459d391e4cb9af9c57411bb102f3754e9f8802a327769", kill_on_drop: false }` [INFO] [stdout] 2841b9428e61a693826459d391e4cb9af9c57411bb102f3754e9f8802a327769