[INFO] cloning repository https://github.com/Aviral-Rautela/Web3University
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Aviral-Rautela/Web3University" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAviral-Rautela%2FWeb3University", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAviral-Rautela%2FWeb3University'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b6ca8d13e0e95aa0c35f167dfa99bac72483a5ae
[INFO] checking Aviral-Rautela/Web3University against master#04ff05c9c0cfbca33115c5f1b8bb20a66a54b799 for pr-147834
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAviral-Rautela%2FWeb3University" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] [stderr] Updating files:  94% (959/1011)
Updating files:  95% (961/1011)
Updating files:  96% (971/1011)
Updating files:  97% (981/1011)
Updating files:  98% (991/1011)
Updating files:  99% (1001/1011)
Updating files: 100% (1011/1011)
Updating files: 100% (1011/1011), done.
[INFO] started tweaking git repo https://github.com/Aviral-Rautela/Web3University
[INFO] finished tweaking git repo https://github.com/Aviral-Rautela/Web3University
[INFO] tweaked toml for git repo https://github.com/Aviral-Rautela/Web3University written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Aviral-Rautela/Web3University on toolchain 04ff05c9c0cfbca33115c5f1b8bb20a66a54b799
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+04ff05c9c0cfbca33115c5f1b8bb20a66a54b799" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Aviral-Rautela/Web3University 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" "+04ff05c9c0cfbca33115c5f1b8bb20a66a54b799" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded pretty v0.12.4
[INFO] [stderr]   Downloaded candid v0.10.14
[INFO] [stderr]   Downloaded ic-cdk-executor v0.1.0
[INFO] [stderr]   Downloaded ic-cdk v0.17.2
[INFO] [stderr]   Downloaded ic-cdk-timers v0.11.0
[INFO] [stderr]   Downloaded ic-cdk-macros v0.17.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+04ff05c9c0cfbca33115c5f1b8bb20a66a54b799" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8331c4d58fa6749d8bfbc3dc98ad15b1fa6a6d20c3bc35e5dfb677ee93773fa6
[INFO] running `Command { std: "docker" "start" "-a" "8331c4d58fa6749d8bfbc3dc98ad15b1fa6a6d20c3bc35e5dfb677ee93773fa6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8331c4d58fa6749d8bfbc3dc98ad15b1fa6a6d20c3bc35e5dfb677ee93773fa6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8331c4d58fa6749d8bfbc3dc98ad15b1fa6a6d20c3bc35e5dfb677ee93773fa6", kill_on_drop: false }`
[INFO] [stdout] 8331c4d58fa6749d8bfbc3dc98ad15b1fa6a6d20c3bc35e5dfb677ee93773fa6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+04ff05c9c0cfbca33115c5f1b8bb20a66a54b799" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 23ea41c9162159a4d03050156b8112f94f4bd1effea0fefe83e99b1cbd257499
[INFO] running `Command { std: "docker" "start" "-a" "23ea41c9162159a4d03050156b8112f94f4bd1effea0fefe83e99b1cbd257499", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling rustversion v1.0.21
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling cc v1.2.29
[INFO] [stderr]    Compiling libc v0.2.174
[INFO] [stderr]    Compiling crc32fast v1.5.0
[INFO] [stderr]    Compiling arrayvec v0.5.2
[INFO] [stderr]    Compiling data-encoding v2.9.0
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling typed-arena v2.0.2
[INFO] [stderr]    Compiling unicode-width v0.1.14
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling candid_derive v0.6.6
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling anyhow v1.0.98
[INFO] [stderr]    Compiling pretty v0.12.4
[INFO] [stderr]    Compiling ic-cdk-executor v0.1.0
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling leb128 v0.2.5
[INFO] [stderr]     Checking ic_principal v0.1.1
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking serde_bytes v0.11.17
[INFO] [stderr]    Compiling slotmap v1.0.7
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]     Checking ic0 v0.23.0
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling psm v0.1.26
[INFO] [stderr]    Compiling stacker v0.1.21
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]    Compiling serde_tokenstream v0.2.2
[INFO] [stderr]    Compiling binread_derive v2.1.0
[INFO] [stderr]    Compiling binread v2.2.0
[INFO] [stderr]     Checking candid v0.10.14
[INFO] [stderr]    Compiling ic-cdk-macros v0.17.2
[INFO] [stderr]     Checking ic-cdk v0.17.2
[INFO] [stderr]     Checking ic-cdk-timers v0.11.0
[INFO] [stderr]     Checking web3University_backend v0.1.0 (/opt/rustwide/workdir/src/web3University_backend)
[INFO] [stdout] warning: unused imports: `Decode` and `Encode`
[INFO] [stdout]  --> src/web3University_backend/src/lib.rs:1:26
[INFO] [stdout]   |
[INFO] [stdout] 1 | use candid::{CandidType, Decode, Encode};
[INFO] [stdout]   |                          ^^^^^^  ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `init`, `post_upgrade`, and `pre_upgrade`
[INFO] [stdout]  --> src/web3University_backend/src/lib.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use ic_cdk::{init, post_upgrade, pre_upgrade, query, update};
[INFO] [stdout]   |              ^^^^  ^^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ic_cdk::storage`
[INFO] [stdout]  --> src/web3University_backend/src/lib.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use ic_cdk::storage;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `UserRole: Deserialize<'_>` is not satisfied
[INFO] [stdout]    --> src/web3University_backend/src/lib.rs:150:1
[INFO] [stdout]     |
[INFO] [stdout] 150 | #[update]
[INFO] [stdout]     | ^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `Deserialize<'_>` is not implemented for `UserRole`
[INFO] [stdout]    --> src/web3University_backend/src/lib.rs:15:1
[INFO] [stdout]     |
[INFO] [stdout]  15 | pub enum UserRole {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `UserRole` type
[INFO] [stdout]     = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stdout]     = help: the following other types implement trait `Deserialize<'de>`:
[INFO] [stdout]               &'a Path
[INFO] [stdout]               &'a [u8]
[INFO] [stdout]               &'a serde_bytes::bytearray::ByteArray<N>
[INFO] [stdout]               &'a serde_bytes::bytes::Bytes
[INFO] [stdout]               &'a str
[INFO] [stdout]               ()
[INFO] [stdout]               (T,)
[INFO] [stdout]               (T0, T1)
[INFO] [stdout]             and 224 others
[INFO] [stdout]     = note: required for `(String, UserRole, _, _)` to implement `for<'a> ArgumentDecoder<'a>`
[INFO] [stdout] note: required by a bound in `arg_data`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ic-cdk-0.17.2/src/api/call.rs:758:20
[INFO] [stdout]     |
[INFO] [stdout] 758 | pub fn arg_data<R: for<'a> ArgumentDecoder<'a>>(arg_config: ArgDecoderConfig) -> R {
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `arg_data`
[INFO] [stdout]     = note: this error originates in the attribute macro `update` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Question: Deserialize<'_>` is not satisfied
[INFO] [stdout]    --> src/web3University_backend/src/lib.rs:379:1
[INFO] [stdout]     |
[INFO] [stdout] 379 | #[update]
[INFO] [stdout]     | ^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `Deserialize<'_>` is not implemented for `Question`
[INFO] [stdout]    --> src/web3University_backend/src/lib.rs:64:1
[INFO] [stdout]     |
[INFO] [stdout]  64 | pub struct Question {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `Question` type
[INFO] [stdout]     = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stdout]     = help: the following other types implement trait `Deserialize<'de>`:
[INFO] [stdout]               &'a Path
[INFO] [stdout]               &'a [u8]
[INFO] [stdout]               &'a serde_bytes::bytearray::ByteArray<N>
[INFO] [stdout]               &'a serde_bytes::bytes::Bytes
[INFO] [stdout]               &'a str
[INFO] [stdout]               ()
[INFO] [stdout]               (T,)
[INFO] [stdout]               (T0, T1)
[INFO] [stdout]             and 224 others
[INFO] [stdout]     = note: required for `std::vec::Vec<Question>` to implement `Deserialize<'_>`
[INFO] [stdout]     = note: required for `(String, String, String, std::vec::Vec<Question>, _)` to implement `for<'a> ArgumentDecoder<'a>`
[INFO] [stdout] note: required by a bound in `arg_data`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ic-cdk-0.17.2/src/api/call.rs:758:20
[INFO] [stdout]     |
[INFO] [stdout] 758 | pub fn arg_data<R: for<'a> ArgumentDecoder<'a>>(arg_config: ArgDecoderConfig) -> R {
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `arg_data`
[INFO] [stdout]     = note: this error originates in the attribute macro `update` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Decode` and `Encode`
[INFO] [stdout]  --> src/web3University_backend/src/lib.rs:1:26
[INFO] [stdout]   |
[INFO] [stdout] 1 | use candid::{CandidType, Decode, Encode};
[INFO] [stdout]   |                          ^^^^^^  ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `init`, `post_upgrade`, and `pre_upgrade`
[INFO] [stdout]  --> src/web3University_backend/src/lib.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use ic_cdk::{init, post_upgrade, pre_upgrade, query, update};
[INFO] [stdout]   |              ^^^^  ^^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ic_cdk::storage`
[INFO] [stdout]  --> src/web3University_backend/src/lib.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use ic_cdk::storage;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: borrow of moved value: `course_id`
[INFO] [stdout]    --> src/web3University_backend/src/lib.rs:410:18
[INFO] [stdout]     |
[INFO] [stdout] 380 | pub fn create_quiz(course_id: CourseId, lesson_id: String, title: String, questions: Vec<Question>, passing_score: u32) -> Result<Quiz, S...
[INFO] [stdout]     |                    --------- move occurs because `course_id` has type `String`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 397 |         course_id,
[INFO] [stdout]     |         --------- value moved here
[INFO] [stdout] ...
[INFO] [stdout] 410 |     COURSES.with(|courses| {
[INFO] [stdout]     |                  ^^^^^^^^^ value borrowed here after move
[INFO] [stdout] 411 |         let mut courses = courses.borrow_mut();
[INFO] [stdout] 412 |         if let Some(course) = courses.get_mut(&course_id) {
[INFO] [stdout]     |                                                --------- borrow occurs due to use in closure
[INFO] [stdout]     |
[INFO] [stdout] help: consider cloning the value if the performance cost is acceptable
[INFO] [stdout]     |
[INFO] [stdout] 397 |         course_id: course_id.clone(),
[INFO] [stdout]     |                  +++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `total_points` is assigned to, but never used
[INFO] [stdout]    --> src/web3University_backend/src/lib.rs:439:17
[INFO] [stdout]     |
[INFO] [stdout] 439 |             let mut total_points = 0;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_total_points` instead
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `total_points` is never read
[INFO] [stdout]    --> src/web3University_backend/src/lib.rs:442:17
[INFO] [stdout]     |
[INFO] [stdout] 442 |                 total_points += question.points;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `UserRole: Deserialize<'_>` is not satisfied
[INFO] [stdout]    --> src/web3University_backend/src/lib.rs:150:1
[INFO] [stdout]     |
[INFO] [stdout] 150 | #[update]
[INFO] [stdout]     | ^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `Deserialize<'_>` is not implemented for `UserRole`
[INFO] [stdout]    --> src/web3University_backend/src/lib.rs:15:1
[INFO] [stdout]     |
[INFO] [stdout]  15 | pub enum UserRole {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `UserRole` type
[INFO] [stdout]     = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stdout]     = help: the following other types implement trait `Deserialize<'de>`:
[INFO] [stdout]               &'a Path
[INFO] [stdout]               &'a [u8]
[INFO] [stdout]               &'a serde_bytes::bytearray::ByteArray<N>
[INFO] [stdout]               &'a serde_bytes::bytes::Bytes
[INFO] [stdout]               &'a str
[INFO] [stdout]               ()
[INFO] [stdout]               (T,)
[INFO] [stdout]               (T0, T1)
[INFO] [stdout]             and 224 others
[INFO] [stdout]     = note: required for `(String, UserRole, _, _)` to implement `for<'a> ArgumentDecoder<'a>`
[INFO] [stdout] note: required by a bound in `arg_data`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ic-cdk-0.17.2/src/api/call.rs:758:20
[INFO] [stdout]     |
[INFO] [stdout] 758 | pub fn arg_data<R: for<'a> ArgumentDecoder<'a>>(arg_config: ArgDecoderConfig) -> R {
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `arg_data`
[INFO] [stdout]     = note: this error originates in the attribute macro `update` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0382.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Question: Deserialize<'_>` is not satisfied
[INFO] [stdout]    --> src/web3University_backend/src/lib.rs:379:1
[INFO] [stdout]     |
[INFO] [stdout] 379 | #[update]
[INFO] [stdout]     | ^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `Deserialize<'_>` is not implemented for `Question`
[INFO] [stdout]    --> src/web3University_backend/src/lib.rs:64:1
[INFO] [stdout]     |
[INFO] [stdout]  64 | pub struct Question {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `Question` type
[INFO] [stdout]     = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stdout]     = help: the following other types implement trait `Deserialize<'de>`:
[INFO] [stdout]               &'a Path
[INFO] [stdout]               &'a [u8]
[INFO] [stdout]               &'a serde_bytes::bytearray::ByteArray<N>
[INFO] [stdout]               &'a serde_bytes::bytes::Bytes
[INFO] [stdout]               &'a str
[INFO] [stdout]               ()
[INFO] [stdout]               (T,)
[INFO] [stdout]               (T0, T1)
[INFO] [stdout]             and 224 others
[INFO] [stdout]     = note: required for `std::vec::Vec<Question>` to implement `Deserialize<'_>`
[INFO] [stdout]     = note: required for `(String, String, String, std::vec::Vec<Question>, _)` to implement `for<'a> ArgumentDecoder<'a>`
[INFO] [stdout] note: required by a bound in `arg_data`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ic-cdk-0.17.2/src/api/call.rs:758:20
[INFO] [stdout]     |
[INFO] [stdout] 758 | pub fn arg_data<R: for<'a> ArgumentDecoder<'a>>(arg_config: ArgDecoderConfig) -> R {
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `arg_data`
[INFO] [stdout]     = note: this error originates in the attribute macro `update` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `web3University_backend` (lib test) due to 3 previous errors; 5 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0382]: borrow of moved value: `course_id`
[INFO] [stdout]    --> src/web3University_backend/src/lib.rs:410:18
[INFO] [stdout]     |
[INFO] [stdout] 380 | pub fn create_quiz(course_id: CourseId, lesson_id: String, title: String, questions: Vec<Question>, passing_score: u32) -> Result<Quiz, S...
[INFO] [stdout]     |                    --------- move occurs because `course_id` has type `String`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 397 |         course_id,
[INFO] [stdout]     |         --------- value moved here
[INFO] [stdout] ...
[INFO] [stdout] 410 |     COURSES.with(|courses| {
[INFO] [stdout]     |                  ^^^^^^^^^ value borrowed here after move
[INFO] [stdout] 411 |         let mut courses = courses.borrow_mut();
[INFO] [stdout] 412 |         if let Some(course) = courses.get_mut(&course_id) {
[INFO] [stdout]     |                                                --------- borrow occurs due to use in closure
[INFO] [stdout]     |
[INFO] [stdout] help: consider cloning the value if the performance cost is acceptable
[INFO] [stdout]     |
[INFO] [stdout] 397 |         course_id: course_id.clone(),
[INFO] [stdout]     |                  +++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `total_points` is assigned to, but never used
[INFO] [stdout]    --> src/web3University_backend/src/lib.rs:439:17
[INFO] [stdout]     |
[INFO] [stdout] 439 |             let mut total_points = 0;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_total_points` instead
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `total_points` is never read
[INFO] [stdout]    --> src/web3University_backend/src/lib.rs:442:17
[INFO] [stdout]     |
[INFO] [stdout] 442 |                 total_points += question.points;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0382.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `web3University_backend` (lib) due to 3 previous errors; 5 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "23ea41c9162159a4d03050156b8112f94f4bd1effea0fefe83e99b1cbd257499", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "23ea41c9162159a4d03050156b8112f94f4bd1effea0fefe83e99b1cbd257499", kill_on_drop: false }`
[INFO] [stdout] 23ea41c9162159a4d03050156b8112f94f4bd1effea0fefe83e99b1cbd257499
