[INFO] fetching crate iron_planet 0.2.2... [INFO] checking iron_planet-0.2.2 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate iron_planet 0.2.2 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate iron_planet 0.2.2 [INFO] finished tweaking crates.io crate iron_planet 0.2.2 [INFO] tweaked toml for crates.io crate iron_planet 0.2.2 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate iron_planet 0.2.2 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 87 packages to latest compatible versions [INFO] [stderr] Adding sysinfo v0.21.2 (available: v0.35.2) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.12) [INFO] [stderr] Adding ureq v2.12.1 (available: v3.0.12) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sysinfo v0.21.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e47eaf4ad1f6b3a4b2d48d781f1e608b62c90c87fa14032a86ec19bcaa4ff29c [INFO] running `Command { std: "docker" "start" "-a" "e47eaf4ad1f6b3a4b2d48d781f1e608b62c90c87fa14032a86ec19bcaa4ff29c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e47eaf4ad1f6b3a4b2d48d781f1e608b62c90c87fa14032a86ec19bcaa4ff29c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e47eaf4ad1f6b3a4b2d48d781f1e608b62c90c87fa14032a86ec19bcaa4ff29c", kill_on_drop: false }` [INFO] [stdout] e47eaf4ad1f6b3a4b2d48d781f1e608b62c90c87fa14032a86ec19bcaa4ff29c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 983340c6385fffa1948741d1947d0cebb07e076bb09d30ab6685c6f2dc34ba3f [INFO] running `Command { std: "docker" "start" "-a" "983340c6385fffa1948741d1947d0cebb07e076bb09d30ab6685c6f2dc34ba3f", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling rustls v0.23.28 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking webpki-roots v1.0.1 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling sysinfo v0.21.2 [INFO] [stderr] Checking webpki-roots v0.26.11 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking rustls-webpki v0.103.3 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking ureq v2.12.1 [INFO] [stderr] Checking iron_planet v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved imports `crate::network::models::BuildingPartial`, `crate::network::models::CoursePartial`, `crate::network::models::DepartmentPartial`, `crate::network::models::PartialClassInstance` [INFO] [stdout] --> src/network/tests/deserialization.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | Building, BuildingPartial, Class, ClassInfo, ClassInfoEntry, ClassInfoSources, ClassInstance, [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `BuildingPartial` in `network::models` [INFO] [stdout] 3 | ClassInstanceFile, ClassInstanceFiles, ClassShift, ClassShiftInstance, CoursePartial, Degree, [INFO] [stdout] | ^^^^^^^^^^^^^ no `CoursePartial` in `network::models` [INFO] [stdout] 4 | Department, DepartmentPartial, File, FileCategory, PartialClassInstance, Period, ShiftType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ no `PartialClassInstance` in `network::models` [INFO] [stdout] | | [INFO] [stdout] | no `DepartmentPartial` in `network::models` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/network/tests/deserialization.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | unused, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: `#[deny(unused_imports)]` implied by `#[deny(unused)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated type alias `ureq::SerdeValue`: use ureq::serde_json::Value instead [INFO] [stdout] --> src/network/http.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use ureq::{ErrorKind, SerdeValue}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | warnings, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(deprecated)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated type alias `ureq::SerdeValue`: use ureq::serde_json::Value instead [INFO] [stdout] --> src/network/http.rs:58:18 [INFO] [stdout] | [INFO] [stdout] 58 | body: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated type alias `ureq::SerdeValue`: use ureq::serde_json::Value instead [INFO] [stdout] --> src/network/http.rs:100:18 [INFO] [stdout] | [INFO] [stdout] 100 | body: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated type alias `ureq::SerdeValue`: use ureq::serde_json::Value instead [INFO] [stdout] --> src/network/http.rs:81:46 [INFO] [stdout] | [INFO] [stdout] 81 | pub(crate) fn set_body(&mut self, value: SerdeValue) -> &mut RequestBuilder<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated type alias `ureq::SerdeValue`: use ureq::serde_json::Value instead [INFO] [stdout] --> src/network/http.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use ureq::{ErrorKind, SerdeValue}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | warnings, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(deprecated)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated type alias `ureq::SerdeValue`: use ureq::serde_json::Value instead [INFO] [stdout] --> src/network/http.rs:58:18 [INFO] [stdout] | [INFO] [stdout] 58 | body: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated type alias `ureq::SerdeValue`: use ureq::serde_json::Value instead [INFO] [stdout] --> src/network/http.rs:100:18 [INFO] [stdout] | [INFO] [stdout] 100 | body: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated type alias `ureq::SerdeValue`: use ureq::serde_json::Value instead [INFO] [stdout] --> src/network/http.rs:81:46 [INFO] [stdout] | [INFO] [stdout] 81 | pub(crate) fn set_body(&mut self, value: SerdeValue) -> &mut RequestBuilder<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `places` in initializer of `network::models::Building` [INFO] [stdout] --> src/network/tests/deserialization.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | Building { [INFO] [stdout] | ^^^^^^^^ missing `places` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/network/tests/deserialization.rs:182:26 [INFO] [stdout] | [INFO] [stdout] 182 | description: "Foo Bar Baz".to_string(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Option`, found `String` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option` [INFO] [stdout] found struct `std::string::String` [INFO] [stdout] help: try wrapping the expression in `Some` [INFO] [stdout] | [INFO] [stdout] 182 | description: Some("Foo Bar Baz".to_string()), [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `network::models::ClassInstance` has no field named `students` [INFO] [stdout] --> src/network/tests/deserialization.rs:458:13 [INFO] [stdout] | [INFO] [stdout] 458 | students: vec![], [INFO] [stdout] | ^^^^^^^^ `network::models::ClassInstance` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `parent`, `enrollments`, `shifts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `network::models::ClassInstance` has no field named `teachers` [INFO] [stdout] --> src/network/tests/deserialization.rs:459:13 [INFO] [stdout] | [INFO] [stdout] 459 | teachers: vec![], [INFO] [stdout] | ^^^^^^^^ `network::models::ClassInstance` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `parent`, `enrollments`, `shifts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/network/tests/deserialization.rs:461:27 [INFO] [stdout] | [INFO] [stdout] 461 | upstream: class_info [INFO] [stdout] | ^^^^^^^^^^ expected `Option`, found `ClassInfo` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option` [INFO] [stdout] found struct `ClassInfo` [INFO] [stdout] help: try wrapping the expression in `Some` [INFO] [stdout] | [INFO] [stdout] 461 | upstream: Some(class_info) [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0004]: non-exhaustive patterns: `ureq::ErrorKind::InsecureRequestHttpsOnly` not covered [INFO] [stdout] --> src/network/http.rs:29:28 [INFO] [stdout] | [INFO] [stdout] 29 | .map_err(|e| match e.kind() { [INFO] [stdout] | ^^^^^^^^ pattern `ureq::ErrorKind::InsecureRequestHttpsOnly` not covered [INFO] [stdout] | [INFO] [stdout] note: `ureq::ErrorKind` defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ureq-2.12.1/src/error.rs:332:1 [INFO] [stdout] | [INFO] [stdout] 332 | pub enum ErrorKind { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 340 | InsecureRequestHttpsOnly, [INFO] [stdout] | ------------------------ not covered [INFO] [stdout] = note: the matched value is of type `ureq::ErrorKind` [INFO] [stdout] help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown [INFO] [stdout] | [INFO] [stdout] 40 ~ | ErrorKind::ProxyUnauthorized => Error::Network, [INFO] [stdout] 41 ~ ureq::ErrorKind::InsecureRequestHttpsOnly => todo!(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0004]: non-exhaustive patterns: `ureq::ErrorKind::InsecureRequestHttpsOnly` not covered [INFO] [stdout] --> src/network/http.rs:29:28 [INFO] [stdout] | [INFO] [stdout] 29 | .map_err(|e| match e.kind() { [INFO] [stdout] | ^^^^^^^^ pattern `ureq::ErrorKind::InsecureRequestHttpsOnly` not covered [INFO] [stdout] | [INFO] [stdout] note: `ureq::ErrorKind` defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ureq-2.12.1/src/error.rs:332:1 [INFO] [stdout] | [INFO] [stdout] 332 | pub enum ErrorKind { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 340 | InsecureRequestHttpsOnly, [INFO] [stdout] | ------------------------ not covered [INFO] [stdout] = note: the matched value is of type `ureq::ErrorKind` [INFO] [stdout] help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown [INFO] [stdout] | [INFO] [stdout] 40 ~ | ErrorKind::ProxyUnauthorized => Error::Network, [INFO] [stdout] 41 ~ ureq::ErrorKind::InsecureRequestHttpsOnly => todo!(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0004, E0063, E0308, E0432, E0560. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0004`. [INFO] [stdout] [INFO] [stderr] error: could not compile `iron_planet` (lib test) due to 12 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0004`. [INFO] [stdout] [INFO] [stderr] error: could not compile `iron_planet` (lib) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "983340c6385fffa1948741d1947d0cebb07e076bb09d30ab6685c6f2dc34ba3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "983340c6385fffa1948741d1947d0cebb07e076bb09d30ab6685c6f2dc34ba3f", kill_on_drop: false }` [INFO] [stdout] 983340c6385fffa1948741d1947d0cebb07e076bb09d30ab6685c6f2dc34ba3f