[INFO] fetching crate psummary 0.1.5... [INFO] testing psummary-0.1.5 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate psummary 0.1.5 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate psummary 0.1.5 [INFO] finished tweaking crates.io crate psummary 0.1.5 [INFO] tweaked toml for crates.io crate psummary 0.1.5 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate psummary 0.1.5 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate psummary 0.1.5 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: file `/workspace/builds/worker-1-tc2/source/Source/Library.rs` found to be present in multiple build targets: [INFO] [stderr] * `lib` target `Library` [INFO] [stderr] * `bin` target `PSummary` [INFO] [stderr] * `bin` target `Summary` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 37d42f6f2dab82225242337ae8a6d6cd4e6d21a43630451d119d998f733da221 [INFO] running `Command { std: "docker" "start" "-a" "37d42f6f2dab82225242337ae8a6d6cd4e6d21a43630451d119d998f733da221", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "37d42f6f2dab82225242337ae8a6d6cd4e6d21a43630451d119d998f733da221", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37d42f6f2dab82225242337ae8a6d6cd4e6d21a43630451d119d998f733da221", kill_on_drop: false }` [INFO] [stdout] 37d42f6f2dab82225242337ae8a6d6cd4e6d21a43630451d119d998f733da221 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 134350c4e42b43a42187a88a69600837480b0b023dfd1344127db3cbd4322423 [INFO] running `Command { std: "docker" "start" "-a" "134350c4e42b43a42187a88a69600837480b0b023dfd1344127db3cbd4322423", kill_on_drop: false }` [INFO] [stderr] warning: file `/opt/rustwide/workdir/Source/Library.rs` found to be present in multiple build targets: [INFO] [stderr] * `lib` target `Library` [INFO] [stderr] * `bin` target `PSummary` [INFO] [stderr] * `bin` target `Summary` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling winnow v0.7.14 [INFO] [stderr] Compiling toml_writer v1.0.6+spec-1.1.0 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling libz-sys v1.1.23 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling libssh2-sys v0.3.1 [INFO] [stderr] Compiling libgit2-sys v0.18.3+1.9.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling clap_builder v4.5.56 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling dbg_breakpoint v0.1.1 [INFO] [stderr] Compiling chrono v0.4.43 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling unbug v0.4.0 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling toml_datetime v0.7.5+spec-1.1.0 [INFO] [stderr] Compiling toml_parser v1.0.6+spec-1.1.0 [INFO] [stderr] Compiling serde_spanned v1.0.4 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling clap v4.5.56 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling toml v0.9.11+spec-1.1.0 [INFO] [stderr] Compiling psummary v0.1.5 (/opt/rustwide/workdir) [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling git2 v0.20.4 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 38.45s [INFO] running `Command { std: "docker" "inspect" "134350c4e42b43a42187a88a69600837480b0b023dfd1344127db3cbd4322423", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "134350c4e42b43a42187a88a69600837480b0b023dfd1344127db3cbd4322423", kill_on_drop: false }` [INFO] [stdout] 134350c4e42b43a42187a88a69600837480b0b023dfd1344127db3cbd4322423 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 274be3563862678fd8ab9b2e7d0aca5f0f51fa9878182540bf9a914449bc2092 [INFO] running `Command { std: "docker" "start" "-a" "274be3563862678fd8ab9b2e7d0aca5f0f51fa9878182540bf9a914449bc2092", kill_on_drop: false }` [INFO] [stderr] warning: file `/opt/rustwide/workdir/Source/Library.rs` found to be present in multiple build targets: [INFO] [stderr] * `lib` target `Library` [INFO] [stderr] * `bin` target `PSummary` [INFO] [stderr] * `bin` target `Summary` [INFO] [stderr] Compiling psummary v0.1.5 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.10s [INFO] running `Command { std: "docker" "inspect" "274be3563862678fd8ab9b2e7d0aca5f0f51fa9878182540bf9a914449bc2092", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "274be3563862678fd8ab9b2e7d0aca5f0f51fa9878182540bf9a914449bc2092", kill_on_drop: false }` [INFO] [stdout] 274be3563862678fd8ab9b2e7d0aca5f0f51fa9878182540bf9a914449bc2092 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9b6137795e5ff9d307d5292a16d12b2587571241f6b44480f9e8a46086c6f5ae [INFO] running `Command { std: "docker" "start" "-a" "9b6137795e5ff9d307d5292a16d12b2587571241f6b44480f9e8a46086c6f5ae", kill_on_drop: false }` [INFO] [stderr] warning: file `/opt/rustwide/workdir/Source/Library.rs` found to be present in multiple build targets: [INFO] [stderr] * `lib` target `Library` [INFO] [stderr] * `bin` target `PSummary` [INFO] [stderr] * `bin` target `Summary` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests Source/Library.rs (/opt/rustwide/target/debug/deps/Library-3da012d14f5779b7) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Running unittests Source/Library.rs (/opt/rustwide/target/debug/deps/PSummary-dd00dcd32e736507) [INFO] [stdout] running 0 tests [INFO] [stderr] Running unittests Source/Library.rs (/opt/rustwide/target/debug/deps/Summary-40e8393a44b40e72) [INFO] [stdout] [INFO] [stderr] Doc-tests Library [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test Source/Fn/Summary/Insert.rs - Fn::Summary::Insert::Fn (line 18) ... FAILED [INFO] [stdout] test Source/Fn/Summary/Insert/Hash.rs - Fn::Summary::Insert::Hash::Fn (line 18) ... FAILED [INFO] [stdout] test Source/Fn/Binary/Command/Entry.rs - Fn::Binary::Command::Entry::Fn (line 26) ... FAILED [INFO] [stdout] test Source/Fn/Binary/Command/Sequential.rs - Fn::Binary::Command::Sequential::Fn (line 22) ... FAILED [INFO] [stdout] test Source/Fn/Summary/First.rs - Fn::Summary::First::Fn (line 25) ... FAILED [INFO] [stdout] test Source/Fn/Summary/Group.rs - Fn::Summary::Group::Fn (line 24) ... FAILED [INFO] [stdout] test Source/Fn/Summary/Difference.rs - Fn::Summary::Difference::Fn (line 28) ... FAILED [INFO] [stdout] test Source/Struct/Summary/Difference.rs - Struct::Summary::Difference::Struct (line 11) ... FAILED [INFO] [stdout] test Source/Fn/Summary.rs - Fn::Summary::Fn (line 30) ... FAILED [INFO] [stdout] test Source/Fn/Binary/Command/Parallel.rs - Fn::Binary::Command::Parallel::Fn (line 22) ... FAILED [INFO] [stdout] test Source/Library.rs - main (line 18) ... FAILED [INFO] [stdout] test Source/Fn/Binary/Command.rs - Fn::Binary::Command::Fn (line 31) ... FAILED [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- Source/Fn/Summary/Insert.rs - Fn::Summary::Insert::Fn (line 18) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `DashMap` in this scope [INFO] [stdout] --> Source/Fn/Summary/Insert.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | let summary = DashMap::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `DashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use dashmap::DashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found trait `Fn` [INFO] [stdout] --> Source/Fn/Summary/Insert.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | Fn(&summary, difference, message); [INFO] [stdout] | ^^ not a function, tuple struct or tuple variant [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions instead [INFO] [stdout] | [INFO] [stdout] 18 + use Library::Fn::Binary::Command::Entry::Fn; [INFO] [stdout] | [INFO] [stdout] 18 + use Library::Fn::Binary::Command::Fn; [INFO] [stdout] | [INFO] [stdout] 18 + use Library::Fn::Binary::Command::Parallel::Fn; [INFO] [stdout] | [INFO] [stdout] 18 + use Library::Fn::Binary::Command::Sequential::Fn; [INFO] [stdout] | [INFO] [stdout] = and 6 other candidates [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0423, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0423`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- Source/Fn/Summary/Insert/Hash.rs - Fn::Summary::Insert::Hash::Fn (line 18) stdout ---- [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found trait `Fn` [INFO] [stdout] --> Source/Fn/Summary/Insert/Hash.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | let hash = Fn(&value); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use `:` for type annotation [INFO] [stdout] | [INFO] [stdout] 25 - let hash = Fn(&value); [INFO] [stdout] 25 + let hash: Fn(&value); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions instead [INFO] [stdout] | [INFO] [stdout] 18 + use Library::Fn::Binary::Command::Entry::Fn; [INFO] [stdout] | [INFO] [stdout] 18 + use Library::Fn::Binary::Command::Fn; [INFO] [stdout] | [INFO] [stdout] 18 + use Library::Fn::Binary::Command::Parallel::Fn; [INFO] [stdout] | [INFO] [stdout] 18 + use Library::Fn::Binary::Command::Sequential::Fn; [INFO] [stdout] | [INFO] [stdout] = and 6 other candidates [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0423`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- Source/Fn/Binary/Command/Entry.rs - Fn::Binary::Command::Entry::Fn (line 26) stdout ---- [INFO] [stdout] error[E0574]: expected struct, variant or union type, found enum `Option` [INFO] [stdout] --> Source/Fn/Binary/Command/Entry.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | let options = Option { [INFO] [stdout] | ^^^^^^ not a struct, variant or union type [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found trait `Fn` [INFO] [stdout] --> Source/Fn/Binary/Command/Entry.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | let paths = Fn(&options); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use `:` for type annotation [INFO] [stdout] | [INFO] [stdout] 33 - let paths = Fn(&options); [INFO] [stdout] 33 + let paths: Fn(&options); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions instead [INFO] [stdout] | [INFO] [stdout] 26 + use Library::Fn::Binary::Command::Entry::Fn; [INFO] [stdout] | [INFO] [stdout] 26 + use Library::Fn::Binary::Command::Fn; [INFO] [stdout] | [INFO] [stdout] 26 + use Library::Fn::Binary::Command::Parallel::Fn; [INFO] [stdout] | [INFO] [stdout] 26 + use Library::Fn::Binary::Command::Sequential::Fn; [INFO] [stdout] | [INFO] [stdout] = and 6 other candidates [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0423, E0574. [INFO] [stdout] For more information about an error, try `rustc --explain E0423`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- Source/Fn/Binary/Command/Sequential.rs - Fn::Binary::Command::Sequential::Fn (line 22) stdout ---- [INFO] [stdout] error[E0574]: expected struct, variant or union type, found enum `Option` [INFO] [stdout] --> Source/Fn/Binary/Command/Sequential.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | let options = Option { [INFO] [stdout] | ^^^^^^ not a struct, variant or union type [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found trait `Fn` [INFO] [stdout] --> Source/Fn/Binary/Command/Sequential.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | Fn(options).await; [INFO] [stdout] | ^^ not a function, tuple struct or tuple variant [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions instead [INFO] [stdout] | [INFO] [stdout] 22 + use Library::Fn::Binary::Command::Entry::Fn; [INFO] [stdout] | [INFO] [stdout] 22 + use Library::Fn::Binary::Command::Fn; [INFO] [stdout] | [INFO] [stdout] 22 + use Library::Fn::Binary::Command::Parallel::Fn; [INFO] [stdout] | [INFO] [stdout] 22 + use Library::Fn::Binary::Command::Sequential::Fn; [INFO] [stdout] | [INFO] [stdout] = and 6 other candidates [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> Source/Fn/Binary/Command/Sequential.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 22 | fn main() { #[allow(non_snake_case)] fn _doctest_main_Source_Fn_Binary_Command_Sequential_rs_22_0() { [INFO] [stdout] | -------------------------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 29 | Fn(options).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0423, E0574, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0423`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- Source/Fn/Summary/First.rs - Fn::Summary::First::Fn (line 25) stdout ---- [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found trait `Fn` [INFO] [stdout] --> Source/Fn/Summary/First.rs:27:24 [INFO] [stdout] | [INFO] [stdout] 27 | let first_commit_oid = Fn(&repo).expect("Cannot retrieve first commit."); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use `:` for type annotation [INFO] [stdout] | [INFO] [stdout] 27 - let first_commit_oid = Fn(&repo).expect("Cannot retrieve first commit."); [INFO] [stdout] 27 + let first_commit_oid: Fn(&repo).expect("Cannot retrieve first commit."); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions instead [INFO] [stdout] | [INFO] [stdout] 25 + use Library::Fn::Binary::Command::Entry::Fn; [INFO] [stdout] | [INFO] [stdout] 25 + use Library::Fn::Binary::Command::Fn; [INFO] [stdout] | [INFO] [stdout] 25 + use Library::Fn::Binary::Command::Parallel::Fn; [INFO] [stdout] | [INFO] [stdout] 25 + use Library::Fn::Binary::Command::Sequential::Fn; [INFO] [stdout] | [INFO] [stdout] = and 6 other candidates [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0423`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- Source/Fn/Summary/Group.rs - Fn::Summary::Group::Fn (line 24) stdout ---- [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found trait `Fn` [INFO] [stdout] --> Source/Fn/Summary/Group.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | Fn(summaries); [INFO] [stdout] | ^^ not a function, tuple struct or tuple variant [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions instead [INFO] [stdout] | [INFO] [stdout] 24 + use Library::Fn::Binary::Command::Entry::Fn; [INFO] [stdout] | [INFO] [stdout] 24 + use Library::Fn::Binary::Command::Fn; [INFO] [stdout] | [INFO] [stdout] 24 + use Library::Fn::Binary::Command::Parallel::Fn; [INFO] [stdout] | [INFO] [stdout] 24 + use Library::Fn::Binary::Command::Sequential::Fn; [INFO] [stdout] | [INFO] [stdout] = and 6 other candidates [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0423`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- Source/Fn/Summary/Difference.rs - Fn::Summary::Difference::Fn (line 28) stdout ---- [INFO] [stdout] error[E0433]: cannot find `Struct` in `crate` [INFO] [stdout] --> Source/Fn/Summary/Difference.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | crate::Struct::Summary::Difference::Struct { Omit:vec!["(?i)\\.log$".to_string()] }; [INFO] [stdout] | ^^^^^^ unresolved import [INFO] [stdout] | [INFO] [stdout] help: a similar path exists [INFO] [stdout] | [INFO] [stdout] 33 | crate::Library::Struct::Summary::Difference::Struct { Omit:vec!["(?i)\\.log$".to_string()] }; [INFO] [stdout] | +++++++++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 28 + use std::collections::btree_set::Difference; [INFO] [stdout] | [INFO] [stdout] 28 + use std::collections::hash_set::Difference; [INFO] [stdout] | [INFO] [stdout] help: if you import `Difference`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 33 - crate::Struct::Summary::Difference::Struct { Omit:vec!["(?i)\\.log$".to_string()] }; [INFO] [stdout] 33 + Difference::Struct { Omit:vec!["(?i)\\.log$".to_string()] }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found trait `Fn` [INFO] [stdout] --> Source/Fn/Summary/Difference.rs:35:2 [INFO] [stdout] | [INFO] [stdout] 35 | Fn(&repo, start_commit, end_commit, &options).expect("Cannot generate diff."); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use `:` for type annotation [INFO] [stdout] | [INFO] [stdout] 34 - let diff_summary = [INFO] [stdout] 35 - Fn(&repo, start_commit, end_commit, &options).expect("Cannot generate diff."); [INFO] [stdout] 34 + let diff_summary: Fn(&repo, start_commit, end_commit, &options).expect("Cannot generate diff."); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions instead [INFO] [stdout] | [INFO] [stdout] 28 + use Library::Fn::Binary::Command::Entry::Fn; [INFO] [stdout] | [INFO] [stdout] 28 + use Library::Fn::Binary::Command::Fn; [INFO] [stdout] | [INFO] [stdout] 28 + use Library::Fn::Binary::Command::Parallel::Fn; [INFO] [stdout] | [INFO] [stdout] 28 + use Library::Fn::Binary::Command::Sequential::Fn; [INFO] [stdout] | [INFO] [stdout] = and 6 other candidates [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0423, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0423`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- Source/Struct/Summary/Difference.rs - Struct::Summary::Difference::Struct (line 11) stdout ---- [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Struct` in this scope [INFO] [stdout] --> Source/Struct/Summary/Difference.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | let omit_patterns = Struct { Omit:vec!["pattern1".to_string(), "pattern2".to_string()] }; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 11 + use std::mem::type_info::Struct; [INFO] [stdout] | [INFO] [stdout] 11 + use std::mem::type_info::TypeKind::Struct; [INFO] [stdout] | [INFO] [stdout] 11 + use Library::Struct::Binary::Command::Entry::Struct; [INFO] [stdout] | [INFO] [stdout] 11 + use Library::Struct::Binary::Command::Option::Struct; [INFO] [stdout] | [INFO] [stdout] = and 2 other candidates [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- Source/Fn/Summary.rs - Fn::Summary::Fn (line 30) stdout ---- [INFO] [stdout] error[E0433]: cannot find `Struct` in `crate` [INFO] [stdout] --> Source/Fn/Summary.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | crate::Struct::Summary::Difference::Struct { Omit:vec!["(?i)\\.log$".to_string()] }; [INFO] [stdout] | ^^^^^^ unresolved import [INFO] [stdout] | [INFO] [stdout] help: a similar path exists [INFO] [stdout] | [INFO] [stdout] 32 | crate::Library::Struct::Summary::Difference::Struct { Omit:vec!["(?i)\\.log$".to_string()] }; [INFO] [stdout] | +++++++++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 30 + use std::collections::btree_set::Difference; [INFO] [stdout] | [INFO] [stdout] 30 + use std::collections::hash_set::Difference; [INFO] [stdout] | [INFO] [stdout] help: if you import `Difference`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 32 - crate::Struct::Summary::Difference::Struct { Omit:vec!["(?i)\\.log$".to_string()] }; [INFO] [stdout] 32 + Difference::Struct { Omit:vec!["(?i)\\.log$".to_string()] }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found trait `Fn` [INFO] [stdout] --> Source/Fn/Summary.rs:33:15 [INFO] [stdout] | [INFO] [stdout] 33 | let summary = Fn("/path/to/repo", &options).await.expect("Cannot generate summary."); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use `:` for type annotation [INFO] [stdout] | [INFO] [stdout] 33 - let summary = Fn("/path/to/repo", &options).await.expect("Cannot generate summary."); [INFO] [stdout] 33 + let summary: Fn("/path/to/repo", &options).await.expect("Cannot generate summary."); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions instead [INFO] [stdout] | [INFO] [stdout] 30 + use Library::Fn::Binary::Command::Entry::Fn; [INFO] [stdout] | [INFO] [stdout] 30 + use Library::Fn::Binary::Command::Fn; [INFO] [stdout] | [INFO] [stdout] 30 + use Library::Fn::Binary::Command::Parallel::Fn; [INFO] [stdout] | [INFO] [stdout] 30 + use Library::Fn::Binary::Command::Sequential::Fn; [INFO] [stdout] | [INFO] [stdout] = and 6 other candidates [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> Source/Fn/Summary.rs:33:45 [INFO] [stdout] | [INFO] [stdout] 30 | fn main() { #[allow(non_snake_case)] fn _doctest_main_Source_Fn_Summary_rs_30_0() { [INFO] [stdout] | -------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 33 | let summary = Fn("/path/to/repo", &options).await.expect("Cannot generate summary."); [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0423, E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0423`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- Source/Fn/Binary/Command/Parallel.rs - Fn::Binary::Command::Parallel::Fn (line 22) stdout ---- [INFO] [stdout] error[E0574]: expected struct, variant or union type, found enum `Option` [INFO] [stdout] --> Source/Fn/Binary/Command/Parallel.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | let options = Option { [INFO] [stdout] | ^^^^^^ not a struct, variant or union type [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found trait `Fn` [INFO] [stdout] --> Source/Fn/Binary/Command/Parallel.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | Fn(options).await; [INFO] [stdout] | ^^ not a function, tuple struct or tuple variant [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions instead [INFO] [stdout] | [INFO] [stdout] 22 + use Library::Fn::Binary::Command::Entry::Fn; [INFO] [stdout] | [INFO] [stdout] 22 + use Library::Fn::Binary::Command::Fn; [INFO] [stdout] | [INFO] [stdout] 22 + use Library::Fn::Binary::Command::Parallel::Fn; [INFO] [stdout] | [INFO] [stdout] 22 + use Library::Fn::Binary::Command::Sequential::Fn; [INFO] [stdout] | [INFO] [stdout] = and 6 other candidates [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> Source/Fn/Binary/Command/Parallel.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 22 | fn main() { #[allow(non_snake_case)] fn _doctest_main_Source_Fn_Binary_Command_Parallel_rs_22_0() { [INFO] [stdout] | ------------------------------------------------------------ this is not `async` [INFO] [stdout] ... [INFO] [stdout] 29 | Fn(options).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0423, E0574, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0423`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- Source/Library.rs - main (line 18) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `Struct` in this scope [INFO] [stdout] --> Source/Library.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | async fn main() { (Struct::Binary::Command::Struct::Fn().Fn)().await } [INFO] [stdout] | ^^^^^^ use of undeclared type `Struct` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 19 + use std::mem::type_info::Struct; [INFO] [stdout] | [INFO] [stdout] 19 + use Library::Struct::Binary::Command::Entry::Struct; [INFO] [stdout] | [INFO] [stdout] 19 + use Library::Struct::Binary::Command::Option::Struct; [INFO] [stdout] | [INFO] [stdout] 19 + use Library::Struct::Binary::Command::Struct; [INFO] [stdout] | [INFO] [stdout] = and 1 other candidate [INFO] [stdout] help: if you import `Struct`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 20 - async fn main() { (Struct::Binary::Command::Struct::Fn().Fn)().await } [INFO] [stdout] 20 + async fn main() { (Struct::Fn().Fn)().await } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- Source/Fn/Binary/Command.rs - Fn::Binary::Command::Fn (line 31) stdout ---- [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found trait `Fn` [INFO] [stdout] --> Source/Fn/Binary/Command.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 32 | let matches = Fn(); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use `:` for type annotation [INFO] [stdout] | [INFO] [stdout] 32 - let matches = Fn(); [INFO] [stdout] 32 + let matches: Fn(); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions instead [INFO] [stdout] | [INFO] [stdout] 31 + use Library::Fn::Binary::Command::Entry::Fn; [INFO] [stdout] | [INFO] [stdout] 31 + use Library::Fn::Binary::Command::Fn; [INFO] [stdout] | [INFO] [stdout] 31 + use Library::Fn::Binary::Command::Parallel::Fn; [INFO] [stdout] | [INFO] [stdout] 31 + use Library::Fn::Binary::Command::Sequential::Fn; [INFO] [stdout] | [INFO] [stdout] = and 6 other candidates [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0423`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] Source/Fn/Binary/Command.rs - Fn::Binary::Command::Fn (line 31) [INFO] [stdout] Source/Fn/Binary/Command/Entry.rs - Fn::Binary::Command::Entry::Fn (line 26) [INFO] [stdout] Source/Fn/Binary/Command/Parallel.rs - Fn::Binary::Command::Parallel::Fn (line 22) [INFO] [stdout] Source/Fn/Binary/Command/Sequential.rs - Fn::Binary::Command::Sequential::Fn (line 22) [INFO] [stdout] Source/Fn/Summary.rs - Fn::Summary::Fn (line 30) [INFO] [stdout] Source/Fn/Summary/Difference.rs - Fn::Summary::Difference::Fn (line 28) [INFO] [stdout] Source/Fn/Summary/First.rs - Fn::Summary::First::Fn (line 25) [INFO] [stdout] Source/Fn/Summary/Group.rs - Fn::Summary::Group::Fn (line 24) [INFO] [stdout] Source/Fn/Summary/Insert.rs - Fn::Summary::Insert::Fn (line 18) [INFO] [stdout] Source/Fn/Summary/Insert/Hash.rs - Fn::Summary::Insert::Hash::Fn (line 18) [INFO] [stdout] Source/Library.rs - main (line 18) [INFO] [stdout] Source/Struct/Summary/Difference.rs - Struct::Summary::Difference::Struct (line 11) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 12 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.71s [INFO] [stdout] [INFO] [stdout] all doctests ran in 1.03s; merged doctests compilation took 0.31s [INFO] running `Command { std: "docker" "inspect" "9b6137795e5ff9d307d5292a16d12b2587571241f6b44480f9e8a46086c6f5ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b6137795e5ff9d307d5292a16d12b2587571241f6b44480f9e8a46086c6f5ae", kill_on_drop: false }` [INFO] [stdout] 9b6137795e5ff9d307d5292a16d12b2587571241f6b44480f9e8a46086c6f5ae