[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] building panicbit/ross against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpanicbit%2Fross" "/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/panicbit/ross on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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-2-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unicode-xid v0.0.4 [INFO] [stderr] Downloaded syn v0.10.8 [INFO] [stderr] Downloaded matches v0.1.6 [INFO] [stderr] Downloaded either v1.4.0 [INFO] [stderr] Downloaded quote v0.3.15 [INFO] [stderr] Downloaded itertools v0.7.6 [INFO] [stderr] Downloaded synom v0.11.3 [INFO] [stderr] Downloaded failure_derive v0.1.1 [INFO] [stderr] Downloaded cfg-if v0.1.2 [INFO] [stderr] Downloaded rustc-demangle v0.1.5 [INFO] [stderr] Downloaded syn v0.11.11 [INFO] [stderr] Downloaded synstructure v0.6.1 [INFO] [stderr] Downloaded cc v1.0.4 [INFO] [stderr] Downloaded backtrace v0.3.5 [INFO] [stderr] Downloaded failure v0.1.1 [INFO] [stderr] Downloaded backtrace-sys v0.1.16 [INFO] [stderr] Downloaded libc v0.2.35 [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-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a2ef0aca986af7ad151098a2108f8f17dee103f1a6e333e1cab164e515a82fbe [INFO] running `Command { std: "docker" "start" "-a" "a2ef0aca986af7ad151098a2108f8f17dee103f1a6e333e1cab164e515a82fbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a2ef0aca986af7ad151098a2108f8f17dee103f1a6e333e1cab164e515a82fbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2ef0aca986af7ad151098a2108f8f17dee103f1a6e333e1cab164e515a82fbe", kill_on_drop: false }` [INFO] [stdout] a2ef0aca986af7ad151098a2108f8f17dee103f1a6e333e1cab164e515a82fbe [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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e55729b8186baa8dc0b01faca8bc4c863363f5fd7ba58745ffabf79545f841b3 [INFO] running `Command { std: "docker" "start" "-a" "e55729b8186baa8dc0b01faca8bc4c863363f5fd7ba58745ffabf79545f841b3", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling cc v1.0.4 [INFO] [stderr] Compiling libc v0.2.35 [INFO] [stderr] Compiling rustc-demangle v0.1.5 [INFO] [stderr] Compiling cfg-if v0.1.2 [INFO] [stderr] Compiling either v1.4.0 [INFO] [stderr] Compiling pest v1.0.1 [INFO] [stderr] Compiling matches v0.1.6 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling itertools v0.7.6 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling syn v0.10.8 [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] Compiling backtrace v0.3.5 [INFO] [stderr] Compiling failure v0.1.1 [INFO] [stderr] Compiling ross v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate pest; [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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 [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 121 | pub fn declared_idents<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | +++ [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: function `main` is never used [INFO] [stdout] --> src/lib.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Scope` is never constructed [INFO] [stdout] --> src/trans.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | struct Scope { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RegSet` is never constructed [INFO] [stdout] --> src/trans.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct RegSet { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `alloc` are never used [INFO] [stdout] --> src/trans.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl RegSet { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 13 | fn new(available: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | fn alloc(&mut self) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `module` is never used [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 `static_blocks_are_unique` is never used [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 `item_names_are_unique` is never used [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 `functions_dont_recur` is never used [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 `ConstExpr` is never used [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 `Register` is never used [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 `Ref` is never constructed [INFO] [stdout] --> src/picasso.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct Ref { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Builder` is never constructed [INFO] [stdout] --> src/picasso.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | struct Builder { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.00s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.10.8 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "e55729b8186baa8dc0b01faca8bc4c863363f5fd7ba58745ffabf79545f841b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e55729b8186baa8dc0b01faca8bc4c863363f5fd7ba58745ffabf79545f841b3", kill_on_drop: false }` [INFO] [stdout] e55729b8186baa8dc0b01faca8bc4c863363f5fd7ba58745ffabf79545f841b3 [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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 106bd7d387b5bc84d8c0a45a0661b9f2fd31717dee1ce1fffbdbec287d027b28 [INFO] running `Command { std: "docker" "start" "-a" "106bd7d387b5bc84d8c0a45a0661b9f2fd31717dee1ce1fffbdbec287d027b28", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate pest; [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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 [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 121 | pub fn declared_idents<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | +++ [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: function `main` is never used [INFO] [stdout] --> src/lib.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Scope` is never constructed [INFO] [stdout] --> src/trans.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | struct Scope { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RegSet` is never constructed [INFO] [stdout] --> src/trans.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct RegSet { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `alloc` are never used [INFO] [stdout] --> src/trans.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl RegSet { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 13 | fn new(available: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | fn alloc(&mut self) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `module` is never used [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 `static_blocks_are_unique` is never used [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 `item_names_are_unique` is never used [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 `functions_dont_recur` is never used [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 `ConstExpr` is never used [INFO] [stdout] --> src/picasso.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum ConstExpr { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ross v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: enum `Register` is never used [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 `Ref` is never constructed [INFO] [stdout] --> src/picasso.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct Ref { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Builder` is never constructed [INFO] [stdout] --> src/picasso.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | struct Builder { [INFO] [stdout] | ^^^^^^^ [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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 [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 121 | pub fn declared_idents<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | +++ [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 `Scope` is never constructed [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: struct `RegSet` is never constructed [INFO] [stdout] --> src/trans.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct RegSet { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `alloc` are never used [INFO] [stdout] --> src/trans.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl RegSet { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 13 | fn new(available: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | fn alloc(&mut self) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `module` is never used [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 `static_blocks_are_unique` is never used [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 `item_names_are_unique` is never used [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 `functions_dont_recur` is never used [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 `ConstExpr` is never used [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 `Register` is never used [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 `Ref` is never constructed [INFO] [stdout] --> src/picasso.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct Ref { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Builder` is never constructed [INFO] [stdout] --> src/picasso.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | struct Builder { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.59s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.10.8 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "106bd7d387b5bc84d8c0a45a0661b9f2fd31717dee1ce1fffbdbec287d027b28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "106bd7d387b5bc84d8c0a45a0661b9f2fd31717dee1ce1fffbdbec287d027b28", kill_on_drop: false }` [INFO] [stdout] 106bd7d387b5bc84d8c0a45a0661b9f2fd31717dee1ce1fffbdbec287d027b28