[INFO] cloning repository https://github.com/cherish-ltt/lynn_tcp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cherish-ltt/lynn_tcp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcherish-ltt%2Flynn_tcp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcherish-ltt%2Flynn_tcp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ce7128508f0d992fe2ad43f9ab99eed1d70a8296 [INFO] testing cherish-ltt/lynn_tcp/ce7128508f0d992fe2ad43f9ab99eed1d70a8296 against master#2fd6efc32704647e64d3d646d21c4c68eae100e4 for pr-149852-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcherish-ltt%2Flynn_tcp" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/cherish-ltt/lynn_tcp [INFO] finished tweaking git repo https://github.com/cherish-ltt/lynn_tcp [INFO] tweaked toml for git repo https://github.com/cherish-ltt/lynn_tcp written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/cherish-ltt/lynn_tcp on toolchain 2fd6efc32704647e64d3d646d21c4c68eae100e4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/cherish-ltt/lynn_tcp 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" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded miniz_oxide v0.8.3 [INFO] [stderr] Downloaded prometheus v0.13.4 [INFO] [stderr] Downloaded log v0.4.25 [INFO] [stderr] Downloaded protobuf v2.28.0 [INFO] [stderr] Downloaded syn v2.0.96 [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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8d1c12ecdbdc374c6d7604ef28009cba660c49a8cd8e8954a4f12c035582888d [INFO] running `Command { std: "docker" "start" "-a" "8d1c12ecdbdc374c6d7604ef28009cba660c49a8cd8e8954a4f12c035582888d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8d1c12ecdbdc374c6d7604ef28009cba660c49a8cd8e8954a4f12c035582888d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d1c12ecdbdc374c6d7604ef28009cba660c49a8cd8e8954a4f12c035582888d", kill_on_drop: false }` [INFO] [stdout] 8d1c12ecdbdc374c6d7604ef28009cba660c49a8cd8e8954a4f12c035582888d [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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 18c7ee07cd1c84e534884e7d2aece95df42a6f4e0ca0f76b21a60202f226717c [INFO] running `Command { std: "docker" "start" "-a" "18c7ee07cd1c84e534884e7d2aece95df42a6f4e0ca0f76b21a60202f226717c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling prometheus v0.13.4 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling dashmap v6.1.0 [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] Compiling tokio v1.47.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling lynn_tcp v1.2.5 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.01s [INFO] running `Command { std: "docker" "inspect" "18c7ee07cd1c84e534884e7d2aece95df42a6f4e0ca0f76b21a60202f226717c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18c7ee07cd1c84e534884e7d2aece95df42a6f4e0ca0f76b21a60202f226717c", kill_on_drop: false }` [INFO] [stdout] 18c7ee07cd1c84e534884e7d2aece95df42a6f4e0ca0f76b21a60202f226717c [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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 23c00fadd16c0c301bdf94c3382f312a3750deb235a070647f6384b4dc93cd88 [INFO] running `Command { std: "docker" "start" "-a" "23c00fadd16c0c301bdf94c3382f312a3750deb235a070647f6384b4dc93cd88", kill_on_drop: false }` [INFO] [stderr] Compiling 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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "23c00fadd16c0c301bdf94c3382f312a3750deb235a070647f6384b4dc93cd88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23c00fadd16c0c301bdf94c3382f312a3750deb235a070647f6384b4dc93cd88", kill_on_drop: false }` [INFO] [stdout] 23c00fadd16c0c301bdf94c3382f312a3750deb235a070647f6384b4dc93cd88