[INFO] fetching crate scx_stats 1.0.15... [INFO] checking scx_stats-1.0.15 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate scx_stats 1.0.15 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate scx_stats 1.0.15 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate scx_stats 1.0.15 [INFO] tweaked toml for crates.io crate scx_stats 1.0.15 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate scx_stats 1.0.15 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 scx_stats 1.0.15 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-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0c826356f2dcb2e0699324f76dfb5529c29ac14909be82f7fd809c30d914e393 [INFO] running `Command { std: "docker" "start" "-a" "0c826356f2dcb2e0699324f76dfb5529c29ac14909be82f7fd809c30d914e393", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c826356f2dcb2e0699324f76dfb5529c29ac14909be82f7fd809c30d914e393", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c826356f2dcb2e0699324f76dfb5529c29ac14909be82f7fd809c30d914e393", kill_on_drop: false }` [INFO] [stdout] 0c826356f2dcb2e0699324f76dfb5529c29ac14909be82f7fd809c30d914e393 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8182a21c1ee8e24bd31037cf5173045bb5d19382eee900c097df057cdfc87ca1 [INFO] running `Command { std: "docker" "start" "-a" "8182a21c1ee8e24bd31037cf5173045bb5d19382eee900c097df057cdfc87ca1", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking num_threads v0.1.7 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking colored v2.2.0 [INFO] [stderr] Checking deranged v0.4.0 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking crossbeam-queue v0.3.12 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking simple_logger v5.0.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking scx_stats v1.0.15 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `scx_stats_derive` [INFO] [stdout] --> examples/server.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use scx_stats_derive::Stats; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `scx_stats_derive` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `scx_stats_derive`, use `cargo add scx_stats_derive` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `stat` in this scope [INFO] [stdout] --> examples/stats_defs.rs.h:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[stat(desc = "domain statistics", _om_prefix="d_", _om_label="domain_name")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `stat` in this scope [INFO] [stdout] --> examples/stats_defs.rs.h:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[stat(desc = "an event counter")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `stat` in this scope [INFO] [stdout] --> examples/stats_defs.rs.h:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[stat(desc = "a gauge number")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `stat` in this scope [INFO] [stdout] --> examples/stats_defs.rs.h:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | #[stat(desc = "cluster statistics", top)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `stat` in this scope [INFO] [stdout] --> examples/stats_defs.rs.h:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | #[stat(desc = "update timestamp")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `stat` in this scope [INFO] [stdout] --> examples/stats_defs.rs.h:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | #[stat(desc = "some bitmap we want to report", _om_skip)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `stat` in this scope [INFO] [stdout] --> examples/stats_defs.rs.h:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | #[stat(desc = "domain statistics")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `scx_stats_derive` [INFO] [stdout] --> examples/client.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use scx_stats_derive::Stats; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `scx_stats_derive` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `scx_stats_derive`, use `cargo add scx_stats_derive` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `meta` found for struct `ClusterStats` in the current scope [INFO] [stdout] --> examples/server.rs:51:33 [INFO] [stdout] | [INFO] [stdout] 51 | .add_meta(ClusterStats::meta()) [INFO] [stdout] | ^^^^ function or associated item not found in `ClusterStats` [INFO] [stdout] | [INFO] [stdout] ::: examples/stats_defs.rs.h:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | struct ClusterStats { [INFO] [stdout] | ------------------- function or associated item `meta` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `meta`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `scx_stats::Meta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `meta` found for struct `DomainStats` in the current scope [INFO] [stdout] --> examples/server.rs:52:32 [INFO] [stdout] | [INFO] [stdout] 52 | .add_meta(DomainStats::meta()) [INFO] [stdout] | ^^^^ function or associated item not found in `DomainStats` [INFO] [stdout] | [INFO] [stdout] ::: examples/stats_defs.rs.h:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | struct DomainStats { [INFO] [stdout] | ------------------ function or associated item `meta` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `meta`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `scx_stats::Meta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_json` exists for struct `ClusterStats`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/server.rs:61:23 [INFO] [stdout] | [INFO] [stdout] 61 | stats.to_json() [INFO] [stdout] | ^^^^^^^ method cannot be called on `ClusterStats` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: examples/stats_defs.rs.h:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | struct ClusterStats { [INFO] [stdout] | ------------------- method `to_json` not found for this struct because it doesn't satisfy `ClusterStats: scx_stats::Meta` or `ClusterStats: scx_stats::ToJson` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `ClusterStats: scx_stats::Meta` [INFO] [stdout] which is required by `ClusterStats: scx_stats::ToJson` [INFO] [stdout] note: the trait `scx_stats::Meta` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/stats.rs:365:1 [INFO] [stdout] | [INFO] [stdout] 365 | pub trait Meta { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `to_json`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `scx_stats::ToJson` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `stat` in this scope [INFO] [stdout] --> examples/stats_defs.rs.h:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[stat(desc = "domain statistics", _om_prefix="d_", _om_label="domain_name")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `stat` in this scope [INFO] [stdout] --> examples/stats_defs.rs.h:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[stat(desc = "an event counter")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `stat` in this scope [INFO] [stdout] --> examples/stats_defs.rs.h:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[stat(desc = "a gauge number")] [INFO] [stdout] | ^^^^ [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] [stdout] error: cannot find attribute `stat` in this scope [INFO] [stdout] --> examples/stats_defs.rs.h:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | #[stat(desc = "cluster statistics", top)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `stat` in this scope [INFO] [stdout] --> examples/stats_defs.rs.h:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | #[stat(desc = "update timestamp")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `stat` in this scope [INFO] [stdout] --> examples/stats_defs.rs.h:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | #[stat(desc = "some bitmap we want to report", _om_skip)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `scx_stats` (example "server") due to 11 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: cannot find attribute `stat` in this scope [INFO] [stdout] --> examples/stats_defs.rs.h:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | #[stat(desc = "domain statistics")] [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 `scx_stats` (example "client") due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "8182a21c1ee8e24bd31037cf5173045bb5d19382eee900c097df057cdfc87ca1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8182a21c1ee8e24bd31037cf5173045bb5d19382eee900c097df057cdfc87ca1", kill_on_drop: false }` [INFO] [stdout] 8182a21c1ee8e24bd31037cf5173045bb5d19382eee900c097df057cdfc87ca1