[INFO] fetching crate cfg 0.8.0... [INFO] checking cfg-0.8.0 against master#35936c4839dd272646394779d151e060d0f6b3ac for pr-122960-1 [INFO] extracting crate cfg 0.8.0 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate cfg 0.8.0 on toolchain 35936c4839dd272646394779d151e060d0f6b3ac [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cfg 0.8.0 [INFO] finished tweaking crates.io crate cfg 0.8.0 [INFO] tweaked toml for crates.io crate cfg 0.8.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded optional v0.5.0 [INFO] [stderr] Downloaded triomphe v0.1.11 [INFO] [stderr] Downloaded archery v1.2.0 [INFO] [stderr] Downloaded bit-matrix v0.6.1 [INFO] [stderr] Downloaded bit-vec v0.6.3 [INFO] [stderr] Downloaded env_logger v0.10.2 [INFO] [stderr] Downloaded rpds v1.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ef370f1ff6e83414fbb1b6842304921c8b006640af3114a764597e19fc060a47 [INFO] running `Command { std: "docker" "start" "-a" "ef370f1ff6e83414fbb1b6842304921c8b006640af3114a764597e19fc060a47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ef370f1ff6e83414fbb1b6842304921c8b006640af3114a764597e19fc060a47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef370f1ff6e83414fbb1b6842304921c8b006640af3114a764597e19fc060a47", kill_on_drop: false }` [INFO] [stdout] ef370f1ff6e83414fbb1b6842304921c8b006640af3114a764597e19fc060a47 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a36743497329311511287d1f59f909e896f263654b2fb7051d14c86148a5557c [INFO] running `Command { std: "docker" "start" "-a" "a36743497329311511287d1f59f909e896f263654b2fb7051d14c86148a5557c", kill_on_drop: false }` [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking optional v0.5.0 [INFO] [stderr] Checking bit-matrix v0.6.1 [INFO] [stderr] Checking cfg v0.8.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `direct_derivation_matrix` [INFO] [stdout] --> src/analysis/mod.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | pub use self::derivation::{direct_derivation_matrix, reachability_matrix, unit_derivation_matrix}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HistoryId` is imported redundantly [INFO] [stdout] --> src/binarized.rs:14:36 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::history::{HistoryGraph, HistoryId, HistoryNode}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 15 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `HistoryId` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `direct_derivation_matrix` [INFO] [stdout] --> src/analysis/mod.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | pub use self::derivation::{direct_derivation_matrix, reachability_matrix, unit_derivation_matrix}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | #![cfg_attr(test, deny(warnings))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `HistoryId` is imported redundantly [INFO] [stdout] --> src/binarized.rs:14:36 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::history::{HistoryGraph, HistoryId, HistoryNode}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 15 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `HistoryId` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `HistoryNode` is imported redundantly [INFO] [stdout] --> src/binarized.rs:14:47 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::history::{HistoryGraph, HistoryId, HistoryNode}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 15 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `HistoryNode` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `GrammarRule` is imported redundantly [INFO] [stdout] --> src/binarized.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `GrammarRule` is already imported here [INFO] [stdout] 16 | use crate::rule::{GrammarRule, RuleRef}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `GrammarRule` is imported redundantly [INFO] [stdout] --> src/earley/binarized_grammar.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `GrammarRule` is already imported here [INFO] [stdout] 10 | use crate::remap::{Mapping, Remap}; [INFO] [stdout] 11 | use crate::rule::GrammarRule; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `BinarizedCfg` is imported redundantly [INFO] [stdout] --> src/grammar.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::binarized::BinarizedCfg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | use crate::history::{HistoryGraph, HistoryId, HistoryNode}; [INFO] [stdout] 6 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `BinarizedCfg` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `HistoryId` is imported redundantly [INFO] [stdout] --> src/grammar.rs:5:36 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::history::{HistoryGraph, HistoryId, HistoryNode}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 6 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `HistoryId` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `HistoryNode` is imported redundantly [INFO] [stdout] --> src/grammar.rs:5:47 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::history::{HistoryGraph, HistoryId, HistoryNode}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 6 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `HistoryNode` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `GrammarRule` is imported redundantly [INFO] [stdout] --> src/grammar.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `GrammarRule` is already imported here [INFO] [stdout] 7 | use crate::rule::{GrammarRule, Rule}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HistoryNode` is imported redundantly [INFO] [stdout] --> src/binarized.rs:14:47 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::history::{HistoryGraph, HistoryId, HistoryNode}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 15 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `HistoryNode` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `AsRef` is imported redundantly [INFO] [stdout] --> src/precedence.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::AsRef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsRef` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `GrammarRule` is imported redundantly [INFO] [stdout] --> src/precedence.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `GrammarRule` is already imported here [INFO] [stdout] 7 | use crate::rule::builder::RuleBuilder; [INFO] [stdout] 8 | use crate::rule::{GrammarRule, Rule}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `GrammarRule` is imported redundantly [INFO] [stdout] --> src/binarized.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `GrammarRule` is already imported here [INFO] [stdout] 16 | use crate::rule::{GrammarRule, RuleRef}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `GrammarRule` is imported redundantly [INFO] [stdout] --> src/prediction/distance.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `GrammarRule` is already imported here [INFO] [stdout] 6 | use crate::rule::GrammarRule; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Symbol` is imported redundantly [INFO] [stdout] --> src/prediction/distance.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `Symbol` is already imported here [INFO] [stdout] 6 | use crate::rule::GrammarRule; [INFO] [stdout] 7 | use crate::symbol::{Symbol, SymbolBitSet}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `GrammarRule` is imported redundantly [INFO] [stdout] --> src/remap.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `GrammarRule` is already imported here [INFO] [stdout] 9 | use crate::rule::{GrammarRule, Rule}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `AsRef` is imported redundantly [INFO] [stdout] --> src/rule/builder.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::AsRef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsRef` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `HistoryId` is imported redundantly [INFO] [stdout] --> src/rule_container.rs:3:36 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::history::{HistoryGraph, HistoryId, HistoryNode}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 4 | use crate::precedence::PrecedencedRuleBuilder; [INFO] [stdout] 5 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `HistoryId` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `HistoryNode` is imported redundantly [INFO] [stdout] --> src/rule_container.rs:3:47 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::history::{HistoryGraph, HistoryId, HistoryNode}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 4 | use crate::precedence::PrecedencedRuleBuilder; [INFO] [stdout] 5 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `HistoryNode` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `GrammarRule` is imported redundantly [INFO] [stdout] --> src/rule_container.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `GrammarRule` is already imported here [INFO] [stdout] 6 | use crate::rule::builder::RuleBuilder; [INFO] [stdout] 7 | use crate::rule::GrammarRule; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `bit_vec` is imported redundantly [INFO] [stdout] --> src/symbol/set.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use bit_vec; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | extern crate bit_vec; [INFO] [stdout] | --------------------- the item `bit_vec` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `GrammarRule` is imported redundantly [INFO] [stdout] --> src/earley/binarized_grammar.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `GrammarRule` is already imported here [INFO] [stdout] 10 | use crate::remap::{Mapping, Remap}; [INFO] [stdout] 11 | use crate::rule::GrammarRule; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BinarizedCfg` is imported redundantly [INFO] [stdout] --> src/grammar.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::binarized::BinarizedCfg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | use crate::history::{HistoryGraph, HistoryId, HistoryNode}; [INFO] [stdout] 6 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `BinarizedCfg` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HistoryId` is imported redundantly [INFO] [stdout] --> src/grammar.rs:5:36 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::history::{HistoryGraph, HistoryId, HistoryNode}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 6 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `HistoryId` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HistoryNode` is imported redundantly [INFO] [stdout] --> src/grammar.rs:5:47 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::history::{HistoryGraph, HistoryId, HistoryNode}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 6 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `HistoryNode` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `GrammarRule` is imported redundantly [INFO] [stdout] --> src/grammar.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `GrammarRule` is already imported here [INFO] [stdout] 7 | use crate::rule::{GrammarRule, Rule}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AsRef` is imported redundantly [INFO] [stdout] --> src/precedence.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::AsRef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsRef` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `From` is imported redundantly [INFO] [stdout] --> src/symbol/mod.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | use std::convert::{From, Into}; [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `GrammarRule` is imported redundantly [INFO] [stdout] --> src/precedence.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `GrammarRule` is already imported here [INFO] [stdout] 7 | use crate::rule::builder::RuleBuilder; [INFO] [stdout] 8 | use crate::rule::{GrammarRule, Rule}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Into` is imported redundantly [INFO] [stdout] --> src/symbol/mod.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | use std::convert::{From, Into}; [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Into` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `GrammarRule` is imported redundantly [INFO] [stdout] --> src/prediction/distance.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `GrammarRule` is already imported here [INFO] [stdout] 6 | use crate::rule::GrammarRule; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Symbol` is imported redundantly [INFO] [stdout] --> src/prediction/distance.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `Symbol` is already imported here [INFO] [stdout] 6 | use crate::rule::GrammarRule; [INFO] [stdout] 7 | use crate::symbol::{Symbol, SymbolBitSet}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `GrammarRule` is imported redundantly [INFO] [stdout] --> src/remap.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `GrammarRule` is already imported here [INFO] [stdout] 9 | use crate::rule::{GrammarRule, Rule}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AsRef` is imported redundantly [INFO] [stdout] --> src/rule/builder.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::AsRef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsRef` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HistoryId` is imported redundantly [INFO] [stdout] --> src/rule_container.rs:3:36 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::history::{HistoryGraph, HistoryId, HistoryNode}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 4 | use crate::precedence::PrecedencedRuleBuilder; [INFO] [stdout] 5 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `HistoryId` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HistoryNode` is imported redundantly [INFO] [stdout] --> src/rule_container.rs:3:47 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::history::{HistoryGraph, HistoryId, HistoryNode}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 4 | use crate::precedence::PrecedencedRuleBuilder; [INFO] [stdout] 5 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `HistoryNode` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `GrammarRule` is imported redundantly [INFO] [stdout] --> src/rule_container.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `GrammarRule` is already imported here [INFO] [stdout] 6 | use crate::rule::builder::RuleBuilder; [INFO] [stdout] 7 | use crate::rule::GrammarRule; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `bit_vec` is imported redundantly [INFO] [stdout] --> src/symbol/set.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use bit_vec; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | extern crate bit_vec; [INFO] [stdout] | --------------------- the item `bit_vec` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/symbol/mod.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | use std::convert::{From, Into}; [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Into` is imported redundantly [INFO] [stdout] --> src/symbol/mod.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | use std::convert::{From, Into}; [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Into` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 21 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cfg` (lib test) due to 22 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a36743497329311511287d1f59f909e896f263654b2fb7051d14c86148a5557c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a36743497329311511287d1f59f909e896f263654b2fb7051d14c86148a5557c", kill_on_drop: false }` [INFO] [stdout] a36743497329311511287d1f59f909e896f263654b2fb7051d14c86148a5557c [INFO] checking cfg-0.8.0 against try#9ae1860851f3fbc1435a1698e572252c0076f413 for pr-122960-1 [INFO] extracting crate cfg 0.8.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate cfg 0.8.0 on toolchain 9ae1860851f3fbc1435a1698e572252c0076f413 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9ae1860851f3fbc1435a1698e572252c0076f413" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cfg 0.8.0 [INFO] finished tweaking crates.io crate cfg 0.8.0 [INFO] tweaked toml for crates.io crate cfg 0.8.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9ae1860851f3fbc1435a1698e572252c0076f413" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9ae1860851f3fbc1435a1698e572252c0076f413" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+9ae1860851f3fbc1435a1698e572252c0076f413" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5e25efa19bb5a463c2e7f3802529b36fe30b99a62b82874d424700bdbb0c4332 [INFO] running `Command { std: "docker" "start" "-a" "5e25efa19bb5a463c2e7f3802529b36fe30b99a62b82874d424700bdbb0c4332", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5e25efa19bb5a463c2e7f3802529b36fe30b99a62b82874d424700bdbb0c4332", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e25efa19bb5a463c2e7f3802529b36fe30b99a62b82874d424700bdbb0c4332", kill_on_drop: false }` [INFO] [stdout] 5e25efa19bb5a463c2e7f3802529b36fe30b99a62b82874d424700bdbb0c4332 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+9ae1860851f3fbc1435a1698e572252c0076f413" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3ce38b32421ef88cc5a3ad697032922aef9fdfdca3efde23116cf34a6abc021c [INFO] running `Command { std: "docker" "start" "-a" "3ce38b32421ef88cc5a3ad697032922aef9fdfdca3efde23116cf34a6abc021c", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking optional v0.5.0 [INFO] [stderr] Checking bit-matrix v0.6.1 [INFO] [stderr] Checking cfg v0.8.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stdout] error: unused import: `direct_derivation_matrix` [INFO] [stdout] --> src/analysis/mod.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | pub use self::derivation::{direct_derivation_matrix, reachability_matrix, unit_derivation_matrix}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | #![cfg_attr(test, deny(warnings))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `HistoryId` is imported redundantly [INFO] [stdout] --> src/binarized.rs:14:36 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::history::{HistoryGraph, HistoryId, HistoryNode}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 15 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `HistoryId` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `HistoryNode` is imported redundantly [INFO] [stdout] --> src/binarized.rs:14:47 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::history::{HistoryGraph, HistoryId, HistoryNode}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 15 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `HistoryNode` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `GrammarRule` is imported redundantly [INFO] [stdout] --> src/binarized.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `GrammarRule` is already imported here [INFO] [stdout] 16 | use crate::rule::{GrammarRule, RuleRef}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `GrammarRule` is imported redundantly [INFO] [stdout] --> src/earley/binarized_grammar.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `GrammarRule` is already imported here [INFO] [stdout] 10 | use crate::remap::{Mapping, Remap}; [INFO] [stdout] 11 | use crate::rule::GrammarRule; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `BinarizedCfg` is imported redundantly [INFO] [stdout] --> src/grammar.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::binarized::BinarizedCfg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | use crate::history::{HistoryGraph, HistoryId, HistoryNode}; [INFO] [stdout] 6 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `BinarizedCfg` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `HistoryId` is imported redundantly [INFO] [stdout] --> src/grammar.rs:5:36 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::history::{HistoryGraph, HistoryId, HistoryNode}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 6 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `HistoryId` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `HistoryNode` is imported redundantly [INFO] [stdout] --> src/grammar.rs:5:47 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::history::{HistoryGraph, HistoryId, HistoryNode}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 6 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `HistoryNode` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `GrammarRule` is imported redundantly [INFO] [stdout] --> src/grammar.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `GrammarRule` is already imported here [INFO] [stdout] 7 | use crate::rule::{GrammarRule, Rule}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `AsRef` is imported redundantly [INFO] [stdout] --> src/precedence.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::AsRef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsRef` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `GrammarRule` is imported redundantly [INFO] [stdout] --> src/precedence.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `GrammarRule` is already imported here [INFO] [stdout] 7 | use crate::rule::builder::RuleBuilder; [INFO] [stdout] 8 | use crate::rule::{GrammarRule, Rule}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `GrammarRule` is imported redundantly [INFO] [stdout] --> src/prediction/distance.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `GrammarRule` is already imported here [INFO] [stdout] 6 | use crate::rule::GrammarRule; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Symbol` is imported redundantly [INFO] [stdout] --> src/prediction/distance.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `Symbol` is already imported here [INFO] [stdout] 6 | use crate::rule::GrammarRule; [INFO] [stdout] 7 | use crate::symbol::{Symbol, SymbolBitSet}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `GrammarRule` is imported redundantly [INFO] [stdout] --> src/remap.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `GrammarRule` is already imported here [INFO] [stdout] 9 | use crate::rule::{GrammarRule, Rule}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `AsRef` is imported redundantly [INFO] [stdout] --> src/rule/builder.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::AsRef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsRef` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `HistoryId` is imported redundantly [INFO] [stdout] --> src/rule_container.rs:3:36 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::history::{HistoryGraph, HistoryId, HistoryNode}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 4 | use crate::precedence::PrecedencedRuleBuilder; [INFO] [stdout] 5 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `HistoryId` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `HistoryNode` is imported redundantly [INFO] [stdout] --> src/rule_container.rs:3:47 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::history::{HistoryGraph, HistoryId, HistoryNode}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 4 | use crate::precedence::PrecedencedRuleBuilder; [INFO] [stdout] 5 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `HistoryNode` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `GrammarRule` is imported redundantly [INFO] [stdout] --> src/rule_container.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `GrammarRule` is already imported here [INFO] [stdout] 6 | use crate::rule::builder::RuleBuilder; [INFO] [stdout] 7 | use crate::rule::GrammarRule; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `bit_vec` is imported redundantly [INFO] [stdout] --> src/symbol/set.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use bit_vec; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | extern crate bit_vec; [INFO] [stdout] | --------------------- the item `bit_vec` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `From` is imported redundantly [INFO] [stdout] --> src/symbol/mod.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | use std::convert::{From, Into}; [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Into` is imported redundantly [INFO] [stdout] --> src/symbol/mod.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | use std::convert::{From, Into}; [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Into` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 21 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cfg` (lib test) due to 22 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: the item `HistoryId` is imported redundantly [INFO] [stdout] --> src/binarized.rs:14:36 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::history::{HistoryGraph, HistoryId, HistoryNode}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 15 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `HistoryId` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/analysis/mod.rs (1 fix) [INFO] [stdout] warning: the item `HistoryNode` is imported redundantly [INFO] [stdout] --> src/binarized.rs:14:47 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::history::{HistoryGraph, HistoryId, HistoryNode}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 15 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `HistoryNode` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `GrammarRule` is imported redundantly [INFO] [stdout] --> src/binarized.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `GrammarRule` is already imported here [INFO] [stdout] 16 | use crate::rule::{GrammarRule, RuleRef}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `GrammarRule` is imported redundantly [INFO] [stdout] --> src/earley/binarized_grammar.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `GrammarRule` is already imported here [INFO] [stdout] 10 | use crate::remap::{Mapping, Remap}; [INFO] [stdout] 11 | use crate::rule::GrammarRule; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BinarizedCfg` is imported redundantly [INFO] [stdout] --> src/grammar.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::binarized::BinarizedCfg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | use crate::history::{HistoryGraph, HistoryId, HistoryNode}; [INFO] [stdout] 6 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `BinarizedCfg` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HistoryId` is imported redundantly [INFO] [stdout] --> src/grammar.rs:5:36 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::history::{HistoryGraph, HistoryId, HistoryNode}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 6 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `HistoryId` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HistoryNode` is imported redundantly [INFO] [stdout] --> src/grammar.rs:5:47 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::history::{HistoryGraph, HistoryId, HistoryNode}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 6 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `HistoryNode` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `GrammarRule` is imported redundantly [INFO] [stdout] --> src/grammar.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `GrammarRule` is already imported here [INFO] [stdout] 7 | use crate::rule::{GrammarRule, Rule}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AsRef` is imported redundantly [INFO] [stdout] --> src/precedence.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::AsRef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsRef` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `GrammarRule` is imported redundantly [INFO] [stdout] --> src/precedence.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `GrammarRule` is already imported here [INFO] [stdout] 7 | use crate::rule::builder::RuleBuilder; [INFO] [stdout] 8 | use crate::rule::{GrammarRule, Rule}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `GrammarRule` is imported redundantly [INFO] [stdout] --> src/prediction/distance.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `GrammarRule` is already imported here [INFO] [stdout] 6 | use crate::rule::GrammarRule; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Symbol` is imported redundantly [INFO] [stdout] --> src/prediction/distance.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `Symbol` is already imported here [INFO] [stdout] 6 | use crate::rule::GrammarRule; [INFO] [stdout] 7 | use crate::symbol::{Symbol, SymbolBitSet}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `GrammarRule` is imported redundantly [INFO] [stdout] --> src/remap.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `GrammarRule` is already imported here [INFO] [stdout] 9 | use crate::rule::{GrammarRule, Rule}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AsRef` is imported redundantly [INFO] [stdout] --> src/rule/builder.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::AsRef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsRef` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HistoryId` is imported redundantly [INFO] [stdout] --> src/rule_container.rs:3:36 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::history::{HistoryGraph, HistoryId, HistoryNode}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 4 | use crate::precedence::PrecedencedRuleBuilder; [INFO] [stdout] 5 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `HistoryId` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HistoryNode` is imported redundantly [INFO] [stdout] --> src/rule_container.rs:3:47 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::history::{HistoryGraph, HistoryId, HistoryNode}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 4 | use crate::precedence::PrecedencedRuleBuilder; [INFO] [stdout] 5 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `HistoryNode` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `GrammarRule` is imported redundantly [INFO] [stdout] --> src/rule_container.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::prelude::*; [INFO] [stdout] | ----------------- the item `GrammarRule` is already imported here [INFO] [stdout] 6 | use crate::rule::builder::RuleBuilder; [INFO] [stdout] 7 | use crate::rule::GrammarRule; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `bit_vec` is imported redundantly [INFO] [stdout] --> src/symbol/set.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use bit_vec; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | extern crate bit_vec; [INFO] [stdout] | --------------------- the item `bit_vec` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/symbol/mod.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | use std::convert::{From, Into}; [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Into` is imported redundantly [INFO] [stdout] --> src/symbol/mod.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | use std::convert::{From, Into}; [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Into` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "3ce38b32421ef88cc5a3ad697032922aef9fdfdca3efde23116cf34a6abc021c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ce38b32421ef88cc5a3ad697032922aef9fdfdca3efde23116cf34a6abc021c", kill_on_drop: false }` [INFO] [stdout] 3ce38b32421ef88cc5a3ad697032922aef9fdfdca3efde23116cf34a6abc021c