[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#b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b for pr-82781 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpanicbit%2Fross" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/panicbit/ross on toolchain b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "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-13/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" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libc v0.2.35 [INFO] [stderr] Downloaded itertools v0.7.6 [INFO] [stderr] Downloaded winapi v0.3.3 [INFO] [stderr] Downloaded winapi-i686-pc-windows-gnu v0.3.2 [INFO] [stderr] Downloaded pest v1.0.1 [INFO] [stderr] Downloaded pest_derive v1.0.1 [INFO] [stderr] Downloaded winapi-x86_64-pc-windows-gnu v0.3.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 10829b605fbd714a73d0282357a366fa81f9604bee7510b2cfb3d940ad4ab970 [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" "10829b605fbd714a73d0282357a366fa81f9604bee7510b2cfb3d940ad4ab970", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "10829b605fbd714a73d0282357a366fa81f9604bee7510b2cfb3d940ad4ab970", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10829b605fbd714a73d0282357a366fa81f9604bee7510b2cfb3d940ad4ab970", kill_on_drop: false }` [INFO] [stdout] 10829b605fbd714a73d0282357a366fa81f9604bee7510b2cfb3d940ad4ab970 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1af3546db59927ba7bb7eb93b2ada06344aad315d22bc272c505f1560cb2748a [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" "1af3546db59927ba7bb7eb93b2ada06344aad315d22bc272c505f1560cb2748a", kill_on_drop: false }` [INFO] [stderr] Compiling pest v1.0.1 [INFO] [stderr] Checking matches v0.1.6 [INFO] [stderr] Compiling syn v0.10.8 [INFO] [stderr] Checking itertools v0.7.6 [INFO] [stderr] Checking backtrace-sys v0.1.16 [INFO] [stderr] Checking backtrace v0.3.5 [INFO] [stderr] Checking failure v0.1.1 [INFO] [stderr] Compiling pest_derive v1.0.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: 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: 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: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 15.12s [INFO] running `Command { std: "docker" "inspect" "1af3546db59927ba7bb7eb93b2ada06344aad315d22bc272c505f1560cb2748a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1af3546db59927ba7bb7eb93b2ada06344aad315d22bc272c505f1560cb2748a", kill_on_drop: false }` [INFO] [stdout] 1af3546db59927ba7bb7eb93b2ada06344aad315d22bc272c505f1560cb2748a