[INFO] fetching crate padded-number 0.5.0... [INFO] checking padded-number-0.5.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate padded-number 0.5.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate padded-number 0.5.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate padded-number 0.5.0 [INFO] tweaked toml for crates.io crate padded-number 0.5.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate padded-number 0.5.0 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] crate crates.io crate padded-number 0.5.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded konst_proc_macros v0.3.10 [INFO] [stderr] Downloaded padded-number-internal v0.5.0 [INFO] [stderr] Downloaded padded-number-macros v0.5.0 [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] e520e086c68beb259d566eca3a04e145e38a450c748b475ec732daa15a8cdfb8 [INFO] running `Command { std: "docker" "start" "-a" "e520e086c68beb259d566eca3a04e145e38a450c748b475ec732daa15a8cdfb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e520e086c68beb259d566eca3a04e145e38a450c748b475ec732daa15a8cdfb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e520e086c68beb259d566eca3a04e145e38a450c748b475ec732daa15a8cdfb8", kill_on_drop: false }` [INFO] [stdout] e520e086c68beb259d566eca3a04e145e38a450c748b475ec732daa15a8cdfb8 [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] db88c6b129bf78e8b118cb0e3624bb497ce6bd433a67faad5c948bffacf18701 [INFO] running `Command { std: "docker" "start" "-a" "db88c6b129bf78e8b118cb0e3624bb497ce6bd433a67faad5c948bffacf18701", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Compiling typewit_proc_macros v1.8.1 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling konst_proc_macros v0.3.10 [INFO] [stderr] Checking const_panic v0.2.12 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking ryu v1.0.19 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking typewit v1.11.0 [INFO] [stderr] Checking konst_kernel v0.3.15 [INFO] [stderr] Checking konst v0.3.16 [INFO] [stderr] Compiling quote v1.0.39 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Checking padded-number-internal v0.5.0 [INFO] [stderr] Checking padded-number v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `padded_number::padded_number` [INFO] [stdout] --> tests/mod.rs:3:56 [INFO] [stdout] | [INFO] [stdout] 3 | use padded_number::{PaddedNumber, bound_padded_number, padded_number}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `padded_number` in the root [INFO] [stdout] | help: a similar name exists in the module: `PaddedNumber` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:8:53 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(feature = "macros")] [INFO] [stdout] | ------------------ the item is gated behind the `macros` feature [INFO] [stdout] 8 | pub use padded_number_macros::{bound_padded_number, padded_number}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `padded-number` (test "mod") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: could not find `section` in the crate root [INFO] [stdout] --> src/section_tests.rs:24:25 [INFO] [stdout] | [INFO] [stdout] 24 | let actual = crate::section::number_subsection(NUMBER_TO_SECTION, start, end); [INFO] [stdout] | ^^^^^^^ could not find `section` in the crate root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | #[cfg(feature = "unstable-nightly")] [INFO] [stdout] | ---------------------------- the item is gated behind the `unstable-nightly` feature [INFO] [stdout] 28 | mod section; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `core::PaddedNumber<1, 4>: serde::de::Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/serde_tests.rs:16:31 [INFO] [stdout] | [INFO] [stdout] 16 | let deserialized_number = serde_json::from_str(mock_json_str()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `serde::de::Deserialize<'_>` is not implemented for `core::PaddedNumber<1, 4>` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `core::PaddedNumber<1, 4>` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde::de::Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 142 others [INFO] [stdout] note: required by a bound in `serde_json::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.140/src/de.rs:2699:8 [INFO] [stdout] | [INFO] [stdout] 2697 | pub fn from_str<'a, T>(s: &'a str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 2698 | where [INFO] [stdout] 2699 | T: de::Deserialize<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `core::PaddedNumber<1, 4>: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> src/serde_tests.rs:22:45 [INFO] [stdout] | [INFO] [stdout] 22 | let actual_json = serde_json::to_string(&mock_number()).unwrap(); [INFO] [stdout] | --------------------- ^^^^^^^^^^^^^^ the trait `serde::ser::Serialize` is not implemented for `core::PaddedNumber<1, 4>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `core::PaddedNumber<1, 4>` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde::ser::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 131 others [INFO] [stdout] note: required by a bound in `serde_json::to_string` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.140/src/ser.rs:2239:17 [INFO] [stdout] | [INFO] [stdout] 2237 | pub fn to_string(value: &T) -> Result [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 2238 | where [INFO] [stdout] 2239 | T: ?Sized + Serialize, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `checked_section` found for struct `core::PaddedNumber` in the current scope [INFO] [stdout] --> src/section_tests.rs:32:27 [INFO] [stdout] | [INFO] [stdout] 32 | assert!(padded_number.checked_section::<1, 5>().is_none()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `core::PaddedNumber<1, 5>` [INFO] [stdout] | [INFO] [stdout] ::: src/core.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct PaddedNumber { [INFO] [stdout] | ------------------------------------------------------------------- method `checked_section` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `checked_section` found for struct `core::PaddedNumber` in the current scope [INFO] [stdout] --> src/section_tests.rs:33:27 [INFO] [stdout] | [INFO] [stdout] 33 | assert!(padded_number.checked_section::<3, 5>().is_none()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `core::PaddedNumber<1, 5>` [INFO] [stdout] | [INFO] [stdout] ::: src/core.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct PaddedNumber { [INFO] [stdout] | ------------------------------------------------------------------- method `checked_section` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expected_section` found for struct `core::PaddedNumber` in the current scope [INFO] [stdout] --> src/section_tests.rs:67:40 [INFO] [stdout] | [INFO] [stdout] 67 | let actual_section = padded_number.expected_section::<0, 3>(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method not found in `core::PaddedNumber<3, 5>` [INFO] [stdout] | [INFO] [stdout] ::: src/core.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct PaddedNumber { [INFO] [stdout] | ------------------------------------------------------------------- method `expected_section` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `checked_section` found for struct `core::PaddedNumber` in the current scope [INFO] [stdout] --> src/section_tests.rs:79:40 [INFO] [stdout] | [INFO] [stdout] 79 | let actual_section = padded_number.checked_section::().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `core::PaddedNumber` [INFO] [stdout] | [INFO] [stdout] ::: src/core.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct PaddedNumber { [INFO] [stdout] | ------------------------------------------------------------------- method `checked_section` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0599. [INFO] [stdout] [INFO] [stderr] error: could not compile `padded-number` (lib test) due to 7 previous errors [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "db88c6b129bf78e8b118cb0e3624bb497ce6bd433a67faad5c948bffacf18701", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db88c6b129bf78e8b118cb0e3624bb497ce6bd433a67faad5c948bffacf18701", kill_on_drop: false }` [INFO] [stdout] db88c6b129bf78e8b118cb0e3624bb497ce6bd433a67faad5c948bffacf18701