[INFO] fetching crate lynn_tcp 1.2.5... [INFO] checking lynn_tcp-1.2.5 against master#8a703520e80d87d4423c01f9d4fbc9e5f6533a02 for pr-154205-1 [INFO] extracting crate lynn_tcp 1.2.5 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate lynn_tcp 1.2.5 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate lynn_tcp 1.2.5 [INFO] tweaked toml for crates.io crate lynn_tcp 1.2.5 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate lynn_tcp 1.2.5 on toolchain 8a703520e80d87d4423c01f9d4fbc9e5f6533a02 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8a703520e80d87d4423c01f9d4fbc9e5f6533a02" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate lynn_tcp 1.2.5 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" "+8a703520e80d87d4423c01f9d4fbc9e5f6533a02" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded prometheus v0.13.4 [INFO] [stderr] Downloaded protobuf v2.28.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+8a703520e80d87d4423c01f9d4fbc9e5f6533a02" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 45aea38366f28cfe533c5322522c67c8c9b6983c714b4c8eee90f069c1af7bba [INFO] running `Command { std: "docker" "start" "-a" "45aea38366f28cfe533c5322522c67c8c9b6983c714b4c8eee90f069c1af7bba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "45aea38366f28cfe533c5322522c67c8c9b6983c714b4c8eee90f069c1af7bba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45aea38366f28cfe533c5322522c67c8c9b6983c714b4c8eee90f069c1af7bba", kill_on_drop: false }` [INFO] [stdout] 45aea38366f28cfe533c5322522c67c8c9b6983c714b4c8eee90f069c1af7bba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+8a703520e80d87d4423c01f9d4fbc9e5f6533a02" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 958e6a0b6c74eb727e94b72d2a2c9c7c8fbfbe49d694ee4f2b39d87b596bbc36 [INFO] running `Command { std: "docker" "start" "-a" "958e6a0b6c74eb727e94b72d2a2c9c7c8fbfbe49d694ee4f2b39d87b596bbc36", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Checking log v0.4.25 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling prometheus v0.13.4 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking lynn_tcp v1.2.5 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find value `METRICS` in this scope [INFO] [stdout] --> examples/metrics_example.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | METRICS.system.memory_used_bytes.set(128 * 1024 * 1024); // 128MB [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `METRICS` in this scope [INFO] [stdout] --> examples/metrics_example.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | METRICS.system.active_threads.set(4); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `METRICS` in this scope [INFO] [stdout] --> examples/metrics_example.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | METRICS.connections.total.inc(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `METRICS` in this scope [INFO] [stdout] --> examples/metrics_example.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | METRICS.messages.received_total.inc(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `METRICS` in this scope [INFO] [stdout] --> examples/metrics_example.rs:64:22 [INFO] [stdout] | [INFO] [stdout] 64 | let _timer = METRICS.messages.processing_duration_seconds.start_timer(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `METRICS` in this scope [INFO] [stdout] --> examples/metrics_example.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | METRICS.messages.size_bytes.observe(data as f64); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `METRICS` in this scope [INFO] [stdout] --> examples/metrics_example.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | METRICS.messages.received_total.inc(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `METRICS` in this scope [INFO] [stdout] --> examples/metrics_example.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | METRICS.connections.total.inc(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `METRICS` in this scope [INFO] [stdout] --> examples/metrics_example.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | METRICS.connections.active.inc(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `METRICS` in this scope [INFO] [stdout] --> examples/metrics_example.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | METRICS.connections.closed_total.inc(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `METRICS` in this scope [INFO] [stdout] --> examples/metrics_example.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | METRICS.connections.failed_total.inc(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `METRICS` in this scope [INFO] [stdout] --> examples/metrics_example.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | METRICS.messages.received_total.inc(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `METRICS` in this scope [INFO] [stdout] --> examples/metrics_example.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | METRICS.messages.sent_total.inc(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `METRICS` in this scope [INFO] [stdout] --> examples/metrics_example.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | METRICS.messages.invalid_total.inc(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `METRICS` in this scope [INFO] [stdout] --> examples/metrics_example.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | METRICS.messages.dropped_total.inc(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `METRICS` in this scope [INFO] [stdout] --> examples/metrics_example.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | METRICS.network.bytes_received_total.inc_by(1024); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `METRICS` in this scope [INFO] [stdout] --> examples/metrics_example.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | METRICS.network.bytes_sent_total.inc_by(2048); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `METRICS` in this scope [INFO] [stdout] --> examples/metrics_example.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | METRICS.system.memory_used_bytes.set(256 * 1024 * 1024); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `METRICS` in this scope [INFO] [stdout] --> examples/metrics_example.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | METRICS.system.active_threads.set(8); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `METRICS` in this scope [INFO] [stdout] --> examples/metrics_example.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | METRICS.system.queue_size.set(100); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `METRICS` in this scope [INFO] [stdout] --> examples/metrics_example.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | METRICS.errors.total [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `METRICS` in this scope [INFO] [stdout] --> examples/metrics_example.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | METRICS.errors.rate_limit_rejected.inc(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `METRICS` in this scope [INFO] [stdout] --> examples/metrics_example.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | METRICS.errors.validation_errors.inc(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `METRICS` in this scope [INFO] [stdout] --> examples/metrics_example.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | METRICS.messages.size_bytes.observe(512.0); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `METRICS` in this scope [INFO] [stdout] --> examples/metrics_example.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | METRICS.messages.processing_duration_seconds.observe(0.025); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `METRICS` in this scope [INFO] [stdout] --> examples/metrics_example.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | METRICS.messages.processing_duration_seconds.observe(duration); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `METRICS` in this scope [INFO] [stdout] --> examples/metrics_example.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | METRICS.messages.processing_duration_seconds.observe_duration(|| { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `metrics` is private [INFO] [stdout] --> examples/metrics_example.rs:129:23 [INFO] [stdout] | [INFO] [stdout] 129 | use lynn_tcp::metrics::Timer; [INFO] [stdout] | ^^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `metrics` is defined here [INFO] [stdout] --> src/lib.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | mod metrics; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: consider importing one of these traits instead [INFO] [stdout] | [INFO] [stdout] 129 - use lynn_tcp::metrics::Timer; [INFO] [stdout] 129 + use crate::Timer; [INFO] [stdout] | [INFO] [stdout] 129 | use lynn_tcp::lynn_metrics::Timer; [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/metrics_example.rs:67:16 [INFO] [stdout] | [INFO] [stdout] 67 | if let Some(data) = input_buf_vo.get_all_bytes().len() { [INFO] [stdout] | ^^^^^^^^^^ ---------------------------------- this expression has type `usize` [INFO] [stdout] | | [INFO] [stdout] | expected `usize`, found `Option<_>` [INFO] [stdout] | [INFO] [stdout] = note: expected type `usize` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lynn_tcp` (example "metrics_example") due to 29 previous errors [INFO] running `Command { std: "docker" "inspect" "958e6a0b6c74eb727e94b72d2a2c9c7c8fbfbe49d694ee4f2b39d87b596bbc36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "958e6a0b6c74eb727e94b72d2a2c9c7c8fbfbe49d694ee4f2b39d87b596bbc36", kill_on_drop: false }` [INFO] [stdout] 958e6a0b6c74eb727e94b72d2a2c9c7c8fbfbe49d694ee4f2b39d87b596bbc36