[INFO] fetching crate verdyce 0.1.1... [INFO] testing verdyce-0.1.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate verdyce 0.1.1 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate verdyce 0.1.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate verdyce 0.1.1 [INFO] tweaked toml for crates.io crate verdyce 0.1.1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate verdyce 0.1.1 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 verdyce 0.1.1 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 04607d55f01d8e4b5d0f4c3b1f482486564d40e14fe2f5e27672916fe165ff4f [INFO] running `Command { std: "docker" "start" "-a" "04607d55f01d8e4b5d0f4c3b1f482486564d40e14fe2f5e27672916fe165ff4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "04607d55f01d8e4b5d0f4c3b1f482486564d40e14fe2f5e27672916fe165ff4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04607d55f01d8e4b5d0f4c3b1f482486564d40e14fe2f5e27672916fe165ff4f", kill_on_drop: false }` [INFO] [stdout] 04607d55f01d8e4b5d0f4c3b1f482486564d40e14fe2f5e27672916fe165ff4f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 1308f9694364bdddc8ab027397d1ae474d35d9ab77a7aba47afe1be7b0c9aecf [INFO] running `Command { std: "docker" "start" "-a" "1308f9694364bdddc8ab027397d1ae474d35d9ab77a7aba47afe1be7b0c9aecf", kill_on_drop: false }` [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling verdyce v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.98s [INFO] running `Command { std: "docker" "inspect" "1308f9694364bdddc8ab027397d1ae474d35d9ab77a7aba47afe1be7b0c9aecf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1308f9694364bdddc8ab027397d1ae474d35d9ab77a7aba47afe1be7b0c9aecf", kill_on_drop: false }` [INFO] [stdout] 1308f9694364bdddc8ab027397d1ae474d35d9ab77a7aba47afe1be7b0c9aecf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] c2902e1f543e5614e141bba474df27469363dd4223a6207eabeb1b498432c4b3 [INFO] running `Command { std: "docker" "start" "-a" "c2902e1f543e5614e141bba474df27469363dd4223a6207eabeb1b498432c4b3", kill_on_drop: false }` [INFO] [stderr] Compiling verdyce v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `verdyce_core` [INFO] [stdout] --> tests/window_test.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use verdyce_core::window::{VotingWindow, WindowState}; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `verdyce_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `verdyce_core`, use `cargo add verdyce_core` 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 `verdyce_core` [INFO] [stdout] --> tests/vote_test.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use verdyce_core::decay::DecayModel; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `verdyce_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `verdyce_core`, use `cargo add verdyce_core` 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 `verdyce_core` [INFO] [stdout] --> tests/vote_test.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use verdyce_core::models::vote::{Vote, VoteChoice, calculate_vote_weight}; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `verdyce_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `verdyce_core`, use `cargo add verdyce_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `verdyce` (test "vote_test") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `verdyce_core` [INFO] [stdout] --> tests/proposal_test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use verdyce_core::decay::DecayModel; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `verdyce_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `verdyce_core`, use `cargo add verdyce_core` 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 `verdyce_core` [INFO] [stdout] --> tests/proposal_test.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use verdyce_core::models::proposal::*; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `verdyce_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `verdyce_core`, use `cargo add verdyce_core` 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 `verdyce_core` [INFO] [stdout] --> tests/proposal_test.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use verdyce_core::models::vote::*; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `verdyce_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `verdyce_core`, use `cargo add verdyce_core` 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 `verdyce_core` [INFO] [stdout] --> tests/proposal_test.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use verdyce_core::threshold::ThresholdModel; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `verdyce_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `verdyce_core`, use `cargo add verdyce_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `verdyce_core::decay::DecayModel`, `verdyce_core::models::proposal::*`, `verdyce_core::models::vote::*`, `verdyce_core::threshold::ThresholdModel` [INFO] [stdout] --> tests/proposal_test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use verdyce_core::decay::DecayModel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 2 | use verdyce_core::models::proposal::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | use verdyce_core::models::vote::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | use verdyce_core::threshold::ThresholdModel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `verdyce` (test "window_test") due to 1 previous error [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `verdyce_core` [INFO] [stdout] --> tests/threshold_test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use verdyce_core::threshold::{ThresholdModel, threshold_calc}; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `verdyce_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `verdyce_core`, use `cargo add verdyce_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `verdyce` (test "threshold_test") due to 1 previous error [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `verdyce_core` [INFO] [stdout] --> tests/engine_test.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use verdyce_core::decay::DecayModel; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `verdyce_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `verdyce_core`, use `cargo add verdyce_core` 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 `verdyce_core` [INFO] [stdout] --> tests/engine_test.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use verdyce_core::engine::Engine; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `verdyce_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `verdyce_core`, use `cargo add verdyce_core` 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 `verdyce_core` [INFO] [stdout] --> tests/engine_test.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use verdyce_core::models::{ [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `verdyce_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `verdyce_core`, use `cargo add verdyce_core` 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 `verdyce_core` [INFO] [stdout] --> tests/engine_test.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use verdyce_core::threshold::ThresholdModel; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `verdyce_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `verdyce_core`, use `cargo add verdyce_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VoteChoice` in this scope [INFO] [stdout] --> tests/proposal_test.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | fn dummy_vote(choice: VoteChoice, timestamp_offset_secs: i64, revision: u64) -> Vote { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use verdyce::models::vote::VoteChoice; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vote` in this scope [INFO] [stdout] --> tests/proposal_test.rs:9:81 [INFO] [stdout] | [INFO] [stdout] 9 | fn dummy_vote(choice: VoteChoice, timestamp_offset_secs: i64, revision: u64) -> Vote { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use verdyce::models::vote::Vote; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Vote` in this scope [INFO] [stdout] --> tests/proposal_test.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | Vote { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use verdyce::models::vote::Vote; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Proposal` [INFO] [stdout] --> tests/proposal_test.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | let mut proposal = Proposal::new( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Proposal` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use verdyce::models::proposal::Proposal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VoteChoice` [INFO] [stdout] --> tests/proposal_test.rs:31:34 [INFO] [stdout] | [INFO] [stdout] 31 | proposal.add_vote(dummy_vote(VoteChoice::Yes, 0, 0)); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `VoteChoice` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use verdyce::models::vote::VoteChoice; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VoteChoice` [INFO] [stdout] --> tests/proposal_test.rs:32:34 [INFO] [stdout] | [INFO] [stdout] 32 | proposal.add_vote(dummy_vote(VoteChoice::Yes, 0, 0)); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `VoteChoice` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use verdyce::models::vote::VoteChoice; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VoteChoice` [INFO] [stdout] --> tests/proposal_test.rs:33:34 [INFO] [stdout] | [INFO] [stdout] 33 | proposal.add_vote(dummy_vote(VoteChoice::No, 0, 0)); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `VoteChoice` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use verdyce::models::vote::VoteChoice; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ProposalStatus` [INFO] [stdout] --> tests/proposal_test.rs:37:33 [INFO] [stdout] | [INFO] [stdout] 37 | assert_eq!(proposal.status, ProposalStatus::Accepted); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `ProposalStatus` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use verdyce::models::proposal::ProposalStatus; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Proposal` [INFO] [stdout] --> tests/proposal_test.rs:44:24 [INFO] [stdout] | [INFO] [stdout] 44 | let mut proposal = Proposal::new( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Proposal` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use verdyce::models::proposal::Proposal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VoteChoice` [INFO] [stdout] --> tests/proposal_test.rs:54:34 [INFO] [stdout] | [INFO] [stdout] 54 | proposal.add_vote(dummy_vote(VoteChoice::Yes, 0, 0)); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `VoteChoice` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use verdyce::models::vote::VoteChoice; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VoteChoice` [INFO] [stdout] --> tests/proposal_test.rs:55:34 [INFO] [stdout] | [INFO] [stdout] 55 | proposal.add_vote(dummy_vote(VoteChoice::No, 0, 0)); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `VoteChoice` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use verdyce::models::vote::VoteChoice; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ProposalStatus` [INFO] [stdout] --> tests/proposal_test.rs:59:33 [INFO] [stdout] | [INFO] [stdout] 59 | assert_eq!(proposal.status, ProposalStatus::Expired); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `ProposalStatus` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use verdyce::models::proposal::ProposalStatus; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Proposal` [INFO] [stdout] --> tests/proposal_test.rs:66:24 [INFO] [stdout] | [INFO] [stdout] 66 | let mut proposal = Proposal::new( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Proposal` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use verdyce::models::proposal::Proposal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VoteChoice` [INFO] [stdout] --> tests/proposal_test.rs:74:34 [INFO] [stdout] | [INFO] [stdout] 74 | proposal.add_vote(dummy_vote(VoteChoice::Yes, 0, 0)); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `VoteChoice` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use verdyce::models::vote::VoteChoice; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VoteChoice` [INFO] [stdout] --> tests/proposal_test.rs:75:34 [INFO] [stdout] | [INFO] [stdout] 75 | proposal.add_vote(dummy_vote(VoteChoice::No, 0, 0)); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `VoteChoice` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use verdyce::models::vote::VoteChoice; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ProposalStatus` [INFO] [stdout] --> tests/proposal_test.rs:79:33 [INFO] [stdout] | [INFO] [stdout] 79 | assert_eq!(proposal.status, ProposalStatus::Pending); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `ProposalStatus` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use verdyce::models::proposal::ProposalStatus; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Proposal` [INFO] [stdout] --> tests/proposal_test.rs:84:24 [INFO] [stdout] | [INFO] [stdout] 84 | let mut proposal = Proposal::new( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Proposal` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use verdyce::models::proposal::Proposal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `verdyce_core` [INFO] [stdout] --> tests/decay_test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use verdyce_core::decay::{DecayModel, weight_calc}; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `verdyce_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `verdyce_core`, use `cargo add verdyce_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Vote` in this scope [INFO] [stdout] --> tests/proposal_test.rs:93:23 [INFO] [stdout] | [INFO] [stdout] 93 | proposal.add_vote(Vote { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use verdyce::models::vote::Vote; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VoteChoice` [INFO] [stdout] --> tests/proposal_test.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | choice: VoteChoice::Yes, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `VoteChoice` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use verdyce::models::vote::VoteChoice; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `verdyce` (test "engine_test") due to 4 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `verdyce` (test "proposal_test") due to 24 previous errors [INFO] [stderr] error: could not compile `verdyce` (test "decay_test") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "c2902e1f543e5614e141bba474df27469363dd4223a6207eabeb1b498432c4b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2902e1f543e5614e141bba474df27469363dd4223a6207eabeb1b498432c4b3", kill_on_drop: false }` [INFO] [stdout] c2902e1f543e5614e141bba474df27469363dd4223a6207eabeb1b498432c4b3