[INFO] fetching crate ruststalk 0.0.1... [INFO] checking ruststalk-0.0.1 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate ruststalk 0.0.1 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate ruststalk 0.0.1 [INFO] finished tweaking crates.io crate ruststalk 0.0.1 [INFO] tweaked toml for crates.io crate ruststalk 0.0.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ruststalk 0.0.1 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8af0a8ed2bbafc8d86193c1b18b280c1b574945e38f3ca2e54cefb5b0d700cf1 [INFO] running `Command { std: "docker" "start" "-a" "8af0a8ed2bbafc8d86193c1b18b280c1b574945e38f3ca2e54cefb5b0d700cf1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8af0a8ed2bbafc8d86193c1b18b280c1b574945e38f3ca2e54cefb5b0d700cf1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8af0a8ed2bbafc8d86193c1b18b280c1b574945e38f3ca2e54cefb5b0d700cf1", kill_on_drop: false }` [INFO] [stdout] 8af0a8ed2bbafc8d86193c1b18b280c1b574945e38f3ca2e54cefb5b0d700cf1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3495176b1a038aac3f40592c0ad967a8a0af8d81e8d4afbf3868d116f5590fbb [INFO] running `Command { std: "docker" "start" "-a" "3495176b1a038aac3f40592c0ad967a8a0af8d81e8d4afbf3868d116f5590fbb", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking ruststalk v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `std::io::TcpStream` [INFO] [stdout] --> src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::TcpStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ no `TcpStream` in `io` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 1 - use std::io::TcpStream; [INFO] [stdout] 1 + use std::net::TcpStream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/lib.rs:32:34 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn put(&mut self, priority: int, delay: int, ttr: int, data: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/lib.rs:32:46 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn put(&mut self, priority: int, delay: int, ttr: int, data: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/lib.rs:32:56 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn put(&mut self, priority: int, delay: int, ttr: int, data: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/lib.rs:55:50 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn reserve_with_timeout(&mut self, seconds: int) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/lib.rs:60:31 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn delete(&mut self, id: int) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/lib.rs:65:32 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn release(&mut self, id: int, priority: int, delay: int) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/lib.rs:65:47 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn release(&mut self, id: int, priority: int, delay: int) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/lib.rs:65:59 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn release(&mut self, id: int, priority: int, delay: int) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/lib.rs:75:29 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn bury(&mut self, id: int, priority: int) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/lib.rs:75:44 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn bury(&mut self, id: int, priority: int) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/lib.rs:84:30 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn touch(&mut self, id: int) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/lib.rs:99:29 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn peek(&mut self, id: int) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/lib.rs:119:32 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn kick(&mut self, bound: int) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/lib.rs:124:34 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn stats_job(&mut self, id: int) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::TcpStream` [INFO] [stdout] --> src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::TcpStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ no `TcpStream` in `io` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 1 - use std::io::TcpStream; [INFO] [stdout] 1 + use std::net::TcpStream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/lib.rs:32:34 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn put(&mut self, priority: int, delay: int, ttr: int, data: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/lib.rs:32:46 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn put(&mut self, priority: int, delay: int, ttr: int, data: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/lib.rs:32:56 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn put(&mut self, priority: int, delay: int, ttr: int, data: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/lib.rs:55:50 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn reserve_with_timeout(&mut self, seconds: int) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/lib.rs:60:31 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn delete(&mut self, id: int) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/lib.rs:65:32 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn release(&mut self, id: int, priority: int, delay: int) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/lib.rs:65:47 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn release(&mut self, id: int, priority: int, delay: int) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/lib.rs:65:59 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn release(&mut self, id: int, priority: int, delay: int) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/lib.rs:75:29 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn bury(&mut self, id: int, priority: int) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/lib.rs:75:44 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn bury(&mut self, id: int, priority: int) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/lib.rs:84:30 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn touch(&mut self, id: int) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/lib.rs:99:29 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn peek(&mut self, id: int) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/lib.rs:119:32 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn kick(&mut self, bound: int) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/lib.rs:124:34 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn stats_job(&mut self, id: int) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | let mut buffer = [0, ..4096]; [INFO] [stdout] | ^^^^^^ expected integer, found `RangeTo<{integer}>` [INFO] [stdout] | [INFO] [stdout] = note: expected type `{integer}` [INFO] [stdout] found struct `RangeTo<{integer}>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | let mut buffer = [0, ..4096]; [INFO] [stdout] | ^^^^^^ expected integer, found `RangeTo<{integer}>` [INFO] [stdout] | [INFO] [stdout] = note: expected type `{integer}` [INFO] [stdout] found struct `RangeTo<{integer}>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ruststalk` (lib) due to 16 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `ruststalk` (lib test) due to 16 previous errors [INFO] running `Command { std: "docker" "inspect" "3495176b1a038aac3f40592c0ad967a8a0af8d81e8d4afbf3868d116f5590fbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3495176b1a038aac3f40592c0ad967a8a0af8d81e8d4afbf3868d116f5590fbb", kill_on_drop: false }` [INFO] [stdout] 3495176b1a038aac3f40592c0ad967a8a0af8d81e8d4afbf3868d116f5590fbb