[INFO] fetching crate formattable 0.2.0... [INFO] checking formattable-0.2.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate formattable 0.2.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate formattable 0.2.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate formattable 0.2.0 [INFO] tweaked toml for crates.io crate formattable 0.2.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate formattable 0.2.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 formattable 0.2.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] 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] 7064e612b246377e416e9df753a24dfc0655f1b6164dac4f199323b72d148ed4 [INFO] running `Command { std: "docker" "start" "-a" "7064e612b246377e416e9df753a24dfc0655f1b6164dac4f199323b72d148ed4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7064e612b246377e416e9df753a24dfc0655f1b6164dac4f199323b72d148ed4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7064e612b246377e416e9df753a24dfc0655f1b6164dac4f199323b72d148ed4", kill_on_drop: false }` [INFO] [stdout] 7064e612b246377e416e9df753a24dfc0655f1b6164dac4f199323b72d148ed4 [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] 9dee290acdeb30e33eddf38c4a652c8f77d60663e9cd8a29c871ca8d324ffcc2 [INFO] running `Command { std: "docker" "start" "-a" "9dee290acdeb30e33eddf38c4a652c8f77d60663e9cd8a29c871ca8d324ffcc2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking indexmap v2.8.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling strum_macros v0.27.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Checking strum v0.27.1 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking formattable v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `formattable::FormatArgOpt` [INFO] [stdout] --> examples/format_arg_opt.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use formattable::FormatArgOpt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ no `FormatArgOpt` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(feature = "clap")] [INFO] [stdout] | ---------------- the item is gated behind the `clap` feature [INFO] [stdout] 9 | pub use clap::{FormatArg, FormatArgOpt}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `clap` [INFO] [stdout] --> examples/format_arg_opt.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use clap::Parser; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `clap` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `clap`, use `cargo add clap` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> examples/format_arg_opt.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[clap(flatten)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `formattable::FormatArg` [INFO] [stdout] --> examples/format_arg.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use formattable::FormatArg; [INFO] [stdout] | ^^^^^^^^^^^^^--------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `Format` [INFO] [stdout] | no `FormatArg` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(feature = "clap")] [INFO] [stdout] | ---------------- the item is gated behind the `clap` feature [INFO] [stdout] 9 | pub use clap::{FormatArg, FormatArgOpt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `clap` [INFO] [stdout] --> examples/format_arg.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use clap::Parser; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `clap` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `clap`, use `cargo add clap` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> examples/format_arg.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[clap(flatten)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `parse` found for struct `Cli` in the current scope [INFO] [stdout] --> examples/format_arg_opt.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 9 | struct Cli { [INFO] [stdout] | ---------- function or associated item `parse` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 15 | let cli = Cli::parse(); [INFO] [stdout] | ^^^^^ function or associated item not found in `Cli` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `formattable` (example "format_arg_opt") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no function or associated item named `parse` found for struct `Cli` in the current scope [INFO] [stdout] --> examples/format_arg.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 9 | struct Cli { [INFO] [stdout] | ---------- function or associated item `parse` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 15 | let cli = Cli::parse(); [INFO] [stdout] | ^^^^^ function or associated item not found in `Cli` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `formattable` (example "format_arg") due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "9dee290acdeb30e33eddf38c4a652c8f77d60663e9cd8a29c871ca8d324ffcc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9dee290acdeb30e33eddf38c4a652c8f77d60663e9cd8a29c871ca8d324ffcc2", kill_on_drop: false }` [INFO] [stdout] 9dee290acdeb30e33eddf38c4a652c8f77d60663e9cd8a29c871ca8d324ffcc2