[INFO] fetching crate w5500-sntp 0.5.0... [INFO] checking w5500-sntp-0.5.0 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate w5500-sntp 0.5.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate w5500-sntp 0.5.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate w5500-sntp 0.5.0 [INFO] tweaked toml for crates.io crate w5500-sntp 0.5.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate w5500-sntp 0.5.0 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 71 packages to latest compatible versions [INFO] [stderr] Adding defmt v0.3.100 (available: v1.0.1) [INFO] [stderr] Adding termcolor v1.1.3 (available: v1.4.1) [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 w5500-ll v0.13.0 [INFO] [stderr] Downloaded w5500-hl v0.12.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] ea64b6e2d0f81dffd1426ce24fb3b1e41e8377693dae344a50fea4a485deba6f [INFO] running `Command { std: "docker" "start" "-a" "ea64b6e2d0f81dffd1426ce24fb3b1e41e8377693dae344a50fea4a485deba6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ea64b6e2d0f81dffd1426ce24fb3b1e41e8377693dae344a50fea4a485deba6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea64b6e2d0f81dffd1426ce24fb3b1e41e8377693dae344a50fea4a485deba6f", kill_on_drop: false }` [INFO] [stdout] ea64b6e2d0f81dffd1426ce24fb3b1e41e8377693dae344a50fea4a485deba6f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 65c8a322504b2e28cc38bcf2a931f84087f3556b6c871759594c468d4158f467 [INFO] running `Command { std: "docker" "start" "-a" "65c8a322504b2e28cc38bcf2a931f84087f3556b6c871759594c468d4158f467", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking w5500-ll v0.13.0 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking w5500-hl v0.12.0 [INFO] [stderr] Checking w5500-sntp v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking stderrlog v0.6.0 [INFO] [stdout] error[E0432]: unresolved import `w5500_regsim` [INFO] [stdout] --> tests/end_to_end.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use w5500_regsim::W5500; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `w5500_regsim` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `w5500_regsim`, use `cargo add w5500_regsim` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: function `chrono` is not a crate or module [INFO] [stdout] --> src/timestamp.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | use chrono::naive::{NaiveDate, NaiveDateTime, NaiveTime}; [INFO] [stdout] | ^^^^^^ function `chrono` is not a crate or module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `num_rational` [INFO] [stdout] --> src/fixed_point.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | use num_rational::Ratio; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `num_rational` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `num_rational`, use `cargo add num_rational` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `time` [INFO] [stdout] --> src/timestamp.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | use time::PrimitiveDateTime; [INFO] [stdout] | ^^^^ help: a similar path exists: `std::time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: function `time` is not a crate or module [INFO] [stdout] --> src/timestamp.rs:168:39 [INFO] [stdout] | [INFO] [stdout] 168 | core::assert_eq!(pdt.month(), time::Month::April); [INFO] [stdout] | ^^^^ function `time` is not a crate or module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: function `time` is not a crate or module [INFO] [stdout] --> src/timestamp.rs:193:13 [INFO] [stdout] | [INFO] [stdout] 193 | time::Date::from_calendar_date(2036, time::Month::February, 7).unwrap(); [INFO] [stdout] | ^^^^ function `time` is not a crate or module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: function `time` is not a crate or module [INFO] [stdout] --> src/timestamp.rs:193:50 [INFO] [stdout] | [INFO] [stdout] 193 | time::Date::from_calendar_date(2036, time::Month::February, 7).unwrap(); [INFO] [stdout] | ^^^^ function `time` is not a crate or module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: function `time` is not a crate or module [INFO] [stdout] --> src/timestamp.rs:194:32 [INFO] [stdout] | [INFO] [stdout] 194 | let time: time::Time = time::Time::from_hms(6, 28, 16).unwrap(); [INFO] [stdout] | ^^^^ function `time` is not a crate or module [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `w5500-sntp` (test "end_to_end") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `secs` found for struct `Timestamp` in the current scope [INFO] [stdout] --> src/timestamp.rs:154:36 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Timestamp { [INFO] [stdout] | -------------------- method `secs` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 154 | core::assert_eq!(timestamp.secs(), timestamp_converted.secs()); [INFO] [stdout] | ^^^^ method not found in `Timestamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `nanos` found for struct `Timestamp` in the current scope [INFO] [stdout] --> src/timestamp.rs:155:41 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Timestamp { [INFO] [stdout] | -------------------- method `nanos` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 155 | let nanos_diff: u32 = timestamp.nanos().abs_diff(timestamp_converted.nanos()); [INFO] [stdout] | ^^^^^ method not found in `Timestamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: function `time` is not a crate or module [INFO] [stdout] --> src/timestamp.rs:192:19 [INFO] [stdout] | [INFO] [stdout] 192 | let date: time::Date = [INFO] [stdout] | ^^^^ function `time` is not a crate or module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: function `time` is not a crate or module [INFO] [stdout] --> src/timestamp.rs:194:19 [INFO] [stdout] | [INFO] [stdout] 194 | let time: time::Time = time::Time::from_hms(6, 28, 16).unwrap(); [INFO] [stdout] | ^^^^ function `time` is not a crate or module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `w5500-sntp` (lib test) due to 11 previous errors [INFO] running `Command { std: "docker" "inspect" "65c8a322504b2e28cc38bcf2a931f84087f3556b6c871759594c468d4158f467", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65c8a322504b2e28cc38bcf2a931f84087f3556b6c871759594c468d4158f467", kill_on_drop: false }` [INFO] [stdout] 65c8a322504b2e28cc38bcf2a931f84087f3556b6c871759594c468d4158f467