[INFO] fetching crate iron_planet 0.2.2... [INFO] checking iron_planet-0.2.2 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate iron_planet 0.2.2 into /workspace/builds/worker-5-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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate iron_planet 0.2.2 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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.37.0) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.16) [INFO] [stderr] Adding ureq v2.12.1 (available: v3.1.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0c8f6dd6db08fcb5b6e7b3c1d05952e0330031639951fd6d3267956d0ef8d687 [INFO] running `Command { std: "docker" "start" "-a" "0c8f6dd6db08fcb5b6e7b3c1d05952e0330031639951fd6d3267956d0ef8d687", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c8f6dd6db08fcb5b6e7b3c1d05952e0330031639951fd6d3267956d0ef8d687", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c8f6dd6db08fcb5b6e7b3c1d05952e0330031639951fd6d3267956d0ef8d687", kill_on_drop: false }` [INFO] [stdout] 0c8f6dd6db08fcb5b6e7b3c1d05952e0330031639951fd6d3267956d0ef8d687 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e44c50efadfc34be1f3447fd97fecebe068122056e6dcc51b6af7b85a44f31c0 [INFO] running `Command { std: "docker" "start" "-a" "e44c50efadfc34be1f3447fd97fecebe068122056e6dcc51b6af7b85a44f31c0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking litemap v0.8.0 [INFO] [stderr] Checking writeable v0.6.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Checking rustls-pki-types v1.12.0 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling sysinfo v0.21.2 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking webpki-roots v1.0.2 [INFO] [stderr] Checking webpki-roots v0.26.11 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Compiling ring v0.17.14 [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 zerovec v0.11.4 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking rustls-webpki v0.103.4 [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_properties v2.0.1 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.7 [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] 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] [stderr] warning: build failed, waiting for other jobs to finish... [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] running `Command { std: "docker" "inspect" "e44c50efadfc34be1f3447fd97fecebe068122056e6dcc51b6af7b85a44f31c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e44c50efadfc34be1f3447fd97fecebe068122056e6dcc51b6af7b85a44f31c0", kill_on_drop: false }` [INFO] [stdout] e44c50efadfc34be1f3447fd97fecebe068122056e6dcc51b6af7b85a44f31c0