[INFO] fetching crate canvas_lms_connector 0.1.7... [INFO] testing canvas_lms_connector-0.1.7 against 1.95.0 for beta-1.96-1 [INFO] extracting crate canvas_lms_connector 0.1.7 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate canvas_lms_connector 0.1.7 [INFO] finished tweaking crates.io crate canvas_lms_connector 0.1.7 [INFO] tweaked toml for crates.io crate canvas_lms_connector 0.1.7 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate canvas_lms_connector 0.1.7 on toolchain 1.95.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 300 packages to latest compatible versions [INFO] [stderr] Adding dialoguer v0.11.0 (available: v0.12.0) [INFO] [stderr] Adding dirs v5.0.1 (available: v6.0.0) [INFO] [stderr] Adding generic-array v0.14.7 (available: v0.14.9) [INFO] [stderr] Adding keyring v2.3.3 (available: v3.6.3) [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.13.2) [INFO] [stderr] Adding zvariant_utils v1.0.1 (available: v1.1.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded std-semaphore v0.1.0 [INFO] [stderr] Downloaded linux-keyutils v0.2.5 [INFO] [stderr] Downloaded uds_windows v1.2.1 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7667ebac273dfe9e9db0e5f09fc04df98ca03e205dfb7450a0b8ea8868b3a04a [INFO] running `Command { std: "docker" "start" "-a" "7667ebac273dfe9e9db0e5f09fc04df98ca03e205dfb7450a0b8ea8868b3a04a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7667ebac273dfe9e9db0e5f09fc04df98ca03e205dfb7450a0b8ea8868b3a04a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7667ebac273dfe9e9db0e5f09fc04df98ca03e205dfb7450a0b8ea8868b3a04a", kill_on_drop: false }` [INFO] [stdout] 7667ebac273dfe9e9db0e5f09fc04df98ca03e205dfb7450a0b8ea8868b3a04a [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1cef936bd140e3457c4970ac023f3eadc3f65b958cf57296a254ead5b32bc615 [INFO] running `Command { std: "docker" "start" "-a" "1cef936bd140e3457c4970ac023f3eadc3f65b958cf57296a254ead5b32bc615", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.186 [INFO] [stderr] Compiling typenum v1.20.0 [INFO] [stderr] Compiling hashbrown v0.17.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling futures-io v0.3.32 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling bitflags v2.11.1 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling fastrand v2.4.1 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling zerocopy v0.8.48 [INFO] [stderr] Compiling litemap v0.8.2 [INFO] [stderr] Compiling writeable v0.6.3 [INFO] [stderr] Compiling indexmap v2.14.0 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling zerofrom-derive v0.1.7 [INFO] [stderr] Compiling yoke-derive v0.8.2 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling icu_normalizer_data v2.2.0 [INFO] [stderr] Compiling openssl-sys v0.9.114 [INFO] [stderr] Compiling icu_properties_data v2.2.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling enumflags2_derive v0.7.12 [INFO] [stderr] Compiling futures-lite v2.6.1 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling openssl v0.10.78 [INFO] [stderr] Compiling waker-fn v1.2.0 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Compiling rustix v0.37.28 [INFO] [stderr] Compiling piper v0.2.5 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling zerofrom v0.1.7 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling async-lock v2.8.0 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling block-padding v0.3.3 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling yoke v0.8.2 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling async-fs v1.6.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling zerovec v0.11.6 [INFO] [stderr] Compiling zerotrie v0.2.4 [INFO] [stderr] Compiling blocking v1.6.2 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling unicase v2.9.0 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling socket2 v0.6.3 [INFO] [stderr] Compiling mio v1.2.0 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling tokio v1.52.1 [INFO] [stderr] Compiling tinystr v0.8.3 [INFO] [stderr] Compiling potential_utf v0.1.5 [INFO] [stderr] Compiling icu_locale_core v2.2.0 [INFO] [stderr] Compiling icu_collections v2.2.0 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling icu_provider v2.2.0 [INFO] [stderr] Compiling xdg-home v1.3.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling icu_properties v2.2.0 [INFO] [stderr] Compiling icu_normalizer v2.2.0 [INFO] [stderr] Compiling async-executor v1.14.0 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling async-broadcast v0.5.1 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling zvariant_utils v1.0.1 [INFO] [stderr] Compiling enumflags2 v0.7.12 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Compiling ordered-stream v0.2.0 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling linux-raw-sys v0.12.1 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling cbc v0.1.2 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling unicode-width v0.2.2 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling linux-keyutils v0.2.5 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling shell-words v1.1.1 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling std-semaphore v0.1.0 [INFO] [stderr] Compiling zvariant_derive v3.15.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.6 [INFO] [stderr] Compiling zbus_macros v3.15.2 [INFO] [stderr] Compiling zvariant v3.15.2 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tempfile v3.27.0 [INFO] [stderr] Compiling dialoguer v0.11.0 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling zbus_names v2.6.1 [INFO] [stderr] Compiling zbus v3.15.2 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling secret-service v3.1.0 [INFO] [stderr] Compiling keyring v2.3.3 [INFO] [stderr] Compiling canvas_lms_connector v0.1.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `SIMULTANEOUS_REQUESTS_LIMIT` is never used [INFO] [stdout] --> src/connection.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | const SIMULTANEOUS_REQUESTS_LIMIT: isize = 20; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 16s [INFO] running `Command { std: "docker" "inspect" "1cef936bd140e3457c4970ac023f3eadc3f65b958cf57296a254ead5b32bc615", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cef936bd140e3457c4970ac023f3eadc3f65b958cf57296a254ead5b32bc615", kill_on_drop: false }` [INFO] [stdout] 1cef936bd140e3457c4970ac023f3eadc3f65b958cf57296a254ead5b32bc615 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 854d0df98c0014acdceddc47fbaef84afb7f052781737a71a7d21f2bb32a67bb [INFO] running `Command { std: "docker" "start" "-a" "854d0df98c0014acdceddc47fbaef84afb7f052781737a71a7d21f2bb32a67bb", kill_on_drop: false }` [INFO] [stderr] Compiling canvas_lms_connector v0.1.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `SIMULTANEOUS_REQUESTS_LIMIT` is never used [INFO] [stdout] --> src/connection.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | const SIMULTANEOUS_REQUESTS_LIMIT: isize = 20; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SIMULTANEOUS_REQUESTS_LIMIT` is never used [INFO] [stdout] --> src/connection.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | const SIMULTANEOUS_REQUESTS_LIMIT: isize = 20; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.84s [INFO] running `Command { std: "docker" "inspect" "854d0df98c0014acdceddc47fbaef84afb7f052781737a71a7d21f2bb32a67bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "854d0df98c0014acdceddc47fbaef84afb7f052781737a71a7d21f2bb32a67bb", kill_on_drop: false }` [INFO] [stdout] 854d0df98c0014acdceddc47fbaef84afb7f052781737a71a7d21f2bb32a67bb [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4abc029dbeefaefc6cc3ab69e45a148e7b9ae1dd04dce960b128073697c2f7fb [INFO] running `Command { std: "docker" "start" "-a" "4abc029dbeefaefc6cc3ab69e45a148e7b9ae1dd04dce960b128073697c2f7fb", kill_on_drop: false }` [INFO] [stderr] warning: constant `SIMULTANEOUS_REQUESTS_LIMIT` is never used [INFO] [stderr] --> src/connection.rs:27:7 [INFO] [stderr] | [INFO] [stderr] 27 | const SIMULTANEOUS_REQUESTS_LIMIT: isize = 20; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `canvas_lms_connector` (lib) generated 1 warning [INFO] [stderr] warning: `canvas_lms_connector` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.30s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/canvas_lms_connector-4684bac967982b51) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test credentials::tests::test_canvas_credentials_initialization ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests canvas_lms_connector [INFO] [stdout] [INFO] [stdout] running 20 tests [INFO] [stdout] test src/credentials.rs - credentials::CanvasCredentials (line 15) ... FAILED [INFO] [stdout] test src/course.rs - course::Course::comment_with_file (line 214) ... FAILED [INFO] [stdout] test src/course.rs - course::Course::fetch_students (line 66) ... FAILED [INFO] [stdout] test src/canvas.rs - canvas::create_assignment (line 1148) ... FAILED [INFO] [stdout] test src/canvas.rs - canvas::Canvas::convert_json_to_course (line 246) ... FAILED [INFO] [stdout] test src/canvas.rs - canvas::Canvas::fetch_courses_with_credentials (line 96) ... FAILED [INFO] [stdout] test src/course.rs - course::Course::fetch_assignments (line 87) ... FAILED [INFO] [stdout] test src/canvas.rs - canvas::comment_with_file (line 598) ... FAILED [INFO] [stdout] test src/submission.rs - submission::Submission::comment_with_file (line 53) ... FAILED [INFO] [stdout] test src/canvas.rs - canvas::upload_file (line 509) ... FAILED [INFO] [stdout] test src/canvas.rs - canvas::Canvas (line 45) ... FAILED [INFO] [stdout] test src/canvas.rs - canvas::Canvas::fetch_single_course_with_credentials (line 188) ... FAILED [INFO] [stdout] test src/canvas.rs - canvas::get_current_year_and_semester (line 323) ... FAILED [INFO] [stdout] test src/canvas.rs - canvas::request_upload_token (line 418) ... FAILED [INFO] [stdout] test src/course.rs - course::Course::update_assignment_score (line 173) ... FAILED [INFO] [stdout] test src/canvas.rs - canvas::get_all_submissions (line 667) ... FAILED [INFO] [stdout] test src/submission.rs - submission::Submission::update_score (line 93) ... FAILED [INFO] [stdout] test src/canvas.rs - canvas::add_comment (line 364) ... FAILED [INFO] [stdout] test src/lib.rs - (line 37) ... FAILED [INFO] [stdout] test src/lib.rs - (line 47) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/credentials.rs - credentials::CanvasCredentials (line 15) stdout ---- [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `CanvasCredentials` in this scope [INFO] [stdout] --> src/credentials.rs:16:26 [INFO] [stdout] | [INFO] [stdout] 16 | let canvas_credentials = CanvasCredentials { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [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] ---- src/course.rs - course::Course::comment_with_file (line 214) stdout ---- [INFO] [stdout] error: expected expression, found `,` [INFO] [stdout] --> src/course.rs:218:34 [INFO] [stdout] | [INFO] [stdout] 218 | Ok(_) => /* handle success */, [INFO] [stdout] | -- ^ expected expression [INFO] [stdout] | | [INFO] [stdout] | while parsing the `match` arm starting here [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Course` in this scope [INFO] [stdout] --> src/course.rs:216:14 [INFO] [stdout] | [INFO] [stdout] 216 | let course = Course { /* ... */ }; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `assignment_id` in this scope [INFO] [stdout] --> src/course.rs:217:40 [INFO] [stdout] | [INFO] [stdout] 217 | match course.add_file_comment(&client, assignment_id, student_id, Some("path/to/file.pdf"), "Great work!") { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `student_id` in this scope [INFO] [stdout] --> src/course.rs:217:55 [INFO] [stdout] | [INFO] [stdout] 217 | match course.add_file_comment(&client, assignment_id, student_id, Some("path/to/file.pdf"), "Great work!") { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/course.rs - course::Course::fetch_students (line 66) stdout ---- [INFO] [stdout] error: expected expression, found `,` [INFO] [stdout] --> src/course.rs:69:42 [INFO] [stdout] | [INFO] [stdout] 69 | Ok(students) => /* handle students */, [INFO] [stdout] | -- ^ expected expression [INFO] [stdout] | | [INFO] [stdout] | while parsing the `match` arm starting here [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Course` in this scope [INFO] [stdout] --> src/course.rs:67:14 [INFO] [stdout] | [INFO] [stdout] 67 | let course = Course { /* ... */ }; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/canvas.rs - canvas::create_assignment (line 1148) stdout ---- [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `CanvasCredentials` in this scope [INFO] [stdout] --> src/canvas.rs:1150:19 [INFO] [stdout] | [INFO] [stdout] 1150 | let canvas_info = CanvasCredentials { /* ... */ }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Client` in this scope [INFO] [stdout] --> src/canvas.rs:1149:14 [INFO] [stdout] | [INFO] [stdout] 1149 | let client = Client::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Client` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_assignment` in this scope [INFO] [stdout] --> src/canvas.rs:1151:7 [INFO] [stdout] | [INFO] [stdout] 1151 | match create_assignment(&client, &canvas_info, 12345, "Nova Atividade") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/canvas.rs - canvas::Canvas::convert_json_to_course (line 246) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `Arc` in this scope [INFO] [stdout] --> src/canvas.rs:247:19 [INFO] [stdout] | [INFO] [stdout] 247 | let canvas_info = Arc::new(CanvasCredentials { /* initialization */ }); [INFO] [stdout] | ^^^ use of undeclared type `Arc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 246 + use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `CanvasCredentials` in this scope [INFO] [stdout] --> src/canvas.rs:247:28 [INFO] [stdout] | [INFO] [stdout] 247 | let canvas_info = Arc::new(CanvasCredentials { /* initialization */ }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Canvas` in this scope [INFO] [stdout] --> src/canvas.rs:249:14 [INFO] [stdout] | [INFO] [stdout] 249 | let course = Canvas::convert_json_to_course(&canvas_info, &course_json); [INFO] [stdout] | ^^^^^^ use of undeclared type `Canvas` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/canvas.rs - canvas::Canvas::fetch_courses_with_credentials (line 96) stdout ---- [INFO] [stdout] error: expected expression, found `,` [INFO] [stdout] --> src/canvas.rs:99:61 [INFO] [stdout] | [INFO] [stdout] 99 | CanvasResultCourses::Ok(courses) => /* handle courses */, [INFO] [stdout] | -- ^ expected expression [INFO] [stdout] | | [INFO] [stdout] | while parsing the `match` arm starting here [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `CanvasCredentials` in this scope [INFO] [stdout] --> src/canvas.rs:97:19 [INFO] [stdout] | [INFO] [stdout] 97 | let canvas_info = CanvasCredentials { /* initialization */ }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Canvas` in this scope [INFO] [stdout] --> src/canvas.rs:98:7 [INFO] [stdout] | [INFO] [stdout] 98 | match Canvas::fetch_courses_with_credentials(&canvas_info) { [INFO] [stdout] | ^^^^^^ use of undeclared type `Canvas` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/course.rs - course::Course::fetch_assignments (line 87) stdout ---- [INFO] [stdout] error: expected expression, found `,` [INFO] [stdout] --> src/course.rs:90:48 [INFO] [stdout] | [INFO] [stdout] 90 | Ok(assignments) => /* handle assignments */, [INFO] [stdout] | -- ^ expected expression [INFO] [stdout] | | [INFO] [stdout] | while parsing the `match` arm starting here [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Course` in this scope [INFO] [stdout] --> src/course.rs:88:14 [INFO] [stdout] | [INFO] [stdout] 88 | let course = Course { /* ... */ }; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/canvas.rs - canvas::comment_with_file (line 598) stdout ---- [INFO] [stdout] error: expected expression, found `,` [INFO] [stdout] --> src/canvas.rs:602:34 [INFO] [stdout] | [INFO] [stdout] 602 | Ok(_) => /* handle success */, [INFO] [stdout] | -- ^ expected expression [INFO] [stdout] | | [INFO] [stdout] | while parsing the `match` arm starting here [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Course` in this scope [INFO] [stdout] --> src/canvas.rs:600:14 [INFO] [stdout] | [INFO] [stdout] 600 | let course = Course { /* ... */ }; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `assignment_id` in this scope [INFO] [stdout] --> src/canvas.rs:601:40 [INFO] [stdout] | [INFO] [stdout] 601 | match course.add_file_comment(&client, assignment_id, student_id, Some("path/to/file.pdf"), "Great work!") { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `student_id` in this scope [INFO] [stdout] --> src/canvas.rs:601:55 [INFO] [stdout] | [INFO] [stdout] 601 | match course.add_file_comment(&client, assignment_id, student_id, Some("path/to/file.pdf"), "Great work!") { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Client` in this scope [INFO] [stdout] --> src/canvas.rs:599:14 [INFO] [stdout] | [INFO] [stdout] 599 | let client = Client::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Client` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/submission.rs - submission::Submission::comment_with_file (line 53) stdout ---- [INFO] [stdout] error: expected expression, found `,` [INFO] [stdout] --> src/submission.rs:57:34 [INFO] [stdout] | [INFO] [stdout] 57 | Ok(_) => /* handle success */, [INFO] [stdout] | -- ^ expected expression [INFO] [stdout] | | [INFO] [stdout] | while parsing the `match` arm starting here [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Course` in this scope [INFO] [stdout] --> src/submission.rs:55:14 [INFO] [stdout] | [INFO] [stdout] 55 | let course = Course { /* ... */ }; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `assignment_id` in this scope [INFO] [stdout] --> src/submission.rs:56:40 [INFO] [stdout] | [INFO] [stdout] 56 | match course.add_file_comment(&client, assignment_id, student_id, Some("path/to/file.pdf"), "Great work!") { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `student_id` in this scope [INFO] [stdout] --> src/submission.rs:56:55 [INFO] [stdout] | [INFO] [stdout] 56 | match course.add_file_comment(&client, assignment_id, student_id, Some("path/to/file.pdf"), "Great work!") { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/canvas.rs - canvas::upload_file (line 509) stdout ---- [INFO] [stdout] error: expected expression, found `,` [INFO] [stdout] --> src/canvas.rs:513:40 [INFO] [stdout] | [INFO] [stdout] 513 | Ok(file_id) => /* handle success */, [INFO] [stdout] | -- ^ expected expression [INFO] [stdout] | | [INFO] [stdout] | while parsing the `match` arm starting here [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Course` in this scope [INFO] [stdout] --> src/canvas.rs:511:14 [INFO] [stdout] | [INFO] [stdout] 511 | let course = Course { /* ... */ }; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Client` in this scope [INFO] [stdout] --> src/canvas.rs:510:14 [INFO] [stdout] | [INFO] [stdout] 510 | let client = Client::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Client` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/canvas.rs - canvas::Canvas (line 45) stdout ---- [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `CanvasCredentials` in this scope [INFO] [stdout] --> src/canvas.rs:46:26 [INFO] [stdout] | [INFO] [stdout] 46 | let canvas_credentials = CanvasCredentials { /* initialization */ }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Canvas` in this scope [INFO] [stdout] --> src/canvas.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | let canvas = Canvas { /* fields initialization */ }; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `CanvasResultCourses` in this scope [INFO] [stdout] --> src/canvas.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | CanvasResultCourses::Ok(courses) => println!("Courses: {:?}", courses), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `CanvasResultCourses` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `CanvasResultCourses` in this scope [INFO] [stdout] --> src/canvas.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | CanvasResultCourses::ErrConnection(err) => eprintln!("Connection error: {}", err), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `CanvasResultCourses` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `CanvasResultCourses` in this scope [INFO] [stdout] --> src/canvas.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | CanvasResultCourses::ErrCredentials(err) => eprintln!("Credentials error: {}", err), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `CanvasResultCourses` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/canvas.rs - canvas::Canvas::fetch_single_course_with_credentials (line 188) stdout ---- [INFO] [stdout] error: expected expression, found `,` [INFO] [stdout] --> src/canvas.rs:192:64 [INFO] [stdout] | [INFO] [stdout] 192 | CanvasResultSingleCourse::Ok(course) => /* handle course */, [INFO] [stdout] | -- ^ expected expression [INFO] [stdout] | | [INFO] [stdout] | while parsing the `match` arm starting here [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `CanvasCredentials` in this scope [INFO] [stdout] --> src/canvas.rs:189:19 [INFO] [stdout] | [INFO] [stdout] 189 | let canvas_info = CanvasCredentials { /* initialization */ }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Canvas` in this scope [INFO] [stdout] --> src/canvas.rs:191:7 [INFO] [stdout] | [INFO] [stdout] 191 | match Canvas::fetch_single_course_with_credentials(&canvas_info, course_id) { [INFO] [stdout] | ^^^^^^ use of undeclared type `Canvas` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/canvas.rs - canvas::get_current_year_and_semester (line 323) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `get_current_year_and_semester` in this scope [INFO] [stdout] --> src/canvas.rs:324:24 [INFO] [stdout] | [INFO] [stdout] 324 | let (year, semester) = get_current_year_and_semester(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/canvas.rs - canvas::request_upload_token (line 418) stdout ---- [INFO] [stdout] error: expected expression, found `,` [INFO] [stdout] --> src/canvas.rs:422:60 [INFO] [stdout] | [INFO] [stdout] 422 | Ok((upload_url, upload_params)) => /* handle success */, [INFO] [stdout] | -- ^ expected expression [INFO] [stdout] | | [INFO] [stdout] | while parsing the `match` arm starting here [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Course` in this scope [INFO] [stdout] --> src/canvas.rs:420:14 [INFO] [stdout] | [INFO] [stdout] 420 | let course = Course { /* ... */ }; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Client` in this scope [INFO] [stdout] --> src/canvas.rs:419:14 [INFO] [stdout] | [INFO] [stdout] 419 | let client = Client::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Client` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/course.rs - course::Course::update_assignment_score (line 173) stdout ---- [INFO] [stdout] error: expected expression, found `,` [INFO] [stdout] --> src/course.rs:177:34 [INFO] [stdout] | [INFO] [stdout] 177 | Ok(_) => /* handle success */, [INFO] [stdout] | -- ^ expected expression [INFO] [stdout] | | [INFO] [stdout] | while parsing the `match` arm starting here [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Course` in this scope [INFO] [stdout] --> src/course.rs:175:14 [INFO] [stdout] | [INFO] [stdout] 175 | let course = Course { /* ... */ }; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `assignment_id` in this scope [INFO] [stdout] --> src/course.rs:176:47 [INFO] [stdout] | [INFO] [stdout] 176 | match course.update_assignment_score(&client, assignment_id, student_id, new_score) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `student_id` in this scope [INFO] [stdout] --> src/course.rs:176:62 [INFO] [stdout] | [INFO] [stdout] 176 | match course.update_assignment_score(&client, assignment_id, student_id, new_score) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `new_score` in this scope [INFO] [stdout] --> src/course.rs:176:74 [INFO] [stdout] | [INFO] [stdout] 176 | match course.update_assignment_score(&client, assignment_id, student_id, new_score) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/canvas.rs - canvas::get_all_submissions (line 667) stdout ---- [INFO] [stdout] error: expected expression, found `,` [INFO] [stdout] --> src/canvas.rs:671:44 [INFO] [stdout] | [INFO] [stdout] 671 | Ok(submissions) => /* handle success */, [INFO] [stdout] | -- ^ expected expression [INFO] [stdout] | | [INFO] [stdout] | while parsing the `match` arm starting here [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `CanvasCredentials` in this scope [INFO] [stdout] --> src/canvas.rs:669:19 [INFO] [stdout] | [INFO] [stdout] 669 | let canvas_info = CanvasCredentials { /* ... */ }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Client` in this scope [INFO] [stdout] --> src/canvas.rs:668:14 [INFO] [stdout] | [INFO] [stdout] 668 | let client = Client::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Client` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_all_submissions` in this scope [INFO] [stdout] --> src/canvas.rs:670:7 [INFO] [stdout] | [INFO] [stdout] 670 | match get_all_submissions(&client, &canvas_info, 32451, "174964") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/submission.rs - submission::Submission::update_score (line 93) stdout ---- [INFO] [stdout] error: expected expression, found `,` [INFO] [stdout] --> src/submission.rs:97:34 [INFO] [stdout] | [INFO] [stdout] 97 | Ok(_) => /* handle success */, [INFO] [stdout] | -- ^ expected expression [INFO] [stdout] | | [INFO] [stdout] | while parsing the `match` arm starting here [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Course` in this scope [INFO] [stdout] --> src/submission.rs:95:14 [INFO] [stdout] | [INFO] [stdout] 95 | let course = Course { /* ... */ }; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `assignment_id` in this scope [INFO] [stdout] --> src/submission.rs:96:47 [INFO] [stdout] | [INFO] [stdout] 96 | match course.update_assignment_score(&client, assignment_id, student_id, new_score) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `student_id` in this scope [INFO] [stdout] --> src/submission.rs:96:62 [INFO] [stdout] | [INFO] [stdout] 96 | match course.update_assignment_score(&client, assignment_id, student_id, new_score) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `new_score` in this scope [INFO] [stdout] --> src/submission.rs:96:74 [INFO] [stdout] | [INFO] [stdout] 96 | match course.update_assignment_score(&client, assignment_id, student_id, new_score) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/canvas.rs - canvas::add_comment (line 364) stdout ---- [INFO] [stdout] error: expected expression, found `,` [INFO] [stdout] --> src/canvas.rs:368:34 [INFO] [stdout] | [INFO] [stdout] 368 | Ok(_) => /* handle success */, [INFO] [stdout] | -- ^ expected expression [INFO] [stdout] | | [INFO] [stdout] | while parsing the `match` arm starting here [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Course` in this scope [INFO] [stdout] --> src/canvas.rs:366:14 [INFO] [stdout] | [INFO] [stdout] 366 | let course = Course { /* ... */ }; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Client` in this scope [INFO] [stdout] --> src/canvas.rs:365:14 [INFO] [stdout] | [INFO] [stdout] 365 | let client = Client::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Client` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 37) stdout ---- [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `CanvasCredentials` in this scope [INFO] [stdout] --> src/lib.rs:38:26 [INFO] [stdout] | [INFO] [stdout] 38 | let canvas_credentials = CanvasCredentials { /* ... */ }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Canvas` in this scope [INFO] [stdout] --> src/lib.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | match Canvas::fetch_courses_with_credentials(&canvas_credentials) { [INFO] [stdout] | ^^^^^^ use of undeclared type `Canvas` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `CanvasResultCourses` in this scope [INFO] [stdout] --> src/lib.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | CanvasResultCourses::ErrCredentials(err) => eprintln!("Credentials error: {}", err), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `CanvasResultCourses` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `CanvasResultCourses` in this scope [INFO] [stdout] --> src/lib.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | CanvasResultCourses::Ok(courses) => println!("Courses: {:?}", courses), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `CanvasResultCourses` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `CanvasResultCourses` in this scope [INFO] [stdout] --> src/lib.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | CanvasResultCourses::ErrConnection(err) => eprintln!("Connection error: {}", err), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `CanvasResultCourses` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 47) stdout ---- [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `CanvasCredentials` in this scope [INFO] [stdout] --> src/lib.rs:48:26 [INFO] [stdout] | [INFO] [stdout] 48 | let canvas_credentials = CanvasCredentials { /* ... */ }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Canvas` in this scope [INFO] [stdout] --> src/lib.rs:50:7 [INFO] [stdout] | [INFO] [stdout] 50 | match Canvas::fetch_single_course_with_credentials(&canvas_credentials, course_id) { [INFO] [stdout] | ^^^^^^ use of undeclared type `Canvas` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `CanvasResultSingleCourse` in this scope [INFO] [stdout] --> src/lib.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | CanvasResultSingleCourse::ErrCredentials(err) => eprintln!("Credentials error: {}", err), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `CanvasResultSingleCourse` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `CanvasResultSingleCourse` in this scope [INFO] [stdout] --> src/lib.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | CanvasResultSingleCourse::Ok(course) => println!("Course: {:?}", course), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `CanvasResultSingleCourse` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `CanvasResultSingleCourse` in this scope [INFO] [stdout] --> src/lib.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | CanvasResultSingleCourse::ErrConnection(err) => eprintln!("Connection error: {}", err), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `CanvasResultSingleCourse` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/canvas.rs - canvas::Canvas (line 45) [INFO] [stdout] src/canvas.rs - canvas::Canvas::convert_json_to_course (line 246) [INFO] [stdout] src/canvas.rs - canvas::Canvas::fetch_courses_with_credentials (line 96) [INFO] [stdout] src/canvas.rs - canvas::Canvas::fetch_single_course_with_credentials (line 188) [INFO] [stdout] src/canvas.rs - canvas::add_comment (line 364) [INFO] [stdout] src/canvas.rs - canvas::comment_with_file (line 598) [INFO] [stdout] src/canvas.rs - canvas::create_assignment (line 1148) [INFO] [stdout] src/canvas.rs - canvas::get_all_submissions (line 667) [INFO] [stdout] src/canvas.rs - canvas::get_current_year_and_semester (line 323) [INFO] [stdout] src/canvas.rs - canvas::request_upload_token (line 418) [INFO] [stdout] src/canvas.rs - canvas::upload_file (line 509) [INFO] [stdout] src/course.rs - course::Course::comment_with_file (line 214) [INFO] [stdout] src/course.rs - course::Course::fetch_assignments (line 87) [INFO] [stdout] src/course.rs - course::Course::fetch_students (line 66) [INFO] [stdout] src/course.rs - course::Course::update_assignment_score (line 173) [INFO] [stdout] src/credentials.rs - credentials::CanvasCredentials (line 15) [INFO] [stdout] src/lib.rs - (line 37) [INFO] [stdout] src/lib.rs - (line 47) [INFO] [stdout] src/submission.rs - submission::Submission::comment_with_file (line 53) [INFO] [stdout] src/submission.rs - submission::Submission::update_score (line 93) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 20 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.21s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "4abc029dbeefaefc6cc3ab69e45a148e7b9ae1dd04dce960b128073697c2f7fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4abc029dbeefaefc6cc3ab69e45a148e7b9ae1dd04dce960b128073697c2f7fb", kill_on_drop: false }` [INFO] [stdout] 4abc029dbeefaefc6cc3ab69e45a148e7b9ae1dd04dce960b128073697c2f7fb