[INFO] fetching crate rust2uml 0.0.2... [INFO] checking rust2uml-0.0.2 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate rust2uml 0.0.2 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate rust2uml 0.0.2 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rust2uml 0.0.2 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate rust2uml 0.0.2 [INFO] tweaked toml for crates.io crate rust2uml 0.0.2 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate crates.io crate rust2uml 0.0.2 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clippy v0.0.302 [INFO] [stderr] Downloaded argi v0.1.0-beta.5 [INFO] [stderr] Downloaded strfmt v0.1.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 75f78ab323a229ffd123735e4c156d0e1dea2cdfc6f5dcef43062f80c86de7d8 [INFO] running `Command { std: "docker" "start" "-a" "75f78ab323a229ffd123735e4c156d0e1dea2cdfc6f5dcef43062f80c86de7d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "75f78ab323a229ffd123735e4c156d0e1dea2cdfc6f5dcef43062f80c86de7d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75f78ab323a229ffd123735e4c156d0e1dea2cdfc6f5dcef43062f80c86de7d8", kill_on_drop: false }` [INFO] [stdout] 75f78ab323a229ffd123735e4c156d0e1dea2cdfc6f5dcef43062f80c86de7d8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e7d707447ff68e7843c16c61d7477f9f12fb47be4d9f450e097bd5b18c791f7 [INFO] running `Command { std: "docker" "start" "-a" "5e7d707447ff68e7843c16c61d7477f9f12fb47be4d9f450e097bd5b18c791f7", kill_on_drop: false }` [INFO] [stderr] Checking same-file v0.1.3 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking dot v0.1.4 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Checking strfmt v0.1.6 [INFO] [stderr] Checking argi v0.1.0-beta.5 [INFO] [stderr] Checking walkdir v1.0.7 [INFO] [stderr] Checking itertools v0.5.10 [INFO] [stderr] Checking rust2uml v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `rustc_ast` [INFO] [stdout] --> src/lib.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | extern crate rustc_ast; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_ast` [INFO] [stdout] --> src/lib.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | extern crate rustc_ast; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_ast_pretty` [INFO] [stdout] --> src/lib.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | extern crate rustc_ast_pretty; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_ast_pretty` [INFO] [stdout] --> src/lib.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | extern crate rustc_ast_pretty; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_error_codes` [INFO] [stdout] --> src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | extern crate rustc_error_codes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_error_codes` [INFO] [stdout] --> src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | extern crate rustc_error_codes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_errors` [INFO] [stdout] --> src/lib.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | extern crate rustc_errors; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_errors` [INFO] [stdout] --> src/lib.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | extern crate rustc_errors; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_hash` [INFO] [stdout] --> src/lib.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | extern crate rustc_hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_hir` [INFO] [stdout] --> src/lib.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | extern crate rustc_hir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_hash` [INFO] [stdout] --> src/lib.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | extern crate rustc_hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_hir` [INFO] [stdout] --> src/lib.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | extern crate rustc_hir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_interface` [INFO] [stdout] --> src/lib.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | extern crate rustc_interface; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_parse` [INFO] [stdout] --> src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | extern crate rustc_parse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_serialize` [INFO] [stdout] --> src/lib.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | extern crate rustc_serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_interface` [INFO] [stdout] --> src/lib.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | extern crate rustc_interface; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_session` [INFO] [stdout] --> src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | extern crate rustc_session; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_span` [INFO] [stdout] --> src/lib.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | extern crate rustc_span; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `thin_vec` [INFO] [stdout] --> src/lib.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | extern crate thin_vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_driver` [INFO] [stdout] --> src/lib.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | extern crate rustc_driver; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_parse` [INFO] [stdout] --> src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | extern crate rustc_parse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_serialize` [INFO] [stdout] --> src/lib.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | extern crate rustc_serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_session` [INFO] [stdout] --> src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | extern crate rustc_session; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_span` [INFO] [stdout] --> src/lib.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | extern crate rustc_span; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `thin_vec` [INFO] [stdout] --> src/lib.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | extern crate thin_vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_driver` [INFO] [stdout] --> src/lib.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | extern crate rustc_driver; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `ast::VisibilityKind::*`, `ast::VisibilityKind::*`, `ast::VisibilityKind::*`, `thin_vec::ThinVec` [INFO] [stdout] --> src/core/item/state/mod.rs:20:26 [INFO] [stdout] | [INFO] [stdout] 20 | use thin_vec::{thin_vec, ThinVec}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/core/item/state/abstraction/enumerate.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | use ast::VisibilityKind::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/core/item/state/abstraction/extend.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | use ast::VisibilityKind::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/core/item/state/abstraction/structure.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | use ast::VisibilityKind::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `ast::VisibilityKind::*`, `ast::VisibilityKind::*`, `ast::VisibilityKind::*`, `thin_vec::ThinVec` [INFO] [stdout] --> src/core/item/state/mod.rs:20:26 [INFO] [stdout] | [INFO] [stdout] 20 | use thin_vec::{thin_vec, ThinVec}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/core/item/state/abstraction/enumerate.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | use ast::VisibilityKind::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/core/item/state/abstraction/extend.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | use ast::VisibilityKind::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/core/item/state/abstraction/structure.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | use ast::VisibilityKind::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0416]: identifier `Public` is bound more than once in the same pattern [INFO] [stdout] --> src/core/item/state/abstraction/enumerate.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 34 | (Public, Public) => true, [INFO] [stdout] | ^^^^^^ used in a pattern more than once [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0416]: identifier `Public` is bound more than once in the same pattern [INFO] [stdout] --> src/core/item/state/abstraction/extend.rs:33:22 [INFO] [stdout] | [INFO] [stdout] 33 | (Public, Public) => true, [INFO] [stdout] | ^^^^^^ used in a pattern more than once [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0416]: identifier `Public` is bound more than once in the same pattern [INFO] [stdout] --> src/core/item/state/abstraction/enumerate.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 34 | (Public, Public) => true, [INFO] [stdout] | ^^^^^^ used in a pattern more than once [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0416]: identifier `Public` is bound more than once in the same pattern [INFO] [stdout] --> src/core/item/state/abstraction/structure.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 34 | (Public, Public) => true, [INFO] [stdout] | ^^^^^^ used in a pattern more than once [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0416]: identifier `Public` is bound more than once in the same pattern [INFO] [stdout] --> src/core/item/state/abstraction/extend.rs:33:22 [INFO] [stdout] | [INFO] [stdout] 33 | (Public, Public) => true, [INFO] [stdout] | ^^^^^^ used in a pattern more than once [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0416]: identifier `Inherited` is bound more than once in the same pattern [INFO] [stdout] --> src/core/item/state/abstraction/structure.rs:35:25 [INFO] [stdout] | [INFO] [stdout] 35 | (Inherited, Inherited) => true, [INFO] [stdout] | ^^^^^^^^^ used in a pattern more than once [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0416]: identifier `Public` is bound more than once in the same pattern [INFO] [stdout] --> src/core/item/state/abstraction/structure.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 34 | (Public, Public) => true, [INFO] [stdout] | ^^^^^^ used in a pattern more than once [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0416]: identifier `Inherited` is bound more than once in the same pattern [INFO] [stdout] --> src/core/item/state/abstraction/structure.rs:35:25 [INFO] [stdout] | [INFO] [stdout] 35 | (Inherited, Inherited) => true, [INFO] [stdout] | ^^^^^^^^^ used in a pattern more than once [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/core/item/mod.rs:23:92 [INFO] [stdout] | [INFO] [stdout] 21 | impl<'a> From, Rc)>>> for Item<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 22 | /// The constructor method `from` returns a typed and iterable collection of abstract element. [INFO] [stdout] 23 | fn from(iter: iter::Peekable, Rc)>>) -> Item { [INFO] [stdout] | ^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/core/item/mod.rs:23:92 [INFO] [stdout] | [INFO] [stdout] 21 | impl<'a> From, Rc)>>> for Item<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 22 | /// The constructor method `from` returns a typed and iterable collection of abstract element. [INFO] [stdout] 23 | fn from(iter: iter::Peekable, Rc)>>) -> Item { [INFO] [stdout] | ^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Trait<'_>: From<_>` is not satisfied [INFO] [stdout] --> src/core/item/state/abstraction/mod.rs:136:25 [INFO] [stdout] | [INFO] [stdout] 136 | Abstract::Trait(Trait::from(arguments)) [INFO] [stdout] | ^^^^^ the trait `From<_>` is not implemented for `Trait<'_>` [INFO] [stdout] | [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 136 | Abstract::Trait(&Trait::from(arguments)) [INFO] [stdout] | + [INFO] [stdout] 136 | Abstract::Trait(&mut Trait::from(arguments)) [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Trait<'_>: From<_>` is not satisfied [INFO] [stdout] --> src/core/item/state/abstraction/mod.rs:136:25 [INFO] [stdout] | [INFO] [stdout] 136 | Abstract::Trait(Trait::from(arguments)) [INFO] [stdout] | ^^^^^ the trait `From<_>` is not implemented for `Trait<'_>` [INFO] [stdout] | [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 136 | Abstract::Trait(&Trait::from(arguments)) [INFO] [stdout] | + [INFO] [stdout] 136 | Abstract::Trait(&mut Trait::from(arguments)) [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Struct<'_>: From<_>` is not satisfied [INFO] [stdout] --> src/core/item/state/abstraction/mod.rs:142:26 [INFO] [stdout] | [INFO] [stdout] 142 | Abstract::Struct(Struct::from(arguments)) [INFO] [stdout] | ^^^^^^ the trait `From<_>` is not implemented for `Struct<'_>` [INFO] [stdout] | [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 142 | Abstract::Struct(&Struct::from(arguments)) [INFO] [stdout] | + [INFO] [stdout] 142 | Abstract::Struct(&mut Struct::from(arguments)) [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Struct<'_>: From<_>` is not satisfied [INFO] [stdout] --> src/core/item/state/abstraction/mod.rs:142:26 [INFO] [stdout] | [INFO] [stdout] 142 | Abstract::Struct(Struct::from(arguments)) [INFO] [stdout] | ^^^^^^ the trait `From<_>` is not implemented for `Struct<'_>` [INFO] [stdout] | [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 142 | Abstract::Struct(&Struct::from(arguments)) [INFO] [stdout] | + [INFO] [stdout] 142 | Abstract::Struct(&mut Struct::from(arguments)) [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Enum<'_>: From<_>` is not satisfied [INFO] [stdout] --> src/core/item/state/abstraction/mod.rs:166:24 [INFO] [stdout] | [INFO] [stdout] 166 | Abstract::Enum(Enum::from(arguments)) [INFO] [stdout] | ^^^^ the trait `From<_>` is not implemented for `Enum<'_>` [INFO] [stdout] | [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 166 | Abstract::Enum(&Enum::from(arguments)) [INFO] [stdout] | + [INFO] [stdout] 166 | Abstract::Enum(&mut Enum::from(arguments)) [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Enum<'_>: From<_>` is not satisfied [INFO] [stdout] --> src/core/item/state/abstraction/mod.rs:166:24 [INFO] [stdout] | [INFO] [stdout] 166 | Abstract::Enum(Enum::from(arguments)) [INFO] [stdout] | ^^^^ the trait `From<_>` is not implemented for `Enum<'_>` [INFO] [stdout] | [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 166 | Abstract::Enum(&Enum::from(arguments)) [INFO] [stdout] | + [INFO] [stdout] 166 | Abstract::Enum(&mut Enum::from(arguments)) [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/item/state/implem.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | name.to_string().eq(ty_name) [INFO] [stdout] | ^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/item/state/implem.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | name.to_string().eq(ty_name) [INFO] [stdout] | ^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Implem: From<_>` is not satisfied [INFO] [stdout] --> src/core/item/state/implem.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | Implem::from(( [INFO] [stdout] | ^^^^^^ the trait `From<_>` is not implemented for `Implem` [INFO] [stdout] | [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 72 | &Implem::from(( [INFO] [stdout] | + [INFO] [stdout] 72 | &mut Implem::from(( [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Implem: From<_>` is not satisfied [INFO] [stdout] --> src/core/item/state/implem.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | Implem::from(( [INFO] [stdout] | ^^^^^^ the trait `From<_>` is not implemented for `Implem` [INFO] [stdout] | [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 72 | &Implem::from(( [INFO] [stdout] | + [INFO] [stdout] 72 | &mut Implem::from(( [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `pat` on type `&_` [INFO] [stdout] --> src/core/item/state/method.rs:157:76 [INFO] [stdout] | [INFO] [stdout] 157 | ... pat_to_string(&arg.pat) [INFO] [stdout] | ^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `pat` on type `&_` [INFO] [stdout] --> src/core/item/state/method.rs:175:76 [INFO] [stdout] | [INFO] [stdout] 175 | ... pat_to_string(&arg.pat) [INFO] [stdout] | ^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `pat` on type `&_` [INFO] [stdout] --> src/core/item/state/method.rs:157:76 [INFO] [stdout] | [INFO] [stdout] 157 | ... pat_to_string(&arg.pat) [INFO] [stdout] | ^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `pat` on type `&_` [INFO] [stdout] --> src/core/item/state/method.rs:175:76 [INFO] [stdout] | [INFO] [stdout] 175 | ... pat_to_string(&arg.pat) [INFO] [stdout] | ^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `&(_, _, _, Option<_>)` [INFO] [stdout] --> src/core/item/state/method.rs:217:23 [INFO] [stdout] | [INFO] [stdout] 217 | .map(|&(ref vis, ref name, ref inputs, ref ty)| match (vis, ty) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 224 | .iter() [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 217 | .map(|&(ref vis, ref name, ref inputs, ref ty): &(_, _, _, Option)| match (vis, ty) { [INFO] [stdout] | +++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `&(_, _, _, Option<_>)` [INFO] [stdout] --> src/core/item/state/method.rs:217:23 [INFO] [stdout] | [INFO] [stdout] 217 | .map(|&(ref vis, ref name, ref inputs, ref ty)| match (vis, ty) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 224 | .iter() [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 217 | .map(|&(ref vis, ref name, ref inputs, ref ty): &(_, _, _, Option)| match (vis, ty) { [INFO] [stdout] | +++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Vec` [INFO] [stdout] --> src/core/item/state/mod.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Default, Debug, Clone, Eq, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 37 | implem: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `PartialEq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Vec` [INFO] [stdout] --> src/core/item/state/mod.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Default, Debug, Clone, Eq, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 37 | implem: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `PartialEq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/item/state/mod.rs:47:44 [INFO] [stdout] | [INFO] [stdout] 47 | let ref ty_name: String = name.to_string(); [INFO] [stdout] | ^^^^^^^^^ cannot infer type for type parameter `T` declared on the enum `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/item/state/mod.rs:47:44 [INFO] [stdout] | [INFO] [stdout] 47 | let ref ty_name: String = name.to_string(); [INFO] [stdout] | ^^^^^^^^^ cannot infer type for type parameter `T` declared on the enum `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `iter` found for struct `Vec` in the current scope [INFO] [stdout] --> src/core/item/state/mod.rs:54:26 [INFO] [stdout] | [INFO] [stdout] 53 | / rhs.implem [INFO] [stdout] 54 | | .iter() [INFO] [stdout] | | -^^^^ method not found in `Vec` [INFO] [stdout] | |_________________________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `iter` found for struct `Vec` in the current scope [INFO] [stdout] --> src/core/item/state/mod.rs:54:26 [INFO] [stdout] | [INFO] [stdout] 53 | / rhs.implem [INFO] [stdout] 54 | | .iter() [INFO] [stdout] | | -^^^^ method not found in `Vec` [INFO] [stdout] | |_________________________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/item/state/mod.rs:64:44 [INFO] [stdout] | [INFO] [stdout] 64 | let ref ty_name: String = name.to_string(); [INFO] [stdout] | ^^^^^^^^^ cannot infer type for type parameter `T` declared on the enum `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/item/state/mod.rs:64:44 [INFO] [stdout] | [INFO] [stdout] 64 | let ref ty_name: String = name.to_string(); [INFO] [stdout] | ^^^^^^^^^ cannot infer type for type parameter `T` declared on the enum `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `iter` found for struct `Vec` in the current scope [INFO] [stdout] --> src/core/item/state/mod.rs:71:26 [INFO] [stdout] | [INFO] [stdout] 70 | / self.implem [INFO] [stdout] 71 | | .iter() [INFO] [stdout] | | -^^^^ method not found in `Vec` [INFO] [stdout] | |_________________________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `iter` found for struct `Vec` in the current scope [INFO] [stdout] --> src/core/item/state/mod.rs:71:26 [INFO] [stdout] | [INFO] [stdout] 70 | / self.implem [INFO] [stdout] 71 | | .iter() [INFO] [stdout] | | -^^^^ method not found in `Vec` [INFO] [stdout] | |_________________________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/item/state/mod.rs:84:40 [INFO] [stdout] | [INFO] [stdout] 84 | ty_name_mut.push_str(&name.as_str()); [INFO] [stdout] | ^^^^^^ cannot infer type for type parameter `T` declared on the enum `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/item/state/mod.rs:84:40 [INFO] [stdout] | [INFO] [stdout] 84 | ty_name_mut.push_str(&name.as_str()); [INFO] [stdout] | ^^^^^^ cannot infer type for type parameter `T` declared on the enum `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/item/state/mod.rs:98:40 [INFO] [stdout] | [INFO] [stdout] 98 | let ty_name: String = name.to_string(); [INFO] [stdout] | ^^^^^^^^^ cannot infer type for type parameter `T` declared on the enum `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/item/state/mod.rs:98:40 [INFO] [stdout] | [INFO] [stdout] 98 | let ty_name: String = name.to_string(); [INFO] [stdout] | ^^^^^^^^^ cannot infer type for type parameter `T` declared on the enum `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/item/state/mod.rs:112:40 [INFO] [stdout] | [INFO] [stdout] 112 | let ty_name: String = name.to_string(); [INFO] [stdout] | ^^^^^^^^^ cannot infer type for type parameter `T` declared on the enum `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/core/item/state/mod.rs:112:40 [INFO] [stdout] | [INFO] [stdout] 112 | let ty_name: String = name.to_string(); [INFO] [stdout] | ^^^^^^^^^ cannot infer type for type parameter `T` declared on the enum `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `iter` found for struct `Vec` in the current scope [INFO] [stdout] --> src/core/item/state/mod.rs:115:18 [INFO] [stdout] | [INFO] [stdout] 114 | / rhs.implem [INFO] [stdout] 115 | | .iter() [INFO] [stdout] | | -^^^^ method not found in `Vec` [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `iter` found for struct `Vec` in the current scope [INFO] [stdout] --> src/core/item/state/mod.rs:115:18 [INFO] [stdout] | [INFO] [stdout] 114 | / rhs.implem [INFO] [stdout] 115 | | .iter() [INFO] [stdout] | | -^^^^ method not found in `Vec` [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/core/item/state/mod.rs:150:47 [INFO] [stdout] | [INFO] [stdout] 150 | ... Some(Method::from((vec![(**item).clone()], Rc::clone(path)))) [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Method`, found `(Vec<_, _>, Rc)` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Method` [INFO] [stdout] found tuple `(Vec<_, _>, Rc)` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/convert/mod.rs:585:8 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/core/item/state/mod.rs:150:47 [INFO] [stdout] | [INFO] [stdout] 150 | ... Some(Method::from((vec![(**item).clone()], Rc::clone(path)))) [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Method`, found `(Vec<_, _>, Rc)` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Method` [INFO] [stdout] found tuple `(Vec<_, _>, Rc)` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/convert/mod.rs:585:8 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Implem: From<_>` is not satisfied [INFO] [stdout] --> src/core/item/state/mod.rs:173:38 [INFO] [stdout] | [INFO] [stdout] 173 | ... Some(Implem::from((segments, &thin_vec![(**item).clone()]))) [INFO] [stdout] | ^^^^^^ the trait `From<_>` is not implemented for `Implem` [INFO] [stdout] | [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 173 | Some(&Implem::from((segments, &thin_vec![(**item).clone()]))) [INFO] [stdout] | + [INFO] [stdout] 173 | Some(&mut Implem::from((segments, &thin_vec![(**item).clone()]))) [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Implem: From<_>` is not satisfied [INFO] [stdout] --> src/core/item/state/mod.rs:173:38 [INFO] [stdout] | [INFO] [stdout] 173 | ... Some(Implem::from((segments, &thin_vec![(**item).clone()]))) [INFO] [stdout] | ^^^^^^ the trait `From<_>` is not implemented for `Implem` [INFO] [stdout] | [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 173 | Some(&Implem::from((segments, &thin_vec![(**item).clone()]))) [INFO] [stdout] | + [INFO] [stdout] 173 | Some(&mut Implem::from((segments, &thin_vec![(**item).clone()]))) [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `is_empty` exists for struct `Vec`, but its trait bounds were not satisfied [INFO] [stdout] --> src/core/item/state/mod.rs:322:43 [INFO] [stdout] | [INFO] [stdout] 322 | let include_implem = !self.implem.is_empty() && Config::global().include_implems; [INFO] [stdout] | ^^^^^^^^ method cannot be called on `Vec` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/core/item/state/implem.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Implem { [INFO] [stdout] | ----------------- doesn't satisfy `Implem: Sized` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `Implem: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `is_empty` exists for struct `Vec`, but its trait bounds were not satisfied [INFO] [stdout] --> src/core/item/state/mod.rs:322:43 [INFO] [stdout] | [INFO] [stdout] 322 | let include_implem = !self.implem.is_empty() && Config::global().include_implems; [INFO] [stdout] | ^^^^^^^^ method cannot be called on `Vec` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/core/item/state/implem.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Implem { [INFO] [stdout] | ----------------- doesn't satisfy `Implem: Sized` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `Implem: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `iter` found for struct `Vec` in the current scope [INFO] [stdout] --> src/core/item/state/mod.rs:336:38 [INFO] [stdout] | [INFO] [stdout] 336 | implem = self.implem.iter() [INFO] [stdout] | ^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `iter` found for struct `Vec` in the current scope [INFO] [stdout] --> src/core/item/state/mod.rs:336:38 [INFO] [stdout] | [INFO] [stdout] 336 | implem = self.implem.iter() [INFO] [stdout] | ^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:178:43 [INFO] [stdout] | [INFO] [stdout] 178 | items2chars(vec![Module::from(( [INFO] [stdout] | ______________________________------------_^ [INFO] [stdout] | | | [INFO] [stdout] | | arguments to this function are incorrect [INFO] [stdout] 179 | | Vec::from(parse.items.clone()), [INFO] [stdout] 180 | | path.as_ref().to_path_buf(), [INFO] [stdout] 181 | | ))]) [INFO] [stdout] | |_____________^ expected `Module`, found `(Vec<_, _>, PathBuf)` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Module` [INFO] [stdout] found tuple `(Vec<_, _>, PathBuf)` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/convert/mod.rs:585:8 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:178:43 [INFO] [stdout] | [INFO] [stdout] 178 | items2chars(vec![Module::from(( [INFO] [stdout] | ______________________________------------_^ [INFO] [stdout] | | | [INFO] [stdout] | | arguments to this function are incorrect [INFO] [stdout] 179 | | Vec::from(parse.items.clone()), [INFO] [stdout] 180 | | path.as_ref().to_path_buf(), [INFO] [stdout] 181 | | ))]) [INFO] [stdout] | |_____________^ expected `Module`, found `(Vec<_, _>, PathBuf)` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Module` [INFO] [stdout] found tuple `(Vec<_, _>, PathBuf)` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/convert/mod.rs:585:8 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:209:65 [INFO] [stdout] | [INFO] [stdout] 209 | ... .and_then(|parse| Some(Module::from((Vec::from(parse.items.clone()), path.to_path_buf())))) [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Module`, found `(Vec<_, _>, PathBuf)` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Module` [INFO] [stdout] found tuple `(Vec<_, _>, PathBuf)` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/convert/mod.rs:585:8 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:209:65 [INFO] [stdout] | [INFO] [stdout] 209 | ... .and_then(|parse| Some(Module::from((Vec::from(parse.items.clone()), path.to_path_buf())))) [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Module`, found `(Vec<_, _>, PathBuf)` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Module` [INFO] [stdout] found tuple `(Vec<_, _>, PathBuf)` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/convert/mod.rs:585:8 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/core/item/state/abstraction/extend.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/core/item/state/method.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/core/item/state/abstraction/extend.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/core/item/state/method.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 41 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0308, E0369, E0416, E0432, E0463, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 41 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0308, E0369, E0416, E0432, E0463, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust2uml` (lib test) due to 42 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rust2uml` (lib) due to 42 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5e7d707447ff68e7843c16c61d7477f9f12fb47be4d9f450e097bd5b18c791f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e7d707447ff68e7843c16c61d7477f9f12fb47be4d9f450e097bd5b18c791f7", kill_on_drop: false }` [INFO] [stdout] 5e7d707447ff68e7843c16c61d7477f9f12fb47be4d9f450e097bd5b18c791f7