[INFO] fetching crate panini_logic 0.0.0... [INFO] checking panini_logic-0.0.0 against master#c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3 for pr-141352 [INFO] extracting crate panini_logic 0.0.0 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate panini_logic 0.0.0 on toolchain c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate panini_logic 0.0.0 [INFO] finished tweaking crates.io crate panini_logic 0.0.0 [INFO] tweaked toml for crates.io crate panini_logic 0.0.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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] Locking 63 packages to latest compatible versions [INFO] [stderr] Adding bit-matrix v0.4.0 (available: v0.8.1) [INFO] [stderr] Adding cfg v0.4.0 (available: v0.9.0) [INFO] [stderr] Adding env_logger v0.7.1 (available: v0.11.8) [INFO] [stderr] Adding gearley v0.0.2 (available: v0.0.4) [INFO] [stderr] Adding serde_cbor v0.10.2 (available: v0.11.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3" "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] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bit-matrix v0.2.0 [INFO] [stderr] Downloaded cfg v0.3.0 [INFO] [stderr] Downloaded bit-matrix v0.4.0 [INFO] [stderr] Downloaded enum_coder v0.0.1 [INFO] [stderr] Downloaded cfg-regex v0.1.1 [INFO] [stderr] Downloaded gearley v0.0.2 [INFO] [stderr] Downloaded cfg v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7ec763521013f653142db0dfb0191ae728e39593e6a0ac1a9f8f75be3a4208d6 [INFO] running `Command { std: "docker" "start" "-a" "7ec763521013f653142db0dfb0191ae728e39593e6a0ac1a9f8f75be3a4208d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7ec763521013f653142db0dfb0191ae728e39593e6a0ac1a9f8f75be3a4208d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ec763521013f653142db0dfb0191ae728e39593e6a0ac1a9f8f75be3a4208d6", kill_on_drop: false }` [INFO] [stdout] 7ec763521013f653142db0dfb0191ae728e39593e6a0ac1a9f8f75be3a4208d6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3dc26f923592e8abe08957f45d5dbcc241e62ae7fa09442e5b164bd2a39403de [INFO] running `Command { std: "docker" "start" "-a" "3dc26f923592e8abe08957f45d5dbcc241e62ae7fa09442e5b164bd2a39403de", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking bit-vec v0.4.4 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking half v1.8.3 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking bit-matrix v0.2.0 [INFO] [stderr] Checking ref_slice v1.2.1 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Checking cfg v0.3.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking cfg-regex v0.1.1 [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking env_logger v0.5.13 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Compiling enum_coder v0.0.1 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking optional v0.5.0 [INFO] [stderr] Checking serde_cbor v0.10.2 [INFO] [stderr] Checking bit-matrix v0.4.0 [INFO] [stderr] Checking cfg v0.4.0 [INFO] [stderr] Checking gearley v0.0.2 [INFO] [stderr] Checking panini_logic v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(plugin_registrar, rustc_private)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: plugins are no longer supported [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(plugin_registrar, rustc_private)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: plugins are no longer supported [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0462]: found staticlib `rustc` instead of rlib or dylib [INFO] [stdout] --> src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate rustc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the following crate versions were found: [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.asan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.dfsan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.lsan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.msan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.safestack.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.tsan.a [INFO] [stdout] = help: please recompile that crate using --crate-type lib [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `syntax` [INFO] [stdout] --> src/lib.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern crate syntax; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `syntax_pos` [INFO] [stdout] --> src/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | extern crate syntax_pos; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0462]: found staticlib `rustc` instead of rlib or dylib [INFO] [stdout] --> src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate rustc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the following crate versions were found: [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.asan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.dfsan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.lsan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.msan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.safestack.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.tsan.a [INFO] [stdout] = help: please recompile that crate using --crate-type lib [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `syntax` [INFO] [stdout] --> src/lib.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern crate syntax; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `syntax_pos` [INFO] [stdout] --> src/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | extern crate syntax_pos; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RegexTranslation` [INFO] [stdout] --> src/middle/ir.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | use cfg_regex::{RegexTranslation, Class}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CycleWithCauses` [INFO] [stdout] --> src/middle/ir.rs:18:42 [INFO] [stdout] | [INFO] [stdout] 18 | use middle::error::{TransformationError, CycleWithCauses}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RuleValue` [INFO] [stdout] --> src/middle/ir.rs:20:28 [INFO] [stdout] | [INFO] [stdout] 20 | use middle::rule_rewrite::{RuleValue, Rule, Sym, RuleRewrite, LowerRuleRewriteResult, RuleRewriteResult}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Position` [INFO] [stdout] --> src/middle/ir.rs:21:49 [INFO] [stdout] | [INFO] [stdout] 21 | use middle::flatten_stmts::{FlattenStmts, Path, Position}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WarningsWithContext` [INFO] [stdout] --> src/middle/ir.rs:23:35 [INFO] [stdout] | [INFO] [stdout] 23 | use middle::warn::{WarningCauses, WarningsWithContext}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `middle::embedded_string::EmbeddedString` [INFO] [stdout] --> src/middle/ir.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use middle::embedded_string::EmbeddedString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BTreeMap` and `BTreeSet` [INFO] [stdout] --> src/middle/flatten_stmts.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{BTreeMap, BTreeSet}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cfg::Cfg` [INFO] [stdout] --> src/middle/rule_rewrite.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cfg::Cfg; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cfg::Symbol` [INFO] [stdout] --> src/middle/type_collector.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use cfg::Symbol; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cfg::Symbol` [INFO] [stdout] --> src/middle/warn.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cfg::Symbol; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AttrId` and `SpanId` [INFO] [stdout] --> src/input/ast.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use input::{AttrId, TyId, LexerId, BindId, FragmentId, ExprId, SpanId}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter` [INFO] [stdout] --> src/output/translator.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::iter; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/output/translator.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/output/translator.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::BTreeMap` [INFO] [stdout] --> src/output/translator.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::collections::BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Write` [INFO] [stdout] --> src/output/translator.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::fmt::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/output/translator.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `quote::ToTokens` [INFO] [stdout] --> src/output/translator.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use quote::ToTokens; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cfg::ContextFreeRef` [INFO] [stdout] --> src/output/translator.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use cfg::ContextFreeRef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cfg::rule::GrammarRule` [INFO] [stdout] --> src/output/translator.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use cfg::rule::GrammarRule; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cfg::rule::container::RuleContainer` [INFO] [stdout] --> src/output/translator.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use cfg::rule::container::RuleContainer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Instruction` [INFO] [stdout] --> src/output/translator.rs:28:27 [INFO] [stdout] | [INFO] [stdout] 28 | use output::instruction::{Instruction, InstructionList, translate_ir}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RegexTranslation` [INFO] [stdout] --> src/middle/ir.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | use cfg_regex::{RegexTranslation, Class}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CycleWithCauses` [INFO] [stdout] --> src/middle/ir.rs:18:42 [INFO] [stdout] | [INFO] [stdout] 18 | use middle::error::{TransformationError, CycleWithCauses}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RuleValue` [INFO] [stdout] --> src/middle/ir.rs:20:28 [INFO] [stdout] | [INFO] [stdout] 20 | use middle::rule_rewrite::{RuleValue, Rule, Sym, RuleRewrite, LowerRuleRewriteResult, RuleRewriteResult}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Position` [INFO] [stdout] --> src/middle/ir.rs:21:49 [INFO] [stdout] | [INFO] [stdout] 21 | use middle::flatten_stmts::{FlattenStmts, Path, Position}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WarningsWithContext` [INFO] [stdout] --> src/middle/ir.rs:23:35 [INFO] [stdout] | [INFO] [stdout] 23 | use middle::warn::{WarningCauses, WarningsWithContext}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `middle::embedded_string::EmbeddedString` [INFO] [stdout] --> src/middle/ir.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use middle::embedded_string::EmbeddedString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BTreeMap` and `BTreeSet` [INFO] [stdout] --> src/middle/flatten_stmts.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{BTreeMap, BTreeSet}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cfg::Cfg` [INFO] [stdout] --> src/middle/rule_rewrite.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cfg::Cfg; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cfg::Symbol` [INFO] [stdout] --> src/middle/type_collector.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use cfg::Symbol; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cfg::Symbol` [INFO] [stdout] --> src/middle/warn.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cfg::Symbol; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AttrId` and `SpanId` [INFO] [stdout] --> src/input/ast.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use input::{AttrId, TyId, LexerId, BindId, FragmentId, ExprId, SpanId}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter` [INFO] [stdout] --> src/output/translator.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::iter; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/output/translator.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/output/translator.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::BTreeMap` [INFO] [stdout] --> src/output/translator.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::collections::BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Write` [INFO] [stdout] --> src/output/translator.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::fmt::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/output/translator.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `quote::ToTokens` [INFO] [stdout] --> src/output/translator.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use quote::ToTokens; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cfg::ContextFreeRef` [INFO] [stdout] --> src/output/translator.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use cfg::ContextFreeRef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cfg::rule::GrammarRule` [INFO] [stdout] --> src/output/translator.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use cfg::rule::GrammarRule; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cfg::rule::container::RuleContainer` [INFO] [stdout] --> src/output/translator.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use cfg::rule::container::RuleContainer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Instruction` [INFO] [stdout] --> src/output/translator.rs:28:27 [INFO] [stdout] | [INFO] [stdout] 28 | use output::instruction::{Instruction, InstructionList, translate_ir}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/middle/error.rs:20:30 [INFO] [stdout] | [INFO] [stdout] 20 | write!(f, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/middle/error.rs:20:30 [INFO] [stdout] | [INFO] [stdout] 20 | write!(f, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/middle/ir.rs:321:16 [INFO] [stdout] | [INFO] [stdout] 321 | fn compute(mut ir: IrWithRules) -> Self { [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sym_map` [INFO] [stdout] --> src/middle/ir.rs:400:40 [INFO] [stdout] | [INFO] [stdout] 400 | fn add_rule(grammar: &mut Grammar, sym_map: &mut SymMap, rule: &Rule) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sym_map` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/middle/ir.rs:414:16 [INFO] [stdout] | [INFO] [stdout] 414 | fn compute(mut ir: IrPrepared) -> Result { [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/middle/ir.rs:321:16 [INFO] [stdout] | [INFO] [stdout] 321 | fn compute(mut ir: IrWithRules) -> Self { [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sym_map` [INFO] [stdout] --> src/middle/ir.rs:400:40 [INFO] [stdout] | [INFO] [stdout] 400 | fn add_rule(grammar: &mut Grammar, sym_map: &mut SymMap, rule: &Rule) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sym_map` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/middle/ir.rs:414:16 [INFO] [stdout] | [INFO] [stdout] 414 | fn compute(mut ir: IrPrepared) -> Result { [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `full_path` [INFO] [stdout] --> src/middle/type_collector.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | let full_path = path_with_type.path.clone(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_full_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `full_path` [INFO] [stdout] --> src/middle/type_collector.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | let full_path = path_with_type.path.clone(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_full_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0462, E0463, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0462`. [INFO] [stdout] [INFO] [stderr] error: could not compile `panini_logic` (lib test) due to 4 previous errors; 27 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0462, E0463, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0462`. [INFO] [stdout] [INFO] [stderr] error: could not compile `panini_logic` (lib) due to 4 previous errors; 27 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3dc26f923592e8abe08957f45d5dbcc241e62ae7fa09442e5b164bd2a39403de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3dc26f923592e8abe08957f45d5dbcc241e62ae7fa09442e5b164bd2a39403de", kill_on_drop: false }` [INFO] [stdout] 3dc26f923592e8abe08957f45d5dbcc241e62ae7fa09442e5b164bd2a39403de