[INFO] fetching crate psummary 0.1.4... [INFO] testing psummary-0.1.4 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate psummary 0.1.4 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate psummary 0.1.4 [INFO] finished tweaking crates.io crate psummary 0.1.4 [INFO] tweaked toml for crates.io crate psummary 0.1.4 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate psummary 0.1.4 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate psummary 0.1.4 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: file `/workspace/builds/worker-1-tc1/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-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6b2db2ed8c36755b0b8e22e8052fe805116a60eae0959a4e546c7ca20a010a46 [INFO] running `Command { std: "docker" "start" "-a" "6b2db2ed8c36755b0b8e22e8052fe805116a60eae0959a4e546c7ca20a010a46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6b2db2ed8c36755b0b8e22e8052fe805116a60eae0959a4e546c7ca20a010a46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b2db2ed8c36755b0b8e22e8052fe805116a60eae0959a4e546c7ca20a010a46", kill_on_drop: false }` [INFO] [stdout] 6b2db2ed8c36755b0b8e22e8052fe805116a60eae0959a4e546c7ca20a010a46 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 40d36c79ddb44f56f6241f43650d9a0f55f053e0b04d8de076eecfbb7506b4de [INFO] running `Command { std: "docker" "start" "-a" "40d36c79ddb44f56f6241f43650d9a0f55f053e0b04d8de076eecfbb7506b4de", 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 unicode-ident v1.0.12 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling winnow v0.6.18 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling clap_lex v0.7.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling indexmap v2.3.0 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling mio v1.0.1 [INFO] [stderr] Compiling clap_builder v4.5.13 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling bytes v1.7.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling cc v1.1.7 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling dashmap v6.0.1 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling libz-sys v1.1.18 [INFO] [stderr] Compiling libssh2-sys v0.3.0 [INFO] [stderr] Compiling libgit2-sys v0.17.0+1.8.1 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling tokio v1.39.2 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling clap v4.5.13 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling git2 v0.19.0 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_spanned v0.6.7 [INFO] [stderr] Compiling toml_edit v0.22.20 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling psummary v0.1.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 36.50s [INFO] running `Command { std: "docker" "inspect" "40d36c79ddb44f56f6241f43650d9a0f55f053e0b04d8de076eecfbb7506b4de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40d36c79ddb44f56f6241f43650d9a0f55f053e0b04d8de076eecfbb7506b4de", kill_on_drop: false }` [INFO] [stdout] 40d36c79ddb44f56f6241f43650d9a0f55f053e0b04d8de076eecfbb7506b4de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 66e9a9c24e5a10f06841d2c9ce257f67155a7f1baeefecfac0b560076c5d4763 [INFO] running `Command { std: "docker" "start" "-a" "66e9a9c24e5a10f06841d2c9ce257f67155a7f1baeefecfac0b560076c5d4763", 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.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.52s [INFO] running `Command { std: "docker" "inspect" "66e9a9c24e5a10f06841d2c9ce257f67155a7f1baeefecfac0b560076c5d4763", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66e9a9c24e5a10f06841d2c9ce257f67155a7f1baeefecfac0b560076c5d4763", kill_on_drop: false }` [INFO] [stdout] 66e9a9c24e5a10f06841d2c9ce257f67155a7f1baeefecfac0b560076c5d4763 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c594cb64897296e47fca7297c6c32396398ac4841352e11dd510c39450892235 [INFO] running `Command { std: "docker" "start" "-a" "c594cb64897296e47fca7297c6c32396398ac4841352e11dd510c39450892235", 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-0269fcaedabcd242) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stderr] Running unittests Source/Library.rs (/opt/rustwide/target/debug/deps/PSummary-2d91c51f2f69f394) [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 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] [stderr] Running unittests Source/Library.rs (/opt/rustwide/target/debug/deps/Summary-f4ab7557a5b86254) [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] [stderr] Doc-tests Library [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test Source/Fn/Summary/Difference.rs - Fn::Summary::Difference::Fn (line 26) ... FAILED [INFO] [stdout] test Source/Fn/Summary/First.rs - Fn::Summary::First::Fn (line 22) ... FAILED [INFO] [stdout] test Source/Fn/Summary/Insert/Hash.rs - Fn::Summary::Insert::Hash::Fn (line 16) ... FAILED [INFO] [stdout] test Source/Fn/Binary/Command/Entry.rs - Fn::Binary::Command::Entry::Fn (line 23) ... FAILED [INFO] [stdout] test Source/Fn/Binary/Command/Parallel.rs - Fn::Binary::Command::Parallel::Fn (line 18) ... FAILED [INFO] [stdout] test Source/Fn/Binary/Command.rs - Fn::Binary::Command::Fn (line 25) ... FAILED [INFO] [stdout] test Source/Struct/Summary/Difference.rs - Struct::Summary::Difference::Struct (line 11) ... FAILED [INFO] [stdout] test Source/Library.rs - main (line 17) ... FAILED [INFO] [stdout] test Source/Fn/Summary/Group.rs - Fn::Summary::Group::Fn (line 21) ... FAILED [INFO] [stdout] test Source/Fn/Summary/Insert.rs - Fn::Summary::Insert::Fn (line 15) ... FAILED [INFO] [stdout] test Source/Fn/Summary.rs - Fn::Summary::Fn (line 25) ... FAILED [INFO] [stdout] test Source/Fn/Binary/Command/Sequential.rs - Fn::Binary::Command::Sequential::Fn (line 18) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- Source/Fn/Summary/Difference.rs - Fn::Summary::Difference::Fn (line 26) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: unresolved import [INFO] [stdout] --> Source/Fn/Summary/Difference.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 6 | let options = crate::Struct::Summary::Difference::Struct { [INFO] [stdout] | ^^^^^^ unresolved import [INFO] [stdout] | [INFO] [stdout] help: a similar path exists [INFO] [stdout] | [INFO] [stdout] 6 | let options = crate::Library::Struct::Summary::Difference::Struct { [INFO] [stdout] | +++++++++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use std::collections::btree_set::Difference; [INFO] [stdout] | [INFO] [stdout] 2 + use std::collections::hash_set::Difference; [INFO] [stdout] | [INFO] [stdout] help: if you import `Difference`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 6 - let options = crate::Struct::Summary::Difference::Struct { [INFO] [stdout] 6 + let options = Difference::Struct { [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:33:20 [INFO] [stdout] | [INFO] [stdout] 9 | let diff_summary = 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] 9 - let diff_summary = Fn(&repo, start_commit, end_commit, &options).expect("Cannot generate diff."); [INFO] [stdout] 9 + 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] 2 + use Library::Fn::Binary::Command::Entry::Fn; [INFO] [stdout] | [INFO] [stdout] 2 + use Library::Fn::Binary::Command::Fn; [INFO] [stdout] | [INFO] [stdout] 2 + use Library::Fn::Binary::Command::Parallel::Fn; [INFO] [stdout] | [INFO] [stdout] 2 + 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/First.rs - Fn::Summary::First::Fn (line 22) stdout ---- [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found trait `Fn` [INFO] [stdout] --> Source/Fn/Summary/First.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 4 | 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] 4 - let first_commit_oid = Fn(&repo).expect("Cannot retrieve first commit."); [INFO] [stdout] 4 + 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] 2 + use Library::Fn::Binary::Command::Entry::Fn; [INFO] [stdout] | [INFO] [stdout] 2 + use Library::Fn::Binary::Command::Fn; [INFO] [stdout] | [INFO] [stdout] 2 + use Library::Fn::Binary::Command::Parallel::Fn; [INFO] [stdout] | [INFO] [stdout] 2 + 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/Insert/Hash.rs - Fn::Summary::Insert::Hash::Fn (line 16) stdout ---- [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found trait `Fn` [INFO] [stdout] --> Source/Fn/Summary/Insert/Hash.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 7 | let hash = Fn(&value); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use `:` for type annotation [INFO] [stdout] | [INFO] [stdout] 7 - let hash = Fn(&value); [INFO] [stdout] 7 + let hash: Fn(&value); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions instead [INFO] [stdout] | [INFO] [stdout] 2 + use Library::Fn::Binary::Command::Entry::Fn; [INFO] [stdout] | [INFO] [stdout] 2 + use Library::Fn::Binary::Command::Fn; [INFO] [stdout] | [INFO] [stdout] 2 + use Library::Fn::Binary::Command::Parallel::Fn; [INFO] [stdout] | [INFO] [stdout] 2 + 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 23) stdout ---- [INFO] [stdout] error[E0574]: expected struct, variant or union type, found enum `Option` [INFO] [stdout] --> Source/Fn/Binary/Command/Entry.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 3 | 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:30:13 [INFO] [stdout] | [INFO] [stdout] 9 | let paths = Fn(&options); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use `:` for type annotation [INFO] [stdout] | [INFO] [stdout] 9 - let paths = Fn(&options); [INFO] [stdout] 9 + let paths: Fn(&options); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions instead [INFO] [stdout] | [INFO] [stdout] 2 + use Library::Fn::Binary::Command::Entry::Fn; [INFO] [stdout] | [INFO] [stdout] 2 + use Library::Fn::Binary::Command::Fn; [INFO] [stdout] | [INFO] [stdout] 2 + use Library::Fn::Binary::Command::Parallel::Fn; [INFO] [stdout] | [INFO] [stdout] 2 + 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/Parallel.rs - Fn::Binary::Command::Parallel::Fn (line 18) stdout ---- [INFO] [stdout] error[E0574]: expected struct, variant or union type, found enum `Option` [INFO] [stdout] --> Source/Fn/Binary/Command/Parallel.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 3 | 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:25:1 [INFO] [stdout] | [INFO] [stdout] 9 | 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] 2 + use Library::Fn::Binary::Command::Entry::Fn; [INFO] [stdout] | [INFO] [stdout] 2 + use Library::Fn::Binary::Command::Fn; [INFO] [stdout] | [INFO] [stdout] 2 + use Library::Fn::Binary::Command::Parallel::Fn; [INFO] [stdout] | [INFO] [stdout] 2 + 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:25:13 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_Source_Fn_Binary_Command_Parallel_rs_18_0() { [INFO] [stdout] | ------------------------------------------------------------ this is not `async` [INFO] [stdout] ... [INFO] [stdout] 9 | 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/Binary/Command.rs - Fn::Binary::Command::Fn (line 25) stdout ---- [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found trait `Fn` [INFO] [stdout] --> Source/Fn/Binary/Command.rs:26:15 [INFO] [stdout] | [INFO] [stdout] 3 | let matches = Fn(); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use `:` for type annotation [INFO] [stdout] | [INFO] [stdout] 3 - let matches = Fn(); [INFO] [stdout] 3 + let matches: Fn(); [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions instead [INFO] [stdout] | [INFO] [stdout] 2 + use Library::Fn::Binary::Command::Entry::Fn; [INFO] [stdout] | [INFO] [stdout] 2 + use Library::Fn::Binary::Command::Fn; [INFO] [stdout] | [INFO] [stdout] 2 + use Library::Fn::Binary::Command::Parallel::Fn; [INFO] [stdout] | [INFO] [stdout] 2 + 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/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] 3 | let omit_patterns = Struct { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use Library::Struct::Binary::Command::Entry::Struct; [INFO] [stdout] | [INFO] [stdout] 2 + use Library::Struct::Binary::Command::Option::Struct; [INFO] [stdout] | [INFO] [stdout] 2 + use Library::Struct::Binary::Command::Struct; [INFO] [stdout] | [INFO] [stdout] 2 + use Library::Struct::Summary::Difference::Struct; [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 E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- Source/Library.rs - main (line 17) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Struct` [INFO] [stdout] --> Source/Library.rs:20:6 [INFO] [stdout] | [INFO] [stdout] 4 | (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] 2 + use Library::Struct::Binary::Command::Entry::Struct; [INFO] [stdout] | [INFO] [stdout] 2 + use Library::Struct::Binary::Command::Option::Struct; [INFO] [stdout] | [INFO] [stdout] 2 + use Library::Struct::Binary::Command::Struct; [INFO] [stdout] | [INFO] [stdout] 2 + use Library::Struct::Summary::Difference::Struct; [INFO] [stdout] | [INFO] [stdout] help: if you import `Struct`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 4 - (Struct::Binary::Command::Struct::Fn().Fn)().await [INFO] [stdout] 4 + (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/Summary/Group.rs - Fn::Summary::Group::Fn (line 21) 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] 19 | 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] 2 + use Library::Fn::Binary::Command::Entry::Fn; [INFO] [stdout] | [INFO] [stdout] 2 + use Library::Fn::Binary::Command::Fn; [INFO] [stdout] | [INFO] [stdout] 2 + use Library::Fn::Binary::Command::Parallel::Fn; [INFO] [stdout] | [INFO] [stdout] 2 + 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/Insert.rs - Fn::Summary::Insert::Fn (line 15) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DashMap` [INFO] [stdout] --> Source/Fn/Summary/Insert.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 3 | let summary = DashMap::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `DashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + 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:19:1 [INFO] [stdout] | [INFO] [stdout] 6 | 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] 2 + use Library::Fn::Binary::Command::Entry::Fn; [INFO] [stdout] | [INFO] [stdout] 2 + use Library::Fn::Binary::Command::Fn; [INFO] [stdout] | [INFO] [stdout] 2 + use Library::Fn::Binary::Command::Parallel::Fn; [INFO] [stdout] | [INFO] [stdout] 2 + 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.rs - Fn::Summary::Fn (line 25) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: unresolved import [INFO] [stdout] --> Source/Fn/Summary.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 3 | let options = crate::Struct::Summary::Difference::Struct { [INFO] [stdout] | ^^^^^^ unresolved import [INFO] [stdout] | [INFO] [stdout] help: a similar path exists [INFO] [stdout] | [INFO] [stdout] 3 | let options = crate::Library::Struct::Summary::Difference::Struct { [INFO] [stdout] | +++++++++ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use std::collections::btree_set::Difference; [INFO] [stdout] | [INFO] [stdout] 2 + use std::collections::hash_set::Difference; [INFO] [stdout] | [INFO] [stdout] help: if you import `Difference`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3 - let options = crate::Struct::Summary::Difference::Struct { [INFO] [stdout] 3 + let options = Difference::Struct { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found trait `Fn` [INFO] [stdout] --> Source/Fn/Summary.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 6 | 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] 6 - let summary = Fn("/path/to/repo", &options).await.expect("Cannot generate summary."); [INFO] [stdout] 6 + 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] 2 + use Library::Fn::Binary::Command::Entry::Fn; [INFO] [stdout] | [INFO] [stdout] 2 + use Library::Fn::Binary::Command::Fn; [INFO] [stdout] | [INFO] [stdout] 2 + use Library::Fn::Binary::Command::Parallel::Fn; [INFO] [stdout] | [INFO] [stdout] 2 + 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:29:45 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_Source_Fn_Summary_rs_25_0() { [INFO] [stdout] | -------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 6 | 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/Sequential.rs - Fn::Binary::Command::Sequential::Fn (line 18) stdout ---- [INFO] [stdout] error[E0574]: expected struct, variant or union type, found enum `Option` [INFO] [stdout] --> Source/Fn/Binary/Command/Sequential.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 3 | 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:25:1 [INFO] [stdout] | [INFO] [stdout] 9 | 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] 2 + use Library::Fn::Binary::Command::Entry::Fn; [INFO] [stdout] | [INFO] [stdout] 2 + use Library::Fn::Binary::Command::Fn; [INFO] [stdout] | [INFO] [stdout] 2 + use Library::Fn::Binary::Command::Parallel::Fn; [INFO] [stdout] | [INFO] [stdout] 2 + 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:25:13 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_Source_Fn_Binary_Command_Sequential_rs_18_0() { [INFO] [stdout] | -------------------------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 9 | 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] [INFO] [stdout] failures: [INFO] [stdout] Source/Fn/Binary/Command.rs - Fn::Binary::Command::Fn (line 25) [INFO] [stdout] Source/Fn/Binary/Command/Entry.rs - Fn::Binary::Command::Entry::Fn (line 23) [INFO] [stdout] Source/Fn/Binary/Command/Parallel.rs - Fn::Binary::Command::Parallel::Fn (line 18) [INFO] [stdout] Source/Fn/Binary/Command/Sequential.rs - Fn::Binary::Command::Sequential::Fn (line 18) [INFO] [stdout] Source/Fn/Summary.rs - Fn::Summary::Fn (line 25) [INFO] [stdout] Source/Fn/Summary/Difference.rs - Fn::Summary::Difference::Fn (line 26) [INFO] [stdout] Source/Fn/Summary/First.rs - Fn::Summary::First::Fn (line 22) [INFO] [stdout] Source/Fn/Summary/Group.rs - Fn::Summary::Group::Fn (line 21) [INFO] [stdout] Source/Fn/Summary/Insert.rs - Fn::Summary::Insert::Fn (line 15) [INFO] [stdout] Source/Fn/Summary/Insert/Hash.rs - Fn::Summary::Insert::Hash::Fn (line 16) [INFO] [stdout] Source/Library.rs - main (line 17) [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.41s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "c594cb64897296e47fca7297c6c32396398ac4841352e11dd510c39450892235", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c594cb64897296e47fca7297c6c32396398ac4841352e11dd510c39450892235", kill_on_drop: false }` [INFO] [stdout] c594cb64897296e47fca7297c6c32396398ac4841352e11dd510c39450892235