[INFO] fetching crate conditional-trait-gen 0.4.1... [INFO] checking conditional-trait-gen-0.4.1 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate conditional-trait-gen 0.4.1 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate conditional-trait-gen 0.4.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate conditional-trait-gen 0.4.1 [INFO] tweaked toml for crates.io crate conditional-trait-gen 0.4.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate conditional-trait-gen 0.4.1 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 47 packages to latest compatible versions [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.106) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b05bf11f8d129c5128758f29fb5860e935bba5cdb4b96f6a36b7d84430fb813f [INFO] running `Command { std: "docker" "start" "-a" "b05bf11f8d129c5128758f29fb5860e935bba5cdb4b96f6a36b7d84430fb813f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b05bf11f8d129c5128758f29fb5860e935bba5cdb4b96f6a36b7d84430fb813f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b05bf11f8d129c5128758f29fb5860e935bba5cdb4b96f6a36b7d84430fb813f", kill_on_drop: false }` [INFO] [stdout] b05bf11f8d129c5128758f29fb5860e935bba5cdb4b96f6a36b7d84430fb813f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e4fa32066f42ad914b622707e6469a24203ba7995b168ecc9e8b45d2318e6920 [INFO] running `Command { std: "docker" "start" "-a" "e4fa32066f42ad914b622707e6469a24203ba7995b168ecc9e8b45d2318e6920", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking conditional-trait-gen v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `quote::__private::ext::RepToTokensExt` [INFO] [stdout] --> src/lib.rs:172:5 [INFO] [stdout] | [INFO] [stdout] 172 | use quote::__private::ext::RepToTokensExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ImplItemMethod` and `parse` [INFO] [stdout] --> src/lib.rs:181:31 [INFO] [stdout] | [INFO] [stdout] 181 | bracketed, parenthesized, parse, parse2, parse_macro_input, parse_str, Attribute, Error, Expr, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 182 | ExprLit, File, GenericArgument, GenericParam, Generics, ImplItem, ImplItemMethod, ItemImpl, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:541:29 [INFO] [stdout] | [INFO] [stdout] 541 | let mut nth_new_seg = new_seg.last_mut().unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/lib.rs:905:13 [INFO] [stdout] | [INFO] [stdout] 905 | pub fn when(args: TokenStream, item: TokenStream) -> TokenStream { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stdout] warning: unused import: `quote::__private::ext::RepToTokensExt` [INFO] [stdout] --> src/lib.rs:172:5 [INFO] [stdout] | [INFO] [stdout] 172 | use quote::__private::ext::RepToTokensExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ImplItemMethod` and `parse` [INFO] [stdout] --> src/lib.rs:181:31 [INFO] [stdout] | [INFO] [stdout] 181 | bracketed, parenthesized, parse, parse2, parse_macro_input, parse_str, Attribute, Error, Expr, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 182 | ExprLit, File, GenericArgument, GenericParam, Generics, ImplItem, ImplItemMethod, ItemImpl, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:541:29 [INFO] [stdout] | [INFO] [stdout] 541 | let mut nth_new_seg = new_seg.last_mut().unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/lib.rs:905:13 [INFO] [stdout] | [INFO] [stdout] 905 | pub fn when(args: TokenStream, item: TokenStream) -> TokenStream { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid format string: expected `}`, found `:` [INFO] [stdout] --> tests/integration.rs:188:36 [INFO] [stdout] | [INFO] [stdout] 188 | format!("slice of ${my::T} with N = {}", N) [INFO] [stdout] | - ^ expected `}` in format string [INFO] [stdout] | | [INFO] [stdout] | because of this opening brace [INFO] [stdout] | [INFO] [stdout] = note: if you intended to print `{`, you can escape it using `{{` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `trait_gen` [INFO] [stdout] --> tests/integration.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | use trait_gen::trait_gen; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `trait_gen` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `trait_gen`, use `cargo add trait_gen` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `trait_gen` [INFO] [stdout] --> tests/integration.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | use trait_gen::trait_gen; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `trait_gen` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `trait_gen`, use `cargo add trait_gen` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `trait_gen` [INFO] [stdout] --> tests/integration.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | use trait_gen::trait_gen; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `trait_gen` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `trait_gen`, use `cargo add trait_gen` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `trait_gen` [INFO] [stdout] --> tests/integration.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | use trait_gen::trait_gen; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `trait_gen` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `trait_gen`, use `cargo add trait_gen` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `trait_gen` [INFO] [stdout] --> tests/integration.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | use trait_gen::trait_gen; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `trait_gen` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `trait_gen`, use `cargo add trait_gen` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `trait_gen` [INFO] [stdout] --> tests/integration.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | use trait_gen::trait_gen; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `trait_gen` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `trait_gen`, use `cargo add trait_gen` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `trait_gen` [INFO] [stdout] --> tests/integration.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | use trait_gen::trait_gen; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `trait_gen` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `trait_gen`, use `cargo add trait_gen` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `trait_gen` [INFO] [stdout] --> tests/integration.rs:350:9 [INFO] [stdout] | [INFO] [stdout] 350 | use trait_gen::trait_gen; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `trait_gen` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `trait_gen`, use `cargo add trait_gen` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `trait_gen` [INFO] [stdout] --> tests/integration.rs:389:9 [INFO] [stdout] | [INFO] [stdout] 389 | use trait_gen::trait_gen; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `trait_gen` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `trait_gen`, use `cargo add trait_gen` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `trait_gen` [INFO] [stdout] --> tests/integration.rs:417:17 [INFO] [stdout] | [INFO] [stdout] 417 | use trait_gen::trait_gen; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `trait_gen` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `trait_gen`, use `cargo add trait_gen` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `trait_gen` [INFO] [stdout] --> tests/integration.rs:440:9 [INFO] [stdout] | [INFO] [stdout] 440 | use trait_gen::trait_gen; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `trait_gen` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `trait_gen`, use `cargo add trait_gen` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `trait_gen` [INFO] [stdout] --> tests/integration.rs:464:9 [INFO] [stdout] | [INFO] [stdout] 464 | use trait_gen::trait_gen; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `trait_gen` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `trait_gen`, use `cargo add trait_gen` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `trait_gen` [INFO] [stdout] --> tests/integration.rs:498:9 [INFO] [stdout] | [INFO] [stdout] 498 | use trait_gen::trait_gen; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `trait_gen` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `trait_gen`, use `cargo add trait_gen` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `trait_gen` [INFO] [stdout] --> tests/integration.rs:527:9 [INFO] [stdout] | [INFO] [stdout] 527 | use trait_gen::trait_gen; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `trait_gen` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `trait_gen`, use `cargo add trait_gen` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `trait_gen` [INFO] [stdout] --> tests/integration.rs:570:9 [INFO] [stdout] | [INFO] [stdout] 570 | use trait_gen::trait_gen; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `trait_gen` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `trait_gen`, use `cargo add trait_gen` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `trait_gen` [INFO] [stdout] --> tests/integration.rs:596:9 [INFO] [stdout] | [INFO] [stdout] 596 | use trait_gen::trait_gen; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `trait_gen` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `trait_gen`, use `cargo add trait_gen` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `trait_gen` [INFO] [stdout] --> tests/integration.rs:676:9 [INFO] [stdout] | [INFO] [stdout] 676 | use trait_gen::trait_gen; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `trait_gen` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `trait_gen`, use `cargo add trait_gen` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `trait_gen` [INFO] [stdout] --> tests/integration.rs:738:9 [INFO] [stdout] | [INFO] [stdout] 738 | use trait_gen::trait_gen; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `trait_gen` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `trait_gen`, use `cargo add trait_gen` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `trait_gen` [INFO] [stdout] --> tests/integration.rs:764:9 [INFO] [stdout] | [INFO] [stdout] 764 | use trait_gen::trait_gen; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `trait_gen` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `trait_gen`, use `cargo add trait_gen` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `trait_gen` [INFO] [stdout] --> tests/integration.rs:804:9 [INFO] [stdout] | [INFO] [stdout] 804 | use trait_gen::trait_gen; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `trait_gen` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `trait_gen`, use `cargo add trait_gen` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `trait_gen` [INFO] [stdout] --> tests/integration.rs:857:9 [INFO] [stdout] | [INFO] [stdout] 857 | use trait_gen::trait_gen; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `trait_gen` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `trait_gen`, use `cargo add trait_gen` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `trait_gen` [INFO] [stdout] --> tests/integration.rs:931:9 [INFO] [stdout] | [INFO] [stdout] 931 | use trait_gen::trait_gen; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `trait_gen` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `trait_gen`, use `cargo add trait_gen` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `trait_gen` [INFO] [stdout] --> tests/integration.rs:957:9 [INFO] [stdout] | [INFO] [stdout] 957 | use trait_gen::trait_gen; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `trait_gen` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `trait_gen`, use `cargo add trait_gen` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `trait_gen` [INFO] [stdout] --> tests/integration.rs:1013:9 [INFO] [stdout] | [INFO] [stdout] 1013 | use trait_gen::{trait_gen, when}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `trait_gen` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `trait_gen`, use `cargo add trait_gen` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `trait_gen` [INFO] [stdout] --> tests/integration.rs:1128:9 [INFO] [stdout] | [INFO] [stdout] 1128 | use trait_gen::trait_gen; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `trait_gen` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `trait_gen`, use `cargo add trait_gen` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `trait_gen` [INFO] [stdout] --> tests/integration.rs:1149:9 [INFO] [stdout] | [INFO] [stdout] 1149 | use trait_gen::trait_gen; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `trait_gen` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `trait_gen`, use `cargo add trait_gen` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `quote::__private::ext::RepToTokensExt` [INFO] [stdout] --> src/lib.rs:172:5 [INFO] [stdout] | [INFO] [stdout] 172 | use quote::__private::ext::RepToTokensExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ImplItemMethod` and `parse` [INFO] [stdout] --> src/lib.rs:181:31 [INFO] [stdout] | [INFO] [stdout] 181 | bracketed, parenthesized, parse, parse2, parse_macro_input, parse_str, Attribute, Error, Expr, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 182 | ExprLit, File, GenericArgument, GenericParam, Generics, ImplItem, ImplItemMethod, ItemImpl, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `update_sqlite` is not a member of trait `Repo` [INFO] [stdout] --> tests/integration.rs:1056:9 [INFO] [stdout] | [INFO] [stdout] 1056 | / async fn update_sqlite(&self, id: u64, param: String) -> Result<(), String> { [INFO] [stdout] 1057 | | println!("update {id} with {param} in {:?}", self.db); [INFO] [stdout] 1058 | | Err("sqlite implementation".to_string()) [INFO] [stdout] 1059 | | } [INFO] [stdout] | |_________^ not a member of trait `Repo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `update_mysql` is not a member of trait `Repo` [INFO] [stdout] --> tests/integration.rs:1062:9 [INFO] [stdout] | [INFO] [stdout] 1062 | / async fn update_mysql(&self, id: u64, param: String) -> Result<(), String> { [INFO] [stdout] 1063 | | println!("update {id} with {param} in {:?}", self.db); [INFO] [stdout] 1064 | | Err("mysql implementation".to_string()) [INFO] [stdout] 1065 | | } [INFO] [stdout] | |_________^ not a member of trait `Repo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `update_postgres` is not a member of trait `Repo` [INFO] [stdout] --> tests/integration.rs:1068:9 [INFO] [stdout] | [INFO] [stdout] 1068 | / async fn update_postgres(&self, id: u64, param: String) -> Result<(), String> { [INFO] [stdout] 1069 | | println!("update {id} with {param} in {:?}", self.db); [INFO] [stdout] 1070 | | Err("postgres implementation".to_string()) [INFO] [stdout] 1071 | | } [INFO] [stdout] | |_________^ not a member of trait `Repo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `T` in this scope [INFO] [stdout] --> tests/integration.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | impl Test { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: these type aliases exist but are inaccessible [INFO] [stdout] --> tests/integration.rs:694:5 [INFO] [stdout] | [INFO] [stdout] 694 | type T = Meter; [INFO] [stdout] | ^^^^^^^^^^^^^^^ `crate::ex01a::T`: not accessible [INFO] [stdout] ... [INFO] [stdout] 871 | type T = Meter; [INFO] [stdout] | ^^^^^^^^^^^^^^^ `crate::ex01b::T`: not accessible [INFO] [stdout] ... [INFO] [stdout] 972 | type T = u64; [INFO] [stdout] | ^^^^^^^^^^^^^ `crate::ex03b::T`: not accessible [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 17 + use crate::T; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `T` in this scope [INFO] [stdout] --> tests/integration.rs:48:15 [INFO] [stdout] | [INFO] [stdout] 48 | impl Test { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: these type aliases exist but are inaccessible [INFO] [stdout] --> tests/integration.rs:694:5 [INFO] [stdout] | [INFO] [stdout] 694 | type T = Meter; [INFO] [stdout] | ^^^^^^^^^^^^^^^ `crate::ex01a::T`: not accessible [INFO] [stdout] ... [INFO] [stdout] 871 | type T = Meter; [INFO] [stdout] | ^^^^^^^^^^^^^^^ `crate::ex01b::T`: not accessible [INFO] [stdout] ... [INFO] [stdout] 972 | type T = u64; [INFO] [stdout] | ^^^^^^^^^^^^^ `crate::ex03b::T`: not accessible [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 17 + use crate::T; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `T` in this scope [INFO] [stdout] --> tests/integration.rs:55:15 [INFO] [stdout] | [INFO] [stdout] 55 | impl Test { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: these type aliases exist but are inaccessible [INFO] [stdout] --> tests/integration.rs:694:5 [INFO] [stdout] | [INFO] [stdout] 694 | type T = Meter; [INFO] [stdout] | ^^^^^^^^^^^^^^^ `crate::ex01a::T`: not accessible [INFO] [stdout] ... [INFO] [stdout] 871 | type T = Meter; [INFO] [stdout] | ^^^^^^^^^^^^^^^ `crate::ex01b::T`: not accessible [INFO] [stdout] ... [INFO] [stdout] 972 | type T = u64; [INFO] [stdout] | ^^^^^^^^^^^^^ `crate::ex03b::T`: not accessible [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 17 + use crate::T; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `T` in this scope [INFO] [stdout] --> tests/integration.rs:137:20 [INFO] [stdout] | [INFO] [stdout] 137 | impl MyLog for T { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: these type aliases exist but are inaccessible [INFO] [stdout] --> tests/integration.rs:694:5 [INFO] [stdout] | [INFO] [stdout] 694 | type T = Meter; [INFO] [stdout] | ^^^^^^^^^^^^^^^ `crate::ex01a::T`: not accessible [INFO] [stdout] ... [INFO] [stdout] 871 | type T = Meter; [INFO] [stdout] | ^^^^^^^^^^^^^^^ `crate::ex01b::T`: not accessible [INFO] [stdout] ... [INFO] [stdout] 972 | type T = u64; [INFO] [stdout] | ^^^^^^^^^^^^^ `crate::ex03b::T`: not accessible [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 130 + use crate::T; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `T` [INFO] [stdout] --> tests/integration.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | T::BITS - 1 - self.leading_zeros() [INFO] [stdout] | ^ use of undeclared type `T` [INFO] [stdout] | [INFO] [stdout] note: these type aliases exist but are inaccessible [INFO] [stdout] --> tests/integration.rs:694:5 [INFO] [stdout] | [INFO] [stdout] 694 | type T = Meter; [INFO] [stdout] | ^^^^^^^^^^^^^^^ `crate::ex01a::T`: not accessible [INFO] [stdout] ... [INFO] [stdout] 871 | type T = Meter; [INFO] [stdout] | ^^^^^^^^^^^^^^^ `crate::ex01b::T`: not accessible [INFO] [stdout] ... [INFO] [stdout] 972 | type T = u64; [INFO] [stdout] | ^^^^^^^^^^^^^ `crate::ex03b::T`: not accessible [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 130 + use crate::T; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `U` in this scope [INFO] [stdout] --> tests/integration.rs:146:20 [INFO] [stdout] | [INFO] [stdout] 146 | impl MyLog for U { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 130 + use crate::U; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `T` in this scope [INFO] [stdout] --> tests/integration.rs:227:21 [INFO] [stdout] | [INFO] [stdout] 227 | impl Negate for T { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: these type aliases exist but are inaccessible [INFO] [stdout] --> tests/integration.rs:694:5 [INFO] [stdout] | [INFO] [stdout] 694 | type T = Meter; [INFO] [stdout] | ^^^^^^^^^^^^^^^ `crate::ex01a::T`: not accessible [INFO] [stdout] ... [INFO] [stdout] 871 | type T = Meter; [INFO] [stdout] | ^^^^^^^^^^^^^^^ `crate::ex01b::T`: not accessible [INFO] [stdout] ... [INFO] [stdout] 972 | type T = u64; [INFO] [stdout] | ^^^^^^^^^^^^^ `crate::ex03b::T`: not accessible [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 213 + use crate::T; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `T` in this scope [INFO] [stdout] --> tests/integration.rs:228:23 [INFO] [stdout] | [INFO] [stdout] 228 | type Output = T; [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: these type aliases exist but are inaccessible [INFO] [stdout] --> tests/integration.rs:694:5 [INFO] [stdout] | [INFO] [stdout] 694 | type T = Meter; [INFO] [stdout] | ^^^^^^^^^^^^^^^ `crate::ex01a::T`: not accessible [INFO] [stdout] ... [INFO] [stdout] 871 | type T = Meter; [INFO] [stdout] | ^^^^^^^^^^^^^^^ `crate::ex01b::T`: not accessible [INFO] [stdout] ... [INFO] [stdout] 972 | type T = u64; [INFO] [stdout] | ^^^^^^^^^^^^^ `crate::ex03b::T`: not accessible [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 213 + use crate::T; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `U` in this scope [INFO] [stdout] --> tests/integration.rs:236:21 [INFO] [stdout] | [INFO] [stdout] 236 | impl Negate for U { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 213 + use crate::U; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `T` in this scope [INFO] [stdout] --> tests/integration.rs:237:23 [INFO] [stdout] | [INFO] [stdout] 237 | type Output = T; [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: these type aliases exist but are inaccessible [INFO] [stdout] --> tests/integration.rs:694:5 [INFO] [stdout] | [INFO] [stdout] 694 | type T = Meter; [INFO] [stdout] | ^^^^^^^^^^^^^^^ `crate::ex01a::T`: not accessible [INFO] [stdout] ... [INFO] [stdout] 871 | type T = Meter; [INFO] [stdout] | ^^^^^^^^^^^^^^^ `crate::ex01b::T`: not accessible [INFO] [stdout] ... [INFO] [stdout] 972 | type T = u64; [INFO] [stdout] | ^^^^^^^^^^^^^ `crate::ex03b::T`: not accessible [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 213 + use crate::T; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `U` in this scope [INFO] [stdout] --> tests/integration.rs:276:18 [INFO] [stdout] | [INFO] [stdout] 276 | impl Add for U { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 270 + use crate::U; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `U` in this scope [INFO] [stdout] --> tests/integration.rs:277:23 [INFO] [stdout] | [INFO] [stdout] 277 | type Output = U; [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 270 + use crate::U; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U` in this scope [INFO] [stdout] --> tests/integration.rs:280:13 [INFO] [stdout] | [INFO] [stdout] 280 | U(self.0 + rhs.0) [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 270 + use crate::U; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `T` in this scope [INFO] [stdout] --> tests/integration.rs:362:19 [INFO] [stdout] | [INFO] [stdout] 362 | impl Show for T { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: these type aliases exist but are inaccessible [INFO] [stdout] --> tests/integration.rs:694:5 [INFO] [stdout] | [INFO] [stdout] 694 | type T = Meter; [INFO] [stdout] | ^^^^^^^^^^^^^^^ `crate::ex01a::T`: not accessible [INFO] [stdout] ... [INFO] [stdout] 871 | type T = Meter; [INFO] [stdout] | ^^^^^^^^^^^^^^^ `crate::ex01b::T`: not accessible [INFO] [stdout] ... [INFO] [stdout] 972 | type T = u64; [INFO] [stdout] | ^^^^^^^^^^^^^ `crate::ex03b::T`: not accessible [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 349 + use crate::T; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `T` in this scope [INFO] [stdout] --> tests/integration.rs:373:31 [INFO] [stdout] | [INFO] [stdout] 373 | impl Show for T { [INFO] [stdout] | - ^ [INFO] [stdout] | | [INFO] [stdout] | similarly named type parameter `U` defined here [INFO] [stdout] | [INFO] [stdout] note: these type aliases exist but are inaccessible [INFO] [stdout] --> tests/integration.rs:694:5 [INFO] [stdout] | [INFO] [stdout] 694 | type T = Meter; [INFO] [stdout] | ^^^^^^^^^^^^^^^ `crate::ex01a::T`: not accessible [INFO] [stdout] ... [INFO] [stdout] 871 | type T = Meter; [INFO] [stdout] | ^^^^^^^^^^^^^^^ `crate::ex01b::T`: not accessible [INFO] [stdout] ... [INFO] [stdout] 972 | type T = u64; [INFO] [stdout] | ^^^^^^^^^^^^^ `crate::ex03b::T`: not accessible [INFO] [stdout] help: a type parameter with a similar name exists [INFO] [stdout] | [INFO] [stdout] 373 - impl Show for T { [INFO] [stdout] 373 + impl Show for U { [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 349 + use crate::T; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `T` in this scope [INFO] [stdout] --> tests/integration.rs:399:19 [INFO] [stdout] | [INFO] [stdout] 399 | impl Show for T<'_> { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: these type aliases exist but are inaccessible [INFO] [stdout] --> tests/integration.rs:694:5 [INFO] [stdout] | [INFO] [stdout] 694 | type T = Meter; [INFO] [stdout] | ^^^^^^^^^^^^^^^ `crate::ex01a::T`: not accessible [INFO] [stdout] ... [INFO] [stdout] 871 | type T = Meter; [INFO] [stdout] | ^^^^^^^^^^^^^^^ `crate::ex01b::T`: not accessible [INFO] [stdout] ... [INFO] [stdout] 972 | type T = u64; [INFO] [stdout] | ^^^^^^^^^^^^^ `crate::ex03b::T`: not accessible [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 389 + use crate::T; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `T` in this scope [INFO] [stdout] --> tests/integration.rs:424:27 [INFO] [stdout] | [INFO] [stdout] 424 | impl Show for T<'_> { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: these type aliases exist but are inaccessible [INFO] [stdout] --> tests/integration.rs:694:5 [INFO] [stdout] | [INFO] [stdout] 694 | type T = Meter; [INFO] [stdout] | ^^^^^^^^^^^^^^^ `crate::ex01a::T`: not accessible [INFO] [stdout] ... [INFO] [stdout] 871 | type T = Meter; [INFO] [stdout] | ^^^^^^^^^^^^^^^ `crate::ex01b::T`: not accessible [INFO] [stdout] ... [INFO] [stdout] 972 | type T = u64; [INFO] [stdout] | ^^^^^^^^^^^^^ `crate::ex03b::T`: not accessible [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 417 + use crate::T; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `T` in this scope [INFO] [stdout] --> tests/integration.rs:478:18 [INFO] [stdout] | [INFO] [stdout] 478 | impl Lit for T { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: these type aliases exist but are inaccessible [INFO] [stdout] --> tests/integration.rs:694:5 [INFO] [stdout] | [INFO] [stdout] 694 | type T = Meter; [INFO] [stdout] | ^^^^^^^^^^^^^^^ `crate::ex01a::T`: not accessible [INFO] [stdout] ... [INFO] [stdout] 871 | type T = Meter; [INFO] [stdout] | ^^^^^^^^^^^^^^^ `crate::ex01b::T`: not accessible [INFO] [stdout] ... [INFO] [stdout] 972 | type T = u64; [INFO] [stdout] | ^^^^^^^^^^^^^ `crate::ex03b::T`: not accessible [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 464 + use crate::T; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `T` in this scope [INFO] [stdout] --> tests/integration.rs:482:24 [INFO] [stdout] | [INFO] [stdout] 482 | format!("${T}: {}", self) [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `U` in this scope [INFO] [stdout] --> tests/integration.rs:505:21 [INFO] [stdout] | [INFO] [stdout] 505 | impl AddMod for U { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 497 + use crate::U; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `U` in this scope [INFO] [stdout] --> tests/integration.rs:506:33 [INFO] [stdout] | [INFO] [stdout] 506 | fn add_mod(self, other: U, m: U) -> U { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 497 + use crate::U; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `U` in this scope [INFO] [stdout] --> tests/integration.rs:506:39 [INFO] [stdout] | [INFO] [stdout] 506 | fn add_mod(self, other: U, m: U) -> U { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 497 + use crate::U; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `U` in this scope [INFO] [stdout] --> tests/integration.rs:506:45 [INFO] [stdout] | [INFO] [stdout] 506 | fn add_mod(self, other: U, m: U) -> U { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 497 + use crate::U; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found constant `U` [INFO] [stdout] --> tests/integration.rs:508:22 [INFO] [stdout] | [INFO] [stdout] 508 | const U: U = 0; [INFO] [stdout] | ^ not a type [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 497 + use crate::U; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `U` [INFO] [stdout] --> tests/integration.rs:510:25 [INFO] [stdout] | [INFO] [stdout] 510 | let zero1 = U::default() + U.add(U); [INFO] [stdout] | ^ use of undeclared type `U` [INFO] [stdout] | [INFO] [stdout] help: `U` is defined here, but is not a type [INFO] [stdout] | [INFO] [stdout] 508 - const U: U = 0; [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 497 + use crate::U; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `U` [INFO] [stdout] --> tests/integration.rs:511:25 [INFO] [stdout] | [INFO] [stdout] 511 | let zero2 = U::MAX.sub(U::MAX); [INFO] [stdout] | ^ use of undeclared type `U` [INFO] [stdout] | [INFO] [stdout] help: `U` is defined here, but is not a type [INFO] [stdout] | [INFO] [stdout] 508 - const U: U = 0; [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 497 + use crate::U; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `U` [INFO] [stdout] --> tests/integration.rs:511:36 [INFO] [stdout] | [INFO] [stdout] 511 | let zero2 = U::MAX.sub(U::MAX); [INFO] [stdout] | ^ use of undeclared type `U` [INFO] [stdout] | [INFO] [stdout] help: `U` is defined here, but is not a type [INFO] [stdout] | [INFO] [stdout] 508 - const U: U = 0; [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 497 + use crate::U; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found constant `U` [INFO] [stdout] --> tests/integration.rs:515:61 [INFO] [stdout] | [INFO] [stdout] 515 | (self + other + U + zero1 + zero2 + offset.0 as U) % m [INFO] [stdout] | ^ not a type [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 497 + use crate::U; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `T` in this scope [INFO] [stdout] --> tests/integration.rs:535:17 [INFO] [stdout] | [INFO] [stdout] 535 | impl Number for T { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: these type aliases exist but are inaccessible [INFO] [stdout] --> tests/integration.rs:694:5 [INFO] [stdout] | [INFO] [stdout] 694 | type T = Meter; [INFO] [stdout] | ^^^^^^^^^^^^^^^ `crate::ex01a::T`: not accessible [INFO] [stdout] ... [INFO] [stdout] 871 | type T = Meter; [INFO] [stdout] | ^^^^^^^^^^^^^^^ `crate::ex01b::T`: not accessible [INFO] [stdout] ... [INFO] [stdout] 972 | type T = u64; [INFO] [stdout] | ^^^^^^^^^^^^^ `crate::ex03b::T`: not accessible [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 527 + use crate::T; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `T` in this scope [INFO] [stdout] --> tests/integration.rs:535:20 [INFO] [stdout] | [INFO] [stdout] 535 | impl Number for T { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: these type aliases exist but are inaccessible [INFO] [stdout] --> tests/integration.rs:694:5 [INFO] [stdout] | [INFO] [stdout] 694 | type T = Meter; [INFO] [stdout] | ^^^^^^^^^^^^^^^ `crate::ex01a::T`: not accessible [INFO] [stdout] ... [INFO] [stdout] 871 | type T = Meter; [INFO] [stdout] | ^^^^^^^^^^^^^^^ `crate::ex01b::T`: not accessible [INFO] [stdout] ... [INFO] [stdout] 972 | type T = u64; [INFO] [stdout] | ^^^^^^^^^^^^^ `crate::ex03b::T`: not accessible [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 527 + use crate::T; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `T` in this scope [INFO] [stdout] --> tests/integration.rs:535:27 [INFO] [stdout] | [INFO] [stdout] 535 | impl Number for T { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: these type aliases exist but are inaccessible [INFO] [stdout] --> tests/integration.rs:694:5 [INFO] [stdout] | [INFO] [stdout] 694 | type T = Meter; [INFO] [stdout] | ^^^^^^^^^^^^^^^ `crate::ex01a::T`: not accessible [INFO] [stdout] ... [INFO] [stdout] 871 | type T = Meter; [INFO] [stdout] | ^^^^^^^^^^^^^^^ `crate::ex01b::T`: not accessible [INFO] [stdout] ... [INFO] [stdout] 972 | type T = u64; [INFO] [stdout] | ^^^^^^^^^^^^^ `crate::ex03b::T`: not accessible [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 527 + use crate::T; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `T` in this scope [INFO] [stdout] --> tests/integration.rs:537:21 [INFO] [stdout] | [INFO] [stdout] 537 | fn fake(_x: T) -> T { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: these type aliases exist but are inaccessible [INFO] [stdout] --> tests/integration.rs:694:5 [INFO] [stdout] | [INFO] [stdout] 694 | type T = Meter; [INFO] [stdout] | ^^^^^^^^^^^^^^^ `crate::ex01a::T`: not accessible [INFO] [stdout] ... [INFO] [stdout] 871 | type T = Meter; [INFO] [stdout] | ^^^^^^^^^^^^^^^ `crate::ex01b::T`: not accessible [INFO] [stdout] ... [INFO] [stdout] 972 | type T = u64; [INFO] [stdout] | ^^^^^^^^^^^^^ `crate::ex03b::T`: not accessible [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 527 + use crate::T; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `T` in this scope [INFO] [stdout] --> tests/integration.rs:537:27 [INFO] [stdout] | [INFO] [stdout] 537 | fn fake(_x: T) -> T { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: these type aliases exist but are inaccessible [INFO] [stdout] --> tests/integration.rs:694:5 [INFO] [stdout] | [INFO] [stdout] 694 | type T = Meter; [INFO] [stdout] | ^^^^^^^^^^^^^^^ `crate::ex01a::T`: not accessible [INFO] [stdout] ... [INFO] [stdout] 871 | type T = Meter; [INFO] [stdout] | ^^^^^^^^^^^^^^^ `crate::ex01b::T`: not accessible [INFO] [stdout] ... [INFO] [stdout] 972 | type T = u64; [INFO] [stdout] | ^^^^^^^^^^^^^ `crate::ex03b::T`: not accessible [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 527 + use crate::T; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `T` in this scope [INFO] [stdout] --> tests/integration.rs:538:20 [INFO] [stdout] | [INFO] [stdout] 538 | 1.0 as T [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: these type aliases exist but are inaccessible [INFO] [stdout] --> tests/integration.rs:694:5 [INFO] [stdout] | [INFO] [stdout] 694 | type T = Meter; [INFO] [stdout] | ^^^^^^^^^^^^^^^ `crate::ex01a::T`: not accessible [INFO] [stdout] ... [INFO] [stdout] 871 | type T = Meter; [INFO] [stdout] | ^^^^^^^^^^^^^^^ `crate::ex01b::T`: not accessible [INFO] [stdout] ... [INFO] [stdout] 972 | type T = u64; [INFO] [stdout] | ^^^^^^^^^^^^^ `crate::ex03b::T`: not accessible [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 527 + use crate::T; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `U` in this scope [INFO] [stdout] --> tests/integration.rs:549:20 [INFO] [stdout] | [INFO] [stdout] 549 | impl GetLength for Meter { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 527 + use crate::U; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `U` in this scope [INFO] [stdout] --> tests/integration.rs:549:33 [INFO] [stdout] | [INFO] [stdout] 549 | impl GetLength for Meter { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 527 + use crate::U; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `U` in this scope [INFO] [stdout] --> tests/integration.rs:551:29 [INFO] [stdout] | [INFO] [stdout] 551 | fn length(&self) -> U { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 527 + use crate::U; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `U` in this scope [INFO] [stdout] --> tests/integration.rs:553:35 [INFO] [stdout] | [INFO] [stdout] 553 | fn identity>(x: T) -> T { [INFO] [stdout] | - ^ [INFO] [stdout] | | [INFO] [stdout] | similarly named type parameter `T` defined here [INFO] [stdout] | [INFO] [stdout] help: a type parameter with a similar name exists [INFO] [stdout] | [INFO] [stdout] 553 - fn identity>(x: T) -> T { [INFO] [stdout] 553 + fn identity>(x: T) -> T { [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 527 + use crate::U; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `U` in this scope [INFO] [stdout] --> tests/integration.rs:553:38 [INFO] [stdout] | [INFO] [stdout] 553 | fn identity>(x: T) -> T { [INFO] [stdout] | - ^ [INFO] [stdout] | | [INFO] [stdout] | similarly named type parameter `T` defined here [INFO] [stdout] | [INFO] [stdout] help: a type parameter with a similar name exists [INFO] [stdout] | [INFO] [stdout] 553 - fn identity>(x: T) -> T { [INFO] [stdout] 553 + fn identity>(x: T) -> T { [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 527 + use crate::U; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `U` in this scope [INFO] [stdout] --> tests/integration.rs:556:32 [INFO] [stdout] | [INFO] [stdout] 556 | identity(self.0 as U) [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 527 + use crate::U; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `T` in this scope [INFO] [stdout] --> tests/integration.rs:577:22 [INFO] [stdout] | [INFO] [stdout] 577 | impl Transformer for Vec { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: these type aliases exist but are inaccessible [INFO] [stdout] --> tests/integration.rs:694:5 [INFO] [stdout] | [INFO] [stdout] 694 | type T = Meter; [INFO] [stdout] | ^^^^^^^^^^^^^^^ `crate::ex01a::T`: not accessible [INFO] [stdout] ... [INFO] [stdout] 871 | type T = Meter; [INFO] [stdout] | ^^^^^^^^^^^^^^^ `crate::ex01b::T`: not accessible [INFO] [stdout] ... [INFO] [stdout] 972 | type T = u64; [INFO] [stdout] | ^^^^^^^^^^^^^ `crate::ex03b::T`: not accessible [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 570 + use crate::T; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `T` in this scope [INFO] [stdout] --> tests/integration.rs:577:33 [INFO] [stdout] | [INFO] [stdout] 577 | impl Transformer for Vec { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: these type aliases exist but are inaccessible [INFO] [stdout] --> tests/integration.rs:694:5 [INFO] [stdout] | [INFO] [stdout] 694 | type T = Meter; [INFO] [stdout] | ^^^^^^^^^^^^^^^ `crate::ex01a::T`: not accessible [INFO] [stdout] ... [INFO] [stdout] 871 | type T = Meter; [INFO] [stdout] | ^^^^^^^^^^^^^^^ `crate::ex01b::T`: not accessible [INFO] [stdout] ... [INFO] [stdout] 972 | type T = u64; [INFO] [stdout] | ^^^^^^^^^^^^^ `crate::ex03b::T`: not accessible [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 570 + use crate::T; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `T` in this scope [INFO] [stdout] --> tests/integration.rs:578:28 [INFO] [stdout] | [INFO] [stdout] 578 | fn transform T>(&self, f: F) -> Vec { [INFO] [stdout] | - ^ [INFO] [stdout] | | [INFO] [stdout] | similarly named type parameter `F` defined here [INFO] [stdout] | [INFO] [stdout] note: these type aliases exist but are inaccessible [INFO] [stdout] --> tests/integration.rs:694:5 [INFO] [stdout] | [INFO] [stdout] 694 | type T = Meter; [INFO] [stdout] | ^^^^^^^^^^^^^^^ `crate::ex01a::T`: not accessible [INFO] [stdout] ... [INFO] [stdout] 871 | type T = Meter; [INFO] [stdout] | ^^^^^^^^^^^^^^^ `crate::ex01b::T`: not accessible [INFO] [stdout] ... [INFO] [stdout] 972 | type T = u64; [INFO] [stdout] | ^^^^^^^^^^^^^ `crate::ex03b::T`: not accessible [INFO] [stdout] help: a type parameter with a similar name exists [INFO] [stdout] | [INFO] [stdout] 578 - fn transform T>(&self, f: F) -> Vec { [INFO] [stdout] 578 + fn transform T>(&self, f: F) -> Vec { [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 570 + use crate::T; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:541:29 [INFO] [stdout] | [INFO] [stdout] 541 | let mut nth_new_seg = new_seg.last_mut().unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `T` in this scope [INFO] [stdout] --> tests/integration.rs:578:34 [INFO] [stdout] | [INFO] [stdout] 578 | fn transform T>(&self, f: F) -> Vec { [INFO] [stdout] | - ^ [INFO] [stdout] | | [INFO] [stdout] | similarly named type parameter `F` defined here [INFO] [stdout] | [INFO] [stdout] note: these type aliases exist but are inaccessible [INFO] [stdout] --> tests/integration.rs:694:5 [INFO] [stdout] | [INFO] [stdout] 694 | type T = Meter; [INFO] [stdout] | ^^^^^^^^^^^^^^^ `crate::ex01a::T`: not accessible [INFO] [stdout] ... [INFO] [stdout] 871 | type T = Meter; [INFO] [stdout] | ^^^^^^^^^^^^^^^ `crate::ex01b::T`: not accessible [INFO] [stdout] ... [INFO] [stdout] 972 | type T = u64; [INFO] [stdout] | ^^^^^^^^^^^^^ `crate::ex03b::T`: not accessible [INFO] [stdout] help: a type parameter with a similar name exists [INFO] [stdout] | [INFO] [stdout] 578 - fn transform T>(&self, f: F) -> Vec { [INFO] [stdout] 578 + fn transform F>(&self, f: F) -> Vec { [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 570 + use crate::T; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `T` in this scope [INFO] [stdout] --> tests/integration.rs:578:57 [INFO] [stdout] | [INFO] [stdout] 578 | fn transform T>(&self, f: F) -> Vec { [INFO] [stdout] | - ^ [INFO] [stdout] | | [INFO] [stdout] | similarly named type parameter `F` defined here [INFO] [stdout] | [INFO] [stdout] note: these type aliases exist but are inaccessible [INFO] [stdout] --> tests/integration.rs:694:5 [INFO] [stdout] | [INFO] [stdout] 694 | type T = Meter; [INFO] [stdout] | ^^^^^^^^^^^^^^^ `crate::ex01a::T`: not accessible [INFO] [stdout] ... [INFO] [stdout] 871 | type T = Meter; [INFO] [stdout] | ^^^^^^^^^^^^^^^ `crate::ex01b::T`: not accessible [INFO] [stdout] ... [INFO] [stdout] 972 | type T = u64; [INFO] [stdout] | ^^^^^^^^^^^^^ `crate::ex03b::T`: not accessible [INFO] [stdout] help: a type parameter with a similar name exists [INFO] [stdout] | [INFO] [stdout] 578 - fn transform T>(&self, f: F) -> Vec { [INFO] [stdout] 578 + fn transform T>(&self, f: F) -> Vec { [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 570 + use crate::T; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `U` in this scope [INFO] [stdout] --> tests/integration.rs:611:10 [INFO] [stdout] | [INFO] [stdout] 611 | impl U { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 595 + use crate::U; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `T` in this scope [INFO] [stdout] --> tests/integration.rs:612:32 [INFO] [stdout] | [INFO] [stdout] 612 | fn scale(&self, value: T) -> U { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: these type aliases exist but are inaccessible [INFO] [stdout] --> tests/integration.rs:694:5 [INFO] [stdout] | [INFO] [stdout] 694 | type T = Meter; [INFO] [stdout] | ^^^^^^^^^^^^^^^ `crate::ex01a::T`: not accessible [INFO] [stdout] ... [INFO] [stdout] 871 | type T = Meter; [INFO] [stdout] | ^^^^^^^^^^^^^^^ `crate::ex01b::T`: not accessible [INFO] [stdout] ... [INFO] [stdout] 972 | type T = u64; [INFO] [stdout] | ^^^^^^^^^^^^^ `crate::ex03b::T`: not accessible [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 595 + use crate::T; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `U` in this scope [INFO] [stdout] --> tests/integration.rs:612:38 [INFO] [stdout] | [INFO] [stdout] 612 | fn scale(&self, value: T) -> U { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 595 + use crate::U; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `U` in this scope [INFO] [stdout] --> tests/integration.rs:613:13 [INFO] [stdout] | [INFO] [stdout] 613 | U(self.0 * value) [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 595 + use crate::U; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `U` in this scope [INFO] [stdout] --> tests/integration.rs:637:20 [INFO] [stdout] | [INFO] [stdout] 637 | impl GetLength for T { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 595 + use crate::U; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `T` in this scope [INFO] [stdout] --> tests/integration.rs:637:27 [INFO] [stdout] | [INFO] [stdout] 637 | impl GetLength for T { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: these type aliases exist but are inaccessible [INFO] [stdout] --> tests/integration.rs:694:5 [INFO] [stdout] | [INFO] [stdout] 694 | type T = Meter; [INFO] [stdout] | ^^^^^^^^^^^^^^^ `crate::ex01a::T`: not accessible [INFO] [stdout] ... [INFO] [stdout] 871 | type T = Meter; [INFO] [stdout] | ^^^^^^^^^^^^^^^ `crate::ex01b::T`: not accessible [INFO] [stdout] ... [INFO] [stdout] 972 | type T = u64; [INFO] [stdout] | ^^^^^^^^^^^^^ `crate::ex03b::T`: not accessible [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 595 + use crate::T; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `U` in this scope [INFO] [stdout] --> tests/integration.rs:638:29 [INFO] [stdout] | [INFO] [stdout] 638 | fn length(&self) -> U { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 595 + use crate::U; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `U` in this scope [INFO] [stdout] --> tests/integration.rs:639:23 [INFO] [stdout] | [INFO] [stdout] 639 | self.0 as U [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 595 + use crate::U; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `T` in this scope [INFO] [stdout] --> tests/integration.rs:645:18 [INFO] [stdout] | [INFO] [stdout] 645 | impl Neg for T { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: these type aliases exist but are inaccessible [INFO] [stdout] --> tests/integration.rs:694:5 [INFO] [stdout] | [INFO] [stdout] 694 | type T = Meter; [INFO] [stdout] | ^^^^^^^^^^^^^^^ `crate::ex01a::T`: not accessible [INFO] [stdout] ... [INFO] [stdout] 871 | type T = Meter; [INFO] [stdout] | ^^^^^^^^^^^^^^^ `crate::ex01b::T`: not accessible [INFO] [stdout] ... [INFO] [stdout] 972 | type T = u64; [INFO] [stdout] | ^^^^^^^^^^^^^ `crate::ex03b::T`: not accessible [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 595 + use crate::T; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `T` in this scope [INFO] [stdout] --> tests/integration.rs:646:23 [INFO] [stdout] | [INFO] [stdout] 646 | type Output = T; [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: these type aliases exist but are inaccessible [INFO] [stdout] --> tests/integration.rs:694:5 [INFO] [stdout] | [INFO] [stdout] 694 | type T = Meter; [INFO] [stdout] | ^^^^^^^^^^^^^^^ `crate::ex01a::T`: not accessible [INFO] [stdout] ... [INFO] [stdout] 871 | type T = Meter; [INFO] [stdout] | ^^^^^^^^^^^^^^^ `crate::ex01b::T`: not accessible [INFO] [stdout] ... [INFO] [stdout] 972 | type T = u64; [INFO] [stdout] | ^^^^^^^^^^^^^ `crate::ex03b::T`: not accessible [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 595 + use crate::T; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `T` in this scope [INFO] [stdout] --> tests/integration.rs:771:20 [INFO] [stdout] | [INFO] [stdout] 771 | impl ToU64 for T { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: these type aliases exist but are inaccessible [INFO] [stdout] --> tests/integration.rs:694:5 [INFO] [stdout] | [INFO] [stdout] 694 | type T = Meter; [INFO] [stdout] | ^^^^^^^^^^^^^^^ `crate::ex01a::T`: not accessible [INFO] [stdout] ... [INFO] [stdout] 871 | type T = Meter; [INFO] [stdout] | ^^^^^^^^^^^^^^^ `crate::ex01b::T`: not accessible [INFO] [stdout] ... [INFO] [stdout] 972 | type T = u64; [INFO] [stdout] | ^^^^^^^^^^^^^ `crate::ex03b::T`: not accessible [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 764 + use crate::T; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `U` in this scope [INFO] [stdout] --> tests/integration.rs:825:10 [INFO] [stdout] | [INFO] [stdout] 806 | / trait A where [INFO] [stdout] 807 | | Self: Sized, [INFO] [stdout] 808 | | { [INFO] [stdout] 809 | | fn a(self) -> i32 { [INFO] [stdout] ... | [INFO] [stdout] 812 | | } [INFO] [stdout] | |_____- similarly named trait `A` defined here [INFO] [stdout] ... [INFO] [stdout] 825 | impl U for T {} [INFO] [stdout] | ^ help: a trait with a similar name exists: `A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `T` in this scope [INFO] [stdout] --> tests/integration.rs:825:16 [INFO] [stdout] | [INFO] [stdout] 806 | / trait A where [INFO] [stdout] 807 | | Self: Sized, [INFO] [stdout] 808 | | { [INFO] [stdout] 809 | | fn a(self) -> i32 { [INFO] [stdout] ... | [INFO] [stdout] 812 | | } [INFO] [stdout] | |_____- similarly named trait `A` defined here [INFO] [stdout] ... [INFO] [stdout] 825 | impl U for T {} [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] note: these type aliases exist but are inaccessible [INFO] [stdout] --> tests/integration.rs:694:5 [INFO] [stdout] | [INFO] [stdout] 694 | type T = Meter; [INFO] [stdout] | ^^^^^^^^^^^^^^^ `crate::ex01a::T`: not accessible [INFO] [stdout] ... [INFO] [stdout] 871 | type T = Meter; [INFO] [stdout] | ^^^^^^^^^^^^^^^ `crate::ex01b::T`: not accessible [INFO] [stdout] ... [INFO] [stdout] 972 | type T = u64; [INFO] [stdout] | ^^^^^^^^^^^^^ `crate::ex03b::T`: not accessible [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 825 - impl U for T {} [INFO] [stdout] 825 + impl U for A {} [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 804 + use crate::T; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DB` in this scope [INFO] [stdout] --> tests/integration.rs:1044:30 [INFO] [stdout] | [INFO] [stdout] 1044 | impl Repo for sqlx::Pool { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1044 | impl Repo for sqlx::Pool { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `T` in this scope [INFO] [stdout] --> tests/integration.rs:1131:15 [INFO] [stdout] | [INFO] [stdout] 1131 | impl Foot { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: these type aliases exist but are inaccessible [INFO] [stdout] --> tests/integration.rs:694:5 [INFO] [stdout] | [INFO] [stdout] 694 | type T = Meter; [INFO] [stdout] | ^^^^^^^^^^^^^^^ `crate::ex01a::T`: not accessible [INFO] [stdout] ... [INFO] [stdout] 871 | type T = Meter; [INFO] [stdout] | ^^^^^^^^^^^^^^^ `crate::ex01b::T`: not accessible [INFO] [stdout] ... [INFO] [stdout] 972 | type T = u64; [INFO] [stdout] | ^^^^^^^^^^^^^ `crate::ex03b::T`: not accessible [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1127 + use crate::T; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `T` in this scope [INFO] [stdout] --> tests/integration.rs:1132:31 [INFO] [stdout] | [INFO] [stdout] 1132 | const METERS_TO_FEET: T = 3.372; [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: these type aliases exist but are inaccessible [INFO] [stdout] --> tests/integration.rs:694:5 [INFO] [stdout] | [INFO] [stdout] 694 | type T = Meter; [INFO] [stdout] | ^^^^^^^^^^^^^^^ `crate::ex01a::T`: not accessible [INFO] [stdout] ... [INFO] [stdout] 871 | type T = Meter; [INFO] [stdout] | ^^^^^^^^^^^^^^^ `crate::ex01b::T`: not accessible [INFO] [stdout] ... [INFO] [stdout] 972 | type T = u64; [INFO] [stdout] | ^^^^^^^^^^^^^ `crate::ex03b::T`: not accessible [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1127 + use crate::T; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `T` in this scope [INFO] [stdout] --> tests/integration.rs:1133:32 [INFO] [stdout] | [INFO] [stdout] 1133 | fn from_meter(x: Meter) -> Self { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: these type aliases exist but are inaccessible [INFO] [stdout] --> tests/integration.rs:694:5 [INFO] [stdout] | [INFO] [stdout] 694 | type T = Meter; [INFO] [stdout] | ^^^^^^^^^^^^^^^ `crate::ex01a::T`: not accessible [INFO] [stdout] ... [INFO] [stdout] 871 | type T = Meter; [INFO] [stdout] | ^^^^^^^^^^^^^^^ `crate::ex01b::T`: not accessible [INFO] [stdout] ... [INFO] [stdout] 972 | type T = u64; [INFO] [stdout] | ^^^^^^^^^^^^^ `crate::ex03b::T`: not accessible [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1127 + use crate::T; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `T` in this scope [INFO] [stdout] --> tests/integration.rs:1152:16 [INFO] [stdout] | [INFO] [stdout] 1152 | impl Meter { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: these type aliases exist but are inaccessible [INFO] [stdout] --> tests/integration.rs:694:5 [INFO] [stdout] | [INFO] [stdout] 694 | type T = Meter; [INFO] [stdout] | ^^^^^^^^^^^^^^^ `crate::ex01a::T`: not accessible [INFO] [stdout] ... [INFO] [stdout] 871 | type T = Meter; [INFO] [stdout] | ^^^^^^^^^^^^^^^ `crate::ex01b::T`: not accessible [INFO] [stdout] ... [INFO] [stdout] 972 | type T = u64; [INFO] [stdout] | ^^^^^^^^^^^^^ `crate::ex03b::T`: not accessible [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1148 + use crate::T; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `T` in this scope [INFO] [stdout] --> tests/integration.rs:1155:13 [INFO] [stdout] | [INFO] [stdout] 1153 | fn from_foot(x: Foot) -> Self [INFO] [stdout] | - similarly named type parameter `F` defined here [INFO] [stdout] 1154 | where [INFO] [stdout] 1155 | T: From, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] note: these type aliases exist but are inaccessible [INFO] [stdout] --> tests/integration.rs:694:5 [INFO] [stdout] | [INFO] [stdout] 694 | type T = Meter; [INFO] [stdout] | ^^^^^^^^^^^^^^^ `crate::ex01a::T`: not accessible [INFO] [stdout] ... [INFO] [stdout] 871 | type T = Meter; [INFO] [stdout] | ^^^^^^^^^^^^^^^ `crate::ex01b::T`: not accessible [INFO] [stdout] ... [INFO] [stdout] 972 | type T = u64; [INFO] [stdout] | ^^^^^^^^^^^^^ `crate::ex03b::T`: not accessible [INFO] [stdout] help: a type parameter with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1155 - T: From, [INFO] [stdout] 1155 + F: From, [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1148 + use crate::T; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `T` [INFO] [stdout] --> tests/integration.rs:1157:19 [INFO] [stdout] | [INFO] [stdout] 1157 | Meter(T::from(x.0) / 3.372) [INFO] [stdout] | ^ use of undeclared type `T` [INFO] [stdout] | [INFO] [stdout] note: these type aliases exist but are inaccessible [INFO] [stdout] --> tests/integration.rs:694:5 [INFO] [stdout] | [INFO] [stdout] 694 | type T = Meter; [INFO] [stdout] | ^^^^^^^^^^^^^^^ `crate::ex01a::T`: not accessible [INFO] [stdout] ... [INFO] [stdout] 871 | type T = Meter; [INFO] [stdout] | ^^^^^^^^^^^^^^^ `crate::ex01b::T`: not accessible [INFO] [stdout] ... [INFO] [stdout] 972 | type T = u64; [INFO] [stdout] | ^^^^^^^^^^^^^ `crate::ex03b::T`: not accessible [INFO] [stdout] help: a type parameter with a similar name exists [INFO] [stdout] | [INFO] [stdout] 1157 - Meter(T::from(x.0) / 3.372) [INFO] [stdout] 1157 + Meter(F::from(x.0) / 3.372) [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1148 + use crate::T; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/lib.rs:905:13 [INFO] [stdout] | [INFO] [stdout] 905 | pub fn when(args: TokenStream, item: TokenStream) -> TokenStream { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `my` [INFO] [stdout] --> tests/integration.rs:104:20 [INFO] [stdout] | [INFO] [stdout] 104 | impl MyLog for my::T { [INFO] [stdout] | ^^--- [INFO] [stdout] | | [INFO] [stdout] | use of unresolved module or unlinked crate `my` [INFO] [stdout] | help: you might have meant to use `self` here instead [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `my`, use `cargo add my` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `my` [INFO] [stdout] --> tests/integration.rs:186:35 [INFO] [stdout] | [INFO] [stdout] 186 | impl Name for my::T { [INFO] [stdout] | ^^--- [INFO] [stdout] | | [INFO] [stdout] | use of unresolved module or unlinked crate `my` [INFO] [stdout] | help: you might have meant to use `self` here instead [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `my`, use `cargo add my` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `gen` [INFO] [stdout] --> tests/integration.rs:323:22 [INFO] [stdout] | [INFO] [stdout] 323 | impl Add for gen::U { [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `gen` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `gen`, use `cargo add gen` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `gen` [INFO] [stdout] --> tests/integration.rs:324:27 [INFO] [stdout] | [INFO] [stdout] 324 | type Output = gen::U; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `gen` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `gen`, use `cargo add gen` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `gen` [INFO] [stdout] --> tests/integration.rs:327:17 [INFO] [stdout] | [INFO] [stdout] 327 | gen::U(self.0 + rhs.0) [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `gen` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `gen`, use `cargo add gen` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `gen` [INFO] [stdout] --> tests/integration.rs:450:19 [INFO] [stdout] | [INFO] [stdout] 450 | impl Show for gen::par<'_> { [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `gen` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `gen`, use `cargo add gen` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `T` in this scope [INFO] [stdout] --> tests/integration.rs:230:13 [INFO] [stdout] | [INFO] [stdout] 230 | T(-self.0) [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `T` in this scope [INFO] [stdout] --> tests/integration.rs:239:13 [INFO] [stdout] | [INFO] [stdout] 239 | T(-self.deref().0) [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `T` in this scope [INFO] [stdout] --> tests/integration.rs:649:13 [INFO] [stdout] | [INFO] [stdout] 649 | T(-self.0) [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0407, E0412, E0425, E0432, E0433, E0573. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `conditional-trait-gen` (test "integration") due to 104 previous errors [INFO] running `Command { std: "docker" "inspect" "e4fa32066f42ad914b622707e6469a24203ba7995b168ecc9e8b45d2318e6920", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4fa32066f42ad914b622707e6469a24203ba7995b168ecc9e8b45d2318e6920", kill_on_drop: false }` [INFO] [stdout] e4fa32066f42ad914b622707e6469a24203ba7995b168ecc9e8b45d2318e6920