[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 master#94b72d6bebbddb5d17860914c4544f37365e988c for pr-122789 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxlnx%2Fmyrpg" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/xlnx/myrpg on toolchain 94b72d6bebbddb5d17860914c4544f37365e988c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+94b72d6bebbddb5d17860914c4544f37365e988c" "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-2-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+94b72d6bebbddb5d17860914c4544f37365e988c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ref_thread_local v0.0.0 [INFO] [stderr] Downloaded serde v0.8.23 [INFO] [stderr] Downloaded serde_test v0.8.23 [INFO] [stderr] Downloaded typed-arena v1.4.1 [INFO] [stderr] Downloaded petgraph v0.4.13 [INFO] [stderr] Downloaded directories v1.0.2 [INFO] [stderr] Downloaded pretty v0.5.2 [INFO] [stderr] Downloaded rust-ini v0.13.0 [INFO] [stderr] Downloaded ptree v0.2.1 [INFO] [stderr] Downloaded linked-hash-map v0.3.0 [INFO] [stderr] Downloaded serde-hjson v0.8.2 [INFO] [stderr] Downloaded config v0.9.2 [INFO] [stderr] Downloaded libc v0.2.54 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+94b72d6bebbddb5d17860914c4544f37365e988c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f98aaf03ebde9590d4edd9630240c4000ac4bf80c60f471fa2838ae391518ebf [INFO] running `Command { std: "docker" "start" "-a" "f98aaf03ebde9590d4edd9630240c4000ac4bf80c60f471fa2838ae391518ebf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f98aaf03ebde9590d4edd9630240c4000ac4bf80c60f471fa2838ae391518ebf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f98aaf03ebde9590d4edd9630240c4000ac4bf80c60f471fa2838ae391518ebf", kill_on_drop: false }` [INFO] [stdout] f98aaf03ebde9590d4edd9630240c4000ac4bf80c60f471fa2838ae391518ebf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+94b72d6bebbddb5d17860914c4544f37365e988c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9393f298230940d03c68a135ae92541141316f0ffe422e099b62aed322f2144f [INFO] running `Command { std: "docker" "start" "-a" "9393f298230940d03c68a135ae92541141316f0ffe422e099b62aed322f2144f", kill_on_drop: false }` [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 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 nom v4.2.3 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling regex-syntax v0.6.6 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling approx v0.1.1 [INFO] [stderr] Compiling linked-hash-map v0.5.2 [INFO] [stderr] Compiling yaml-rust v0.4.3 [INFO] [stderr] Compiling rgb v0.8.13 [INFO] [stderr] Compiling aho-corasick v0.7.3 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling cfg-if v0.1.7 [INFO] [stderr] Compiling fixedbitset v0.1.9 [INFO] [stderr] Compiling ordermap v0.3.5 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling rust-ini v0.13.0 [INFO] [stderr] Compiling isatty v0.1.9 [INFO] [stderr] Compiling directories v1.0.2 [INFO] [stderr] Compiling petgraph v0.4.13 [INFO] [stderr] Compiling tint v1.0.1 [INFO] [stderr] Compiling typed-arena v1.4.1 [INFO] [stderr] Checking serde_test v0.8.23 [INFO] [stderr] Compiling pretty v0.5.2 [INFO] [stderr] Checking linked-hash-map v0.3.0 [INFO] [stderr] Compiling ref_thread_local v0.0.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Compiling serde_derive v1.0.91 [INFO] [stderr] Checking serde-hjson v0.8.2 [INFO] [stderr] Checking winconsole v0.10.0 [INFO] [stderr] Checking colored v1.8.0 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking serde_json v1.0.39 [INFO] [stderr] Checking serde-value v0.5.3 [INFO] [stderr] Checking config v0.9.2 [INFO] [stderr] Compiling ptree v0.2.1 [INFO] [stderr] Checking lalr_util v0.1.0 (/opt/rustwide/workdir/src/lalr_util) [INFO] [stdout] warning: the item `Doc` is imported redundantly [INFO] [stdout] --> src/lalr_util/src/ast.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use pretty::{Doc, *}; [INFO] [stdout] | ^^^ - the item `Doc` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Doc` is imported redundantly [INFO] [stdout] --> src/lalr_util/src/parse_util.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use pretty::{Doc, *}; [INFO] [stdout] | ^^^ - the item `Doc` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/lalr_util/src/symbol.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashMap, *}; [INFO] [stdout] | ^^^^^^^ - the item `HashMap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DefaultHasher` is imported redundantly [INFO] [stdout] --> src/lalr_util/src/symbol.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 3 | use std::hash::*; [INFO] [stdout] | ------------ the item `DefaultHasher` is already imported here [INFO] [stdout] ... [INFO] [stdout] 64 | use hash_map::DefaultHasher; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Doc` is imported redundantly [INFO] [stdout] --> src/lalr_util/src/util.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use pretty::{Doc, *}; [INFO] [stdout] | ^^^ - the item `Doc` is already imported here [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] | ^^^^^ [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 85 | writer: &'a mut dyn Write, [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 15 | pub handle_reduce: Option) -> ()>>, [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 | pub handle_exec: Box) -> Option>, [INFO] [stdout] | +++ [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] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 89 | pub fn from(writer: &'a mut dyn Write) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Doc` is imported redundantly [INFO] [stdout] --> src/lalr_util/src/ast.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use pretty::{Doc, *}; [INFO] [stdout] | ^^^ - the item `Doc` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Doc` is imported redundantly [INFO] [stdout] --> src/lalr_util/src/parse_util.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use pretty::{Doc, *}; [INFO] [stdout] | ^^^ - the item `Doc` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/lalr_util/src/symbol.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashMap, *}; [INFO] [stdout] | ^^^^^^^ - the item `HashMap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DefaultHasher` is imported redundantly [INFO] [stdout] --> src/lalr_util/src/symbol.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 3 | use std::hash::*; [INFO] [stdout] | ------------ the item `DefaultHasher` is already imported here [INFO] [stdout] ... [INFO] [stdout] 64 | use hash_map::DefaultHasher; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Doc` is imported redundantly [INFO] [stdout] --> src/lalr_util/src/util.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use pretty::{Doc, *}; [INFO] [stdout] | ^^^ - the item `Doc` is already imported here [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] | ^^^^^ [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 85 | writer: &'a mut dyn Write, [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 15 | pub handle_reduce: Option) -> ()>>, [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 | pub handle_exec: Box) -> Option>, [INFO] [stdout] | +++ [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] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 89 | pub fn from(writer: &'a mut dyn Write) -> Self { [INFO] [stdout] | +++ [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: 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)]` on by default [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: 11 warnings emitted [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: 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)]` on by default [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: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling proc_callback v0.1.0 (/opt/rustwide/workdir/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: 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)]` on by default [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] ... [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 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:22:24 [INFO] [stdout] | [INFO] [stdout] 22 | Option ()>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 | Option ()>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:22:24 [INFO] [stdout] | [INFO] [stdout] 22 | Option ()>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 | Option ()>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:29:32 [INFO] [stdout] | [INFO] [stdout] 29 | Option) -> Option>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 29 | Option) -> Option>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:29:32 [INFO] [stdout] | [INFO] [stdout] 29 | Option) -> Option>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 29 | Option) -> Option>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | Option) -> ()>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 | Option) -> ()>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | Option) -> ()>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 | Option) -> ()>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:66:34 [INFO] [stdout] | [INFO] [stdout] 66 | lex_cbs: HashMap ()>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 66 | lex_cbs: HashMap ()>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:66:34 [INFO] [stdout] | [INFO] [stdout] 66 | lex_cbs: HashMap ()>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 66 | lex_cbs: HashMap ()>>, [INFO] [stdout] | +++ [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: use `.truncate()` if you don't need the other half [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 259 | let _ = states.split_off(len - ast_size - term_size); [INFO] [stdout] | +++++++ [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: use `.truncate()` if you don't need the other half [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 259 | let _ = states.split_off(len - ast_size - term_size); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings 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] warning: unused variable: `tok` [INFO] [stdout] --> tests/test.rs:50:25 [INFO] [stdout] | [INFO] [stdout] 50 | SRC_LOC => r";" => |tok, ctrl| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tok` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.13s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "9393f298230940d03c68a135ae92541141316f0ffe422e099b62aed322f2144f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9393f298230940d03c68a135ae92541141316f0ffe422e099b62aed322f2144f", kill_on_drop: false }` [INFO] [stdout] 9393f298230940d03c68a135ae92541141316f0ffe422e099b62aed322f2144f [INFO] checking xlnx/myrpg against try#cb4bf0ee9ea9dac86332c9e48c07269c7edc21dc for pr-122789 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxlnx%2Fmyrpg" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/xlnx/myrpg on toolchain cb4bf0ee9ea9dac86332c9e48c07269c7edc21dc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cb4bf0ee9ea9dac86332c9e48c07269c7edc21dc" "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-2-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cb4bf0ee9ea9dac86332c9e48c07269c7edc21dc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+cb4bf0ee9ea9dac86332c9e48c07269c7edc21dc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 772be0535c8944a857e393056cc365ecd39523bacf636b614190108e61f8a0cb [INFO] running `Command { std: "docker" "start" "-a" "772be0535c8944a857e393056cc365ecd39523bacf636b614190108e61f8a0cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "772be0535c8944a857e393056cc365ecd39523bacf636b614190108e61f8a0cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "772be0535c8944a857e393056cc365ecd39523bacf636b614190108e61f8a0cb", kill_on_drop: false }` [INFO] [stdout] 772be0535c8944a857e393056cc365ecd39523bacf636b614190108e61f8a0cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+cb4bf0ee9ea9dac86332c9e48c07269c7edc21dc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aa76996a766c8bfa44411465bc75d8d948f56bb4c6e3f4ba721e4d5359326bf1 [INFO] running `Command { std: "docker" "start" "-a" "aa76996a766c8bfa44411465bc75d8d948f56bb4c6e3f4ba721e4d5359326bf1", kill_on_drop: false }` [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 winapi v0.3.7 [INFO] [stderr] Compiling cgmath v0.16.1 [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 nom v4.2.3 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling regex-syntax v0.6.6 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling linked-hash-map v0.5.2 [INFO] [stderr] Compiling approx v0.1.1 [INFO] [stderr] Compiling yaml-rust v0.4.3 [INFO] [stderr] Checking aho-corasick v0.7.3 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Compiling cfg-if v0.1.7 [INFO] [stderr] Compiling ordermap v0.3.5 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling ordered-float v1.0.2 [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 petgraph v0.4.13 [INFO] [stderr] Compiling isatty v0.1.9 [INFO] [stderr] Compiling directories v1.0.2 [INFO] [stderr] Checking serde_test v0.8.23 [INFO] [stderr] Compiling tint v1.0.1 [INFO] [stderr] Compiling typed-arena v1.4.1 [INFO] [stderr] Checking linked-hash-map v0.3.0 [INFO] [stderr] Compiling pretty v0.5.2 [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pretty-0.5.2/src/lib.rs:590:9 [INFO] [stdout] | [INFO] [stdout] 590 | / RefDoc(match doc { [INFO] [stdout] 591 | | // Return 'static references for unit variants to save a small [INFO] [stdout] 592 | | // amount of space in the arena [INFO] [stdout] 593 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] | | -------- temporary value created here [INFO] [stdout] ... | [INFO] [stdout] 596 | | _ => Arena::alloc(self, doc), [INFO] [stdout] 597 | | }) [INFO] [stdout] | |__________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pretty-0.5.2/src/lib.rs:590:9 [INFO] [stdout] | [INFO] [stdout] 590 | / RefDoc(match doc { [INFO] [stdout] 591 | | // Return 'static references for unit variants to save a small [INFO] [stdout] 592 | | // amount of space in the arena [INFO] [stdout] 593 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 594 | | Doc::Space => &Doc::Space, [INFO] [stdout] | | ---------- temporary value created here [INFO] [stdout] 595 | | Doc::Newline => &Doc::Newline, [INFO] [stdout] 596 | | _ => Arena::alloc(self, doc), [INFO] [stdout] 597 | | }) [INFO] [stdout] | |__________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pretty-0.5.2/src/lib.rs:590:9 [INFO] [stdout] | [INFO] [stdout] 590 | / RefDoc(match doc { [INFO] [stdout] 591 | | // Return 'static references for unit variants to save a small [INFO] [stdout] 592 | | // amount of space in the arena [INFO] [stdout] 593 | | Doc::Nil => &Doc::Nil, [INFO] [stdout] 594 | | Doc::Space => &Doc::Space, [INFO] [stdout] 595 | | Doc::Newline => &Doc::Newline, [INFO] [stdout] | | ------------ temporary value created here [INFO] [stdout] 596 | | _ => Arena::alloc(self, doc), [INFO] [stdout] 597 | | }) [INFO] [stdout] | |__________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0515`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pretty` (lib) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "aa76996a766c8bfa44411465bc75d8d948f56bb4c6e3f4ba721e4d5359326bf1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa76996a766c8bfa44411465bc75d8d948f56bb4c6e3f4ba721e4d5359326bf1", kill_on_drop: false }` [INFO] [stdout] aa76996a766c8bfa44411465bc75d8d948f56bb4c6e3f4ba721e4d5359326bf1