[INFO] cloning repository https://github.com/panicbit/ross [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/panicbit/ross" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpanicbit%2Fross", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpanicbit%2Fross'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7b21213448e2d2148eddbcb84cfbed90e28e0737 [INFO] checking panicbit/ross against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpanicbit%2Fross" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/panicbit/ross on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/panicbit/ross [INFO] finished tweaking git repo https://github.com/panicbit/ross [INFO] tweaked toml for git repo https://github.com/panicbit/ross written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/panicbit/ross already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pest v1.0.1 [INFO] [stderr] Downloaded pest_derive v1.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 323901aec7943b64f1500415a6398d19f85ab746d987bd2e4cbf93495703c7e1 [INFO] running `Command { std: "docker" "start" "-a" "323901aec7943b64f1500415a6398d19f85ab746d987bd2e4cbf93495703c7e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "323901aec7943b64f1500415a6398d19f85ab746d987bd2e4cbf93495703c7e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "323901aec7943b64f1500415a6398d19f85ab746d987bd2e4cbf93495703c7e1", kill_on_drop: false }` [INFO] [stdout] 323901aec7943b64f1500415a6398d19f85ab746d987bd2e4cbf93495703c7e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bbf9942e351d1563ca1b108e0f8ebdfb33b598e6522d98aee485c21be334997c [INFO] running `Command { std: "docker" "start" "-a" "bbf9942e351d1563ca1b108e0f8ebdfb33b598e6522d98aee485c21be334997c", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking libc v0.2.35 [INFO] [stderr] Checking cfg-if v0.1.2 [INFO] [stderr] Checking rustc-demangle v0.1.5 [INFO] [stderr] Compiling pest v1.0.1 [INFO] [stderr] Checking matches v0.1.6 [INFO] [stderr] Checking itertools v0.7.6 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling syn v0.10.8 [INFO] [stderr] Checking backtrace-sys v0.1.16 [INFO] [stderr] Checking backtrace v0.3.5 [INFO] [stderr] Compiling synstructure v0.6.1 [INFO] [stderr] Compiling pest_derive v1.0.1 [INFO] [stderr] Compiling failure_derive v0.1.1 [INFO] [stderr] Checking failure v0.1.1 [INFO] [stderr] Checking ross v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast.rs:121:49 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn declared_idents<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator + 'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ast::*` [INFO] [stdout] --> src/tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ast::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast.rs:121:49 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn declared_idents<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator + 'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/parser.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 30 | panic!("{:#?}", module); [INFO] [stdout] | ------------------------ any code following this expression is unreachable [INFO] [stdout] 31 | [INFO] [stdout] 32 | Ok(module) [INFO] [stdout] | ^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/parser.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 30 | panic!("{:#?}", module); [INFO] [stdout] | ------------------------ any code following this expression is unreachable [INFO] [stdout] 31 | [INFO] [stdout] 32 | Ok(module) [INFO] [stdout] | ^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Scope` [INFO] [stdout] --> src/trans.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | struct Scope { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/trans.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | fn new(available: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `alloc` [INFO] [stdout] --> src/trans.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | fn alloc(&mut self) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `module` [INFO] [stdout] --> src/validate.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn module(items: &[Item]) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `static_blocks_are_unique` [INFO] [stdout] --> src/validate.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) fn static_blocks_are_unique(items: &[Item]) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `item_names_are_unique` [INFO] [stdout] --> src/validate.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | pub(crate) fn item_names_are_unique(items: &[Item]) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `functions_dont_recur` [INFO] [stdout] --> src/validate.rs:42:15 [INFO] [stdout] | [INFO] [stdout] 42 | pub(crate) fn functions_dont_recur(items: &[Item]) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `ConstExpr` [INFO] [stdout] --> src/picasso.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum ConstExpr { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Register` [INFO] [stdout] --> src/picasso.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Register { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Ref` [INFO] [stdout] --> src/picasso.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct Ref { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Builder` [INFO] [stdout] --> src/picasso.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | struct Builder { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tests.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | / parses_to! { [INFO] [stdout] 7 | | parser: RossParser, [INFO] [stdout] 8 | | input: "_ab12de", [INFO] [stdout] 9 | | rule: Rule::ident, [INFO] [stdout] ... | [INFO] [stdout] 12 | | ] [INFO] [stdout] 13 | | }; [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 assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in the macro `parses_to` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Scope` [INFO] [stdout] --> src/trans.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | struct Scope { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/trans.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | fn new(available: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `alloc` [INFO] [stdout] --> src/trans.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | fn alloc(&mut self) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `module` [INFO] [stdout] --> src/validate.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn module(items: &[Item]) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `static_blocks_are_unique` [INFO] [stdout] --> src/validate.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) fn static_blocks_are_unique(items: &[Item]) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `item_names_are_unique` [INFO] [stdout] --> src/validate.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | pub(crate) fn item_names_are_unique(items: &[Item]) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `functions_dont_recur` [INFO] [stdout] --> src/validate.rs:42:15 [INFO] [stdout] | [INFO] [stdout] 42 | pub(crate) fn functions_dont_recur(items: &[Item]) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `ConstExpr` [INFO] [stdout] --> src/picasso.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum ConstExpr { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Register` [INFO] [stdout] --> src/picasso.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Register { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Ref` [INFO] [stdout] --> src/picasso.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct Ref { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Builder` [INFO] [stdout] --> src/picasso.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | struct Builder { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `main` [INFO] [stdout] --> src/lib.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 12.07s [INFO] running `Command { std: "docker" "inspect" "bbf9942e351d1563ca1b108e0f8ebdfb33b598e6522d98aee485c21be334997c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbf9942e351d1563ca1b108e0f8ebdfb33b598e6522d98aee485c21be334997c", kill_on_drop: false }` [INFO] [stdout] bbf9942e351d1563ca1b108e0f8ebdfb33b598e6522d98aee485c21be334997c