[INFO] fetching crate rust2uml 0.0.2... [INFO] checking rust2uml-0.0.2 against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] extracting crate rust2uml 0.0.2 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate rust2uml 0.0.2 on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "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-7-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" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded strfmt v0.1.6 [INFO] [stderr] Downloaded argi v0.1.0-beta.5 [INFO] [stderr] Downloaded itertools v0.5.10 [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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 98ddd7469643001020ab9570a73e3b82470d6bae95fa8c144dc9407f610ed13d [INFO] running `Command { std: "docker" "start" "-a" "98ddd7469643001020ab9570a73e3b82470d6bae95fa8c144dc9407f610ed13d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "98ddd7469643001020ab9570a73e3b82470d6bae95fa8c144dc9407f610ed13d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98ddd7469643001020ab9570a73e3b82470d6bae95fa8c144dc9407f610ed13d", kill_on_drop: false }` [INFO] [stdout] 98ddd7469643001020ab9570a73e3b82470d6bae95fa8c144dc9407f610ed13d [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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4510222f34f56b3534225eae0ee3f1e8a62df7d1f0360416ee30330f227a2cdf [INFO] running `Command { std: "docker" "start" "-a" "4510222f34f56b3534225eae0ee3f1e8a62df7d1f0360416ee30330f227a2cdf", kill_on_drop: false }` [INFO] [stderr] Checking same-file v0.1.3 [INFO] [stderr] Checking itertools v0.5.10 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Checking strfmt v0.1.6 [INFO] [stderr] Checking dot v0.1.4 [INFO] [stderr] Checking argi v0.1.0-beta.5 [INFO] [stderr] Checking walkdir v1.0.7 [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_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_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_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_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_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_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 `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 `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_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[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[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/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] 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/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] error[E0392]: lifetime parameter `'a` is never used [INFO] [stdout] --> src/core/mod.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct ListItem<'a> { [INFO] [stdout] | ^^ unused lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: consider removing `'a`, referring to it in a field, or using a marker such as `PhantomData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0392]: lifetime parameter `'a` is never used [INFO] [stdout] --> src/core/mod.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct ListItem<'a> { [INFO] [stdout] | ^^ unused lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: consider removing `'a`, referring to it in a field, or using a marker such as `PhantomData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0392]: lifetime parameter `'a` is never used [INFO] [stdout] --> src/core/item/state/mod.rs:31:22 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct ItemState<'a> { [INFO] [stdout] | ^^ unused lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: consider removing `'a`, referring to it in a field, or using a marker such as `PhantomData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0392]: lifetime parameter `'a` is never used [INFO] [stdout] --> src/core/item/state/mod.rs:31:22 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct ItemState<'a> { [INFO] [stdout] | ^^ unused lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: consider removing `'a`, referring to it in a field, or using a marker such as `PhantomData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0392]: lifetime parameter `'a` is never used [INFO] [stdout] --> src/core/item/state/abstraction/mod.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum Abstract<'a> { [INFO] [stdout] | ^^ unused lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: consider removing `'a`, referring to it in a field, or using a marker such as `PhantomData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0392]: lifetime parameter `'a` is never used [INFO] [stdout] --> src/core/item/state/abstraction/mod.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum Abstract<'a> { [INFO] [stdout] | ^^ unused lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: consider removing `'a`, referring to it in a field, or using a marker such as `PhantomData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0392]: lifetime parameter `'a` is never used [INFO] [stdout] --> src/core/segment.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Segment<'a> { [INFO] [stdout] | ^^ unused lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: consider removing `'a`, referring to it in a field, or using a marker such as `PhantomData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0392]: lifetime parameter `'a` is never used [INFO] [stdout] --> src/core/segment.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Segment<'a> { [INFO] [stdout] | ^^ unused lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: consider removing `'a`, referring to it in a field, or using a marker such as `PhantomData` [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: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: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/506512391b1a75ae450d36c9420978402a91abcc/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/506512391b1a75ae450d36c9420978402a91abcc/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[E0277]: the trait bound `Item<'_>: From<_>` is not satisfied [INFO] [stdout] --> src/core/mod.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | ListItem::from(Item::from(list)) [INFO] [stdout] | ^^^^ the trait `From<_>` is not implemented for `Item<'_>` [INFO] [stdout] | [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 38 | ListItem::from(&Item::from(list)) [INFO] [stdout] | + [INFO] [stdout] 38 | ListItem::from(&mut Item::from(list)) [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Item<'_>: From<_>` is not satisfied [INFO] [stdout] --> src/core/mod.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | ListItem::from(Item::from(list)) [INFO] [stdout] | ^^^^ the trait `From<_>` is not implemented for `Item<'_>` [INFO] [stdout] | [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 38 | ListItem::from(&Item::from(list)) [INFO] [stdout] | + [INFO] [stdout] 38 | ListItem::from(&mut Item::from(list)) [INFO] [stdout] | ++++ [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/506512391b1a75ae450d36c9420978402a91abcc/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/506512391b1a75ae450d36c9420978402a91abcc/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/506512391b1a75ae450d36c9420978402a91abcc/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/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/convert/mod.rs:585:8 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 46 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0308, E0369, E0392, E0416, E0432, E0463, E0599... [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 46 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0308, E0369, E0392, E0416, E0432, E0463, E0599... [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 47 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rust2uml` (lib) due to 47 previous errors [INFO] running `Command { std: "docker" "inspect" "4510222f34f56b3534225eae0ee3f1e8a62df7d1f0360416ee30330f227a2cdf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4510222f34f56b3534225eae0ee3f1e8a62df7d1f0360416ee30330f227a2cdf", kill_on_drop: false }` [INFO] [stdout] 4510222f34f56b3534225eae0ee3f1e8a62df7d1f0360416ee30330f227a2cdf [INFO] checking rust2uml-0.0.2 against try#dae34b759e282c069aa28752564694effd121a63 for pr-125384 [INFO] extracting crate rust2uml 0.0.2 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate rust2uml 0.0.2 on toolchain dae34b759e282c069aa28752564694effd121a63 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "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-7-tc2/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" "+dae34b759e282c069aa28752564694effd121a63" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4ac97fa4dd838d312c2be3774f68a1dd663887a47e810d9c353b545a14d00b03 [INFO] running `Command { std: "docker" "start" "-a" "4ac97fa4dd838d312c2be3774f68a1dd663887a47e810d9c353b545a14d00b03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ac97fa4dd838d312c2be3774f68a1dd663887a47e810d9c353b545a14d00b03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ac97fa4dd838d312c2be3774f68a1dd663887a47e810d9c353b545a14d00b03", kill_on_drop: false }` [INFO] [stdout] 4ac97fa4dd838d312c2be3774f68a1dd663887a47e810d9c353b545a14d00b03 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fb8dcee76aaf8314e0eadbd460cd22bb370c70db2df31655cdd09d3cb71e0649 [INFO] running `Command { std: "docker" "start" "-a" "fb8dcee76aaf8314e0eadbd460cd22bb370c70db2df31655cdd09d3cb71e0649", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "fb8dcee76aaf8314e0eadbd460cd22bb370c70db2df31655cdd09d3cb71e0649", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb8dcee76aaf8314e0eadbd460cd22bb370c70db2df31655cdd09d3cb71e0649", kill_on_drop: false }` [INFO] [stdout] fb8dcee76aaf8314e0eadbd460cd22bb370c70db2df31655cdd09d3cb71e0649