[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#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpanicbit%2Fross" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/panicbit/ross on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-3/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libc v0.2.35 [INFO] [stderr] Downloaded winapi v0.3.3 [INFO] [stderr] Downloaded pest_derive v1.0.1 [INFO] [stderr] Downloaded pest v1.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4cd93988ee957dd915f1e24f6f24e74be5cc7d49892936c2ad1687064c7d5aa0 [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" "4cd93988ee957dd915f1e24f6f24e74be5cc7d49892936c2ad1687064c7d5aa0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4cd93988ee957dd915f1e24f6f24e74be5cc7d49892936c2ad1687064c7d5aa0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4cd93988ee957dd915f1e24f6f24e74be5cc7d49892936c2ad1687064c7d5aa0", kill_on_drop: false }` [INFO] [stdout] 4cd93988ee957dd915f1e24f6f24e74be5cc7d49892936c2ad1687064c7d5aa0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2992c9145b39e9fcac86da14bec9e1380f91b8228aea4ed550ad39c3338d2bba [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" "2992c9145b39e9fcac86da14bec9e1380f91b8228aea4ed550ad39c3338d2bba", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.4 [INFO] [stderr] Checking libc v0.2.35 [INFO] [stderr] Checking rustc-demangle v0.1.5 [INFO] [stderr] Compiling pest v1.0.1 [INFO] [stderr] Checking either v1.4.0 [INFO] [stderr] Compiling syn v0.10.8 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking itertools v0.7.6 [INFO] [stderr] Compiling backtrace-sys v0.1.16 [INFO] [stderr] Compiling pest_derive v1.0.1 [INFO] [stderr] Compiling synstructure v0.6.1 [INFO] [stderr] Compiling failure_derive v0.1.1 [INFO] [stderr] Checking backtrace v0.3.5 [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] [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] [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: 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: 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_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 38.75s [INFO] running `Command { std: "docker" "inspect" "2992c9145b39e9fcac86da14bec9e1380f91b8228aea4ed550ad39c3338d2bba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2992c9145b39e9fcac86da14bec9e1380f91b8228aea4ed550ad39c3338d2bba", kill_on_drop: false }` [INFO] [stdout] 2992c9145b39e9fcac86da14bec9e1380f91b8228aea4ed550ad39c3338d2bba