[INFO] cloning repository https://github.com/tafazul/ICP_Vote [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tafazul/ICP_Vote" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftafazul%2FICP_Vote", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftafazul%2FICP_Vote'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c7a5105aa163ae0803efbe183627b29a5c7443a8 [INFO] checking tafazul/ICP_Vote against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftafazul%2FICP_Vote" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tafazul/ICP_Vote on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tafazul/ICP_Vote [INFO] finished tweaking git repo https://github.com/tafazul/ICP_Vote [INFO] tweaked toml for git repo https://github.com/tafazul/ICP_Vote written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/tafazul/ICP_Vote 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 396f6592d425a3e8ff97b481460e20b68e5a4a07ba37759597e7377f861350ce [INFO] running `Command { std: "docker" "start" "-a" "396f6592d425a3e8ff97b481460e20b68e5a4a07ba37759597e7377f861350ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "396f6592d425a3e8ff97b481460e20b68e5a4a07ba37759597e7377f861350ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "396f6592d425a3e8ff97b481460e20b68e5a4a07ba37759597e7377f861350ce", kill_on_drop: false }` [INFO] [stdout] 396f6592d425a3e8ff97b481460e20b68e5a4a07ba37759597e7377f861350ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8bad786a412dd038a081063318dc157156be86837b6758eccd975cbc9981274f [INFO] running `Command { std: "docker" "start" "-a" "8bad786a412dd038a081063318dc157156be86837b6758eccd975cbc9981274f", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Checking final_project_backend v0.1.0 (/opt/rustwide/workdir/src/final_project_backend) [INFO] [stdout] error[E0412]: cannot find type `Proposal` in crate `candid` [INFO] [stdout] --> src/final_project_backend/src/lib.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 33 | voted: Vec, [INFO] [stdout] | ^^^^^^^^ not found in `candid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Proposal` in crate `candid` [INFO] [stdout] --> src/final_project_backend/src/lib.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 33 | voted: Vec, [INFO] [stdout] | ^^^^^^^^ not found in `candid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Proposal` in crate `candid` [INFO] [stdout] --> src/final_project_backend/src/lib.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 33 | voted: Vec, [INFO] [stdout] | ^^^^^^^^ not found in `candid` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::Proposal; [INFO] [stdout] | [INFO] [stdout] help: if you import `Proposal`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 33 - voted: Vec, [INFO] [stdout] 33 + voted: Vec, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Proposal` in crate `candid` [INFO] [stdout] --> src/final_project_backend/src/lib.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 33 | voted: Vec, [INFO] [stdout] | ^^^^^^^^ not found in `candid` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::Proposal; [INFO] [stdout] | [INFO] [stdout] help: if you import `Proposal`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 33 - voted: Vec, [INFO] [stdout] 33 + voted: Vec, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `value` in this scope [INFO] [stdout] --> src/final_project_backend/src/lib.rs:95:50 [INFO] [stdout] | [INFO] [stdout] 95 | Some(old_proposal) => old_proposal = value, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `value` in this scope [INFO] [stdout] --> src/final_project_backend/src/lib.rs:95:50 [INFO] [stdout] | [INFO] [stdout] 95 | Some(old_proposal) => old_proposal = value, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `value` in this scope [INFO] [stdout] --> src/final_project_backend/src/lib.rs:129:50 [INFO] [stdout] | [INFO] [stdout] 129 | Some(old_proposal) => old_proposal = value, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `value` in this scope [INFO] [stdout] --> src/final_project_backend/src/lib.rs:129:50 [INFO] [stdout] | [INFO] [stdout] 129 | Some(old_proposal) => old_proposal = value, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `value` in this scope [INFO] [stdout] --> src/final_project_backend/src/lib.rs:152:50 [INFO] [stdout] | [INFO] [stdout] 152 | Some(old_proposal) => old_proposal = value, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `value` in this scope [INFO] [stdout] --> src/final_project_backend/src/lib.rs:152:50 [INFO] [stdout] | [INFO] [stdout] 152 | Some(old_proposal) => old_proposal = value, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `borrow` of struct `RefCell` is private [INFO] [stdout] --> src/final_project_backend/src/lib.rs:92:39 [INFO] [stdout] | [INFO] [stdout] 92 | let old_proposal_optional = p.borrow.get(&key); [INFO] [stdout] | ^^^^^^ private field [INFO] [stdout] | [INFO] [stdout] help: a method `borrow` also exists, call it with parentheses [INFO] [stdout] | [INFO] [stdout] 92 | let old_proposal_optional = p.borrow().get(&key); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `borrow` of struct `RefCell` is private [INFO] [stdout] --> src/final_project_backend/src/lib.rs:92:39 [INFO] [stdout] | [INFO] [stdout] 92 | let old_proposal_optional = p.borrow.get(&key); [INFO] [stdout] | ^^^^^^ private field [INFO] [stdout] | [INFO] [stdout] help: a method `borrow` also exists, call it with parentheses [INFO] [stdout] | [INFO] [stdout] 92 | let old_proposal_optional = p.borrow().get(&key); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `borrow` of struct `RefCell` is private [INFO] [stdout] --> src/final_project_backend/src/lib.rs:126:39 [INFO] [stdout] | [INFO] [stdout] 126 | let old_proposal_optional = p.borrow.get(&key); [INFO] [stdout] | ^^^^^^ private field [INFO] [stdout] | [INFO] [stdout] help: a method `borrow` also exists, call it with parentheses [INFO] [stdout] | [INFO] [stdout] 126 | let old_proposal_optional = p.borrow().get(&key); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `borrow` of struct `RefCell` is private [INFO] [stdout] --> src/final_project_backend/src/lib.rs:126:39 [INFO] [stdout] | [INFO] [stdout] 126 | let old_proposal_optional = p.borrow.get(&key); [INFO] [stdout] | ^^^^^^ private field [INFO] [stdout] | [INFO] [stdout] help: a method `borrow` also exists, call it with parentheses [INFO] [stdout] | [INFO] [stdout] 126 | let old_proposal_optional = p.borrow().get(&key); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `borrow` of struct `RefCell` is private [INFO] [stdout] --> src/final_project_backend/src/lib.rs:149:39 [INFO] [stdout] | [INFO] [stdout] 149 | let old_proposal_optional = p.borrow.get(&key); [INFO] [stdout] | ^^^^^^ private field [INFO] [stdout] | [INFO] [stdout] help: a method `borrow` also exists, call it with parentheses [INFO] [stdout] | [INFO] [stdout] 149 | let old_proposal_optional = p.borrow().get(&key); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `borrow` of struct `RefCell` is private [INFO] [stdout] --> src/final_project_backend/src/lib.rs:149:39 [INFO] [stdout] | [INFO] [stdout] 149 | let old_proposal_optional = p.borrow.get(&key); [INFO] [stdout] | ^^^^^^ private field [INFO] [stdout] | [INFO] [stdout] help: a method `borrow` also exists, call it with parentheses [INFO] [stdout] | [INFO] [stdout] 149 | let old_proposal_optional = p.borrow().get(&key); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0616. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0616. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `final_project_backend` (lib) due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `final_project_backend` (lib test) due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "8bad786a412dd038a081063318dc157156be86837b6758eccd975cbc9981274f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8bad786a412dd038a081063318dc157156be86837b6758eccd975cbc9981274f", kill_on_drop: false }` [INFO] [stdout] 8bad786a412dd038a081063318dc157156be86837b6758eccd975cbc9981274f