[INFO] fetching crate ruststalk 0.0.1... [INFO] testing ruststalk-0.0.1 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate ruststalk 0.0.1 into /workspace/builds/worker-0-tc1/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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ruststalk 0.0.1 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "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" "+562dee4820c458d823175268e41601d4c060588a" "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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 64d349134b502dd259265e7612b182ca7a827265d78e616041a5752d037e22b8 [INFO] running `Command { std: "docker" "start" "-a" "64d349134b502dd259265e7612b182ca7a827265d78e616041a5752d037e22b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "64d349134b502dd259265e7612b182ca7a827265d78e616041a5752d037e22b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64d349134b502dd259265e7612b182ca7a827265d78e616041a5752d037e22b8", kill_on_drop: false }` [INFO] [stdout] 64d349134b502dd259265e7612b182ca7a827265d78e616041a5752d037e22b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 295b3bb9038e200444b359db2912b25f03d5fbbd551ee91cea7fd1f8eb036657 [INFO] running `Command { std: "docker" "start" "-a" "295b3bb9038e200444b359db2912b25f03d5fbbd551ee91cea7fd1f8eb036657", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Compiling 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[E0425]: 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[E0425]: 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[E0425]: 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[E0425]: 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[E0425]: 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[E0425]: 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[E0425]: 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[E0425]: 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[E0425]: 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[E0425]: 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[E0425]: 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[E0425]: 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[E0425]: 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[E0425]: 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] Some errors have detailed explanations: E0308, E0425, 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] running `Command { std: "docker" "inspect" "295b3bb9038e200444b359db2912b25f03d5fbbd551ee91cea7fd1f8eb036657", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "295b3bb9038e200444b359db2912b25f03d5fbbd551ee91cea7fd1f8eb036657", kill_on_drop: false }` [INFO] [stdout] 295b3bb9038e200444b359db2912b25f03d5fbbd551ee91cea7fd1f8eb036657