[INFO] cloning repository https://github.com/cp5337/nyx-trace-active-main-6-6 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cp5337/nyx-trace-active-main-6-6" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcp5337%2Fnyx-trace-active-main-6-6", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcp5337%2Fnyx-trace-active-main-6-6'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e3ee824b00481252494bc5596e3de02de562cea3 [INFO] checking cp5337/nyx-trace-active-main-6-6 against try#18c1d185ac7a6a3bf399296b35e4b2736809a756 for pr-146972 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcp5337%2Fnyx-trace-active-main-6-6" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 93% (1649/1762) Updating files: 94% (1657/1762) Updating files: 95% (1674/1762) Updating files: 96% (1692/1762) Updating files: 97% (1710/1762) Updating files: 98% (1727/1762) Updating files: 99% (1745/1762) Updating files: 100% (1762/1762) Updating files: 100% (1762/1762), done. [INFO] started tweaking git repo https://github.com/cp5337/nyx-trace-active-main-6-6 [INFO] finished tweaking git repo https://github.com/cp5337/nyx-trace-active-main-6-6 [INFO] tweaked toml for git repo https://github.com/cp5337/nyx-trace-active-main-6-6 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/cp5337/nyx-trace-active-main-6-6 on toolchain 18c1d185ac7a6a3bf399296b35e4b2736809a756 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+18c1d185ac7a6a3bf399296b35e4b2736809a756" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/cp5337/nyx-trace-active-main-6-6 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" "+18c1d185ac7a6a3bf399296b35e4b2736809a756" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+18c1d185ac7a6a3bf399296b35e4b2736809a756" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 26be6fd7d2243f93b090f9466caccc8a7531d2885d5285b2704a7cbde3a07ae0 [INFO] running `Command { std: "docker" "start" "-a" "26be6fd7d2243f93b090f9466caccc8a7531d2885d5285b2704a7cbde3a07ae0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "26be6fd7d2243f93b090f9466caccc8a7531d2885d5285b2704a7cbde3a07ae0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26be6fd7d2243f93b090f9466caccc8a7531d2885d5285b2704a7cbde3a07ae0", kill_on_drop: false }` [INFO] [stdout] 26be6fd7d2243f93b090f9466caccc8a7531d2885d5285b2704a7cbde3a07ae0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+18c1d185ac7a6a3bf399296b35e4b2736809a756" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 79b70e53f970087a6d2f4ecba721a16073a673299ad956ae1eb325178ac53334 [INFO] running `Command { std: "docker" "start" "-a" "79b70e53f970087a6d2f4ecba721a16073a673299ad956ae1eb325178ac53334", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking serde_json v1.0.141 [INFO] [stderr] Checking uuid v1.17.0 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking ctas_enhanced_scanner v6.6.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `TcpListener` and `TcpStream` [INFO] [stdout] --> port_system.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | use std::net::{TcpListener, TcpStream, SocketAddr, IpAddr, Ipv4Addr}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> port_system.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Instant` [INFO] [stdout] --> port_system.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TcpListener` and `TcpStream` [INFO] [stdout] --> port_system.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | use std::net::{TcpListener, TcpStream, SocketAddr, IpAddr, Ipv4Addr}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> port_system.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Instant` [INFO] [stdout] --> port_system.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> code_validation_fixed.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> code_validation_fixed.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> code_validation_fixed.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> code_validation_fixed.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `port_system::WebSocketManager` in the current scope [INFO] [stdout] --> port_system_demo.rs:116:39 [INFO] [stdout] | [INFO] [stdout] 116 | let ws_manager_clone = ws_manager.clone(); [INFO] [stdout] | ^^^^^ method not found in `port_system::WebSocketManager` [INFO] [stdout] | [INFO] [stdout] ::: port_system.rs:477:1 [INFO] [stdout] | [INFO] [stdout] 477 | pub struct WebSocketManager { [INFO] [stdout] | --------------------------- method `clone` 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 `clone`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `port_system::WebSocketManager` in the current scope [INFO] [stdout] --> port_system_demo.rs:116:39 [INFO] [stdout] | [INFO] [stdout] 116 | let ws_manager_clone = ws_manager.clone(); [INFO] [stdout] | ^^^^^ method not found in `port_system::WebSocketManager` [INFO] [stdout] | [INFO] [stdout] ::: port_system.rs:477:1 [INFO] [stdout] | [INFO] [stdout] 477 | pub struct WebSocketManager { [INFO] [stdout] | --------------------------- method `clone` 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 `clone`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `service_info` [INFO] [stdout] --> port_system.rs:516:42 [INFO] [stdout] | [INFO] [stdout] 516 | pub async fn register_service(&self, service_info: ServiceInfo) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_service_info` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ctas_enhanced_scanner` (bin "port-system-demo") due to 1 previous error; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `service_info` [INFO] [stdout] --> port_system.rs:516:42 [INFO] [stdout] | [INFO] [stdout] 516 | pub async fn register_service(&self, service_info: ServiceInfo) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_service_info` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ctas_enhanced_scanner` (bin "port-system-demo" test) due to 1 previous error; 4 warnings emitted [INFO] [stdout] warning: unused variable: `file_type` [INFO] [stdout] --> code_validation_fixed.rs:1005:72 [INFO] [stdout] | [INFO] [stdout] 1005 | fn validate_file_with_langford(&self, path: &Path, contents: &str, file_type: &FileType) -> LangfordValidation { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_type` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `output_format` is assigned to, but never used [INFO] [stdout] --> code_validation_fixed.rs:1404:9 [INFO] [stdout] | [INFO] [stdout] 1404 | let mut output_format = "json"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_output_format` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `output_format` is never read [INFO] [stdout] --> code_validation_fixed.rs:1429:21 [INFO] [stdout] | [INFO] [stdout] 1429 | output_format = &args[i + 1]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `CTASValidationReport` is more private than the item `CTASEnhancedScanner::scan_repository` [INFO] [stdout] --> code_validation_fixed.rs:1076:5 [INFO] [stdout] | [INFO] [stdout] 1076 | pub fn scan_repository(&self, repo_path: &Path) -> CTASValidationReport { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `CTASEnhancedScanner::scan_repository` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `CTASValidationReport` is only usable at visibility `pub(crate)` [INFO] [stdout] --> code_validation_fixed.rs:251:1 [INFO] [stdout] | [INFO] [stdout] 251 | struct CTASValidationReport { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `required_usim_headers` and `persona_keywords` are never read [INFO] [stdout] --> code_validation_fixed.rs:390:5 [INFO] [stdout] | [INFO] [stdout] 388 | struct ValidationRules { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 389 | min_rdf_density: f64, // 30% [INFO] [stdout] 390 | required_usim_headers: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 391 | dangerous_patterns: Vec, [INFO] [stdout] 392 | persona_keywords: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ValidationRules` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_type` [INFO] [stdout] --> code_validation_fixed.rs:1005:72 [INFO] [stdout] | [INFO] [stdout] 1005 | fn validate_file_with_langford(&self, path: &Path, contents: &str, file_type: &FileType) -> LangfordValidation { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_type` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `output_format` is assigned to, but never used [INFO] [stdout] --> code_validation_fixed.rs:1404:9 [INFO] [stdout] | [INFO] [stdout] 1404 | let mut output_format = "json"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_output_format` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `output_format` is never read [INFO] [stdout] --> code_validation_fixed.rs:1429:21 [INFO] [stdout] | [INFO] [stdout] 1429 | output_format = &args[i + 1]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `CTASValidationReport` is more private than the item `CTASEnhancedScanner::scan_repository` [INFO] [stdout] --> code_validation_fixed.rs:1076:5 [INFO] [stdout] | [INFO] [stdout] 1076 | pub fn scan_repository(&self, repo_path: &Path) -> CTASValidationReport { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `CTASEnhancedScanner::scan_repository` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `CTASValidationReport` is only usable at visibility `pub(crate)` [INFO] [stdout] --> code_validation_fixed.rs:251:1 [INFO] [stdout] | [INFO] [stdout] 251 | struct CTASValidationReport { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `required_usim_headers` and `persona_keywords` are never read [INFO] [stdout] --> code_validation_fixed.rs:390:5 [INFO] [stdout] | [INFO] [stdout] 388 | struct ValidationRules { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 389 | min_rdf_density: f64, // 30% [INFO] [stdout] 390 | required_usim_headers: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 391 | dangerous_patterns: Vec, [INFO] [stdout] 392 | persona_keywords: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ValidationRules` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "79b70e53f970087a6d2f4ecba721a16073a673299ad956ae1eb325178ac53334", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79b70e53f970087a6d2f4ecba721a16073a673299ad956ae1eb325178ac53334", kill_on_drop: false }` [INFO] [stdout] 79b70e53f970087a6d2f4ecba721a16073a673299ad956ae1eb325178ac53334