[INFO] fetching crate string_telephone 0.0.3... [INFO] testing string_telephone-0.0.3 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate string_telephone 0.0.3 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate string_telephone 0.0.3 [INFO] finished tweaking crates.io crate string_telephone 0.0.3 [INFO] tweaked toml for crates.io crate string_telephone 0.0.3 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate string_telephone 0.0.3 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 6 packages to latest compatible versions [INFO] [stderr] Adding time v0.1.45 (available: v0.3.44) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f4a0b8d4533c6a704a7838c882de240de9ead58c818c8b409d21db069b7b5d5d [INFO] running `Command { std: "docker" "start" "-a" "f4a0b8d4533c6a704a7838c882de240de9ead58c818c8b409d21db069b7b5d5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f4a0b8d4533c6a704a7838c882de240de9ead58c818c8b409d21db069b7b5d5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4a0b8d4533c6a704a7838c882de240de9ead58c818c8b409d21db069b7b5d5d", kill_on_drop: false }` [INFO] [stdout] f4a0b8d4533c6a704a7838c882de240de9ead58c818c8b409d21db069b7b5d5d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 32a2a576356729370e0b35f9b0d3ba82aff321ce2c32d775e4d159cf7594ce4a [INFO] running `Command { std: "docker" "start" "-a" "32a2a576356729370e0b35f9b0d3ba82aff321ce2c32d775e4d159cf7594ce4a", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling string_telephone v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `std::old_io` [INFO] [stdout] --> src/packet.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | use std::old_io::{IoResult, IoError, OtherIoError}; [INFO] [stdout] | ^^^^^^ could not find `old_io` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::old_io` [INFO] [stdout] --> src/packet.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | use std::old_io::BufReader; [INFO] [stdout] | ^^^^^^ could not find `old_io` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::num::FromPrimitive` [INFO] [stdout] --> src/packet.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::num::FromPrimitive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `FromPrimitive` in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `old_io` in `std` [INFO] [stdout] --> src/client.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | use std::old_io::net::udp::UdpSocket; [INFO] [stdout] | ^^^^^^ could not find `old_io` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `old_io` in `std` [INFO] [stdout] --> src/client.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | use std::old_io::net::ip::SocketAddr; [INFO] [stdout] | ^^^^^^ could not find `old_io` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::time::duration` [INFO] [stdout] --> src/shared.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::time::duration::Duration; [INFO] [stdout] | ^^^^^^^^ could not find `duration` in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::old_io` [INFO] [stdout] --> src/client.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | use std::old_io::{IoResult, IoError, OtherIoError, TimedOut}; [INFO] [stdout] | ^^^^^^ could not find `old_io` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::old_io` [INFO] [stdout] --> src/client.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | use std::old_io::Timer; [INFO] [stdout] | ^^^^^^ could not find `old_io` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::sync::mpsc::Select` [INFO] [stdout] --> src/client.rs:5:64 [INFO] [stdout] | [INFO] [stdout] 5 | use std::sync::mpsc::{Sender, Receiver, TryRecvError, channel, Select}; [INFO] [stdout] | ^^^^^^ no `Select` in `sync::mpsc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `old_io` in `std` [INFO] [stdout] --> src/server.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | use std::old_io::net::udp::UdpSocket; [INFO] [stdout] | ^^^^^^ could not find `old_io` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `old_io` in `std` [INFO] [stdout] --> src/server.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | use std::old_io::net::ip::{SocketAddr, Ipv4Addr, Ipv6Addr}; [INFO] [stdout] | ^^^^^^ could not find `old_io` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::time::duration` [INFO] [stdout] --> src/client.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | use std::time::duration::Duration; [INFO] [stdout] | ^^^^^^^^ could not find `duration` in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::old_io` [INFO] [stdout] --> src/server.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | use std::old_io::{IoResult, TimedOut}; [INFO] [stdout] | ^^^^^^ could not find `old_io` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::sync::mpsc::Select` [INFO] [stdout] --> src/server.rs:4:64 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::mpsc::{Sender, Receiver, TryRecvError, channel, Select}; [INFO] [stdout] | ^^^^^^ no `Select` in `sync::mpsc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Show` in this scope [INFO] [stdout] --> src/packet.rs:6:32 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(FromPrimitive, Clone, Show, PartialEq, Copy)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `unsafe_destructor` in this scope [INFO] [stdout] --> src/client.rs:307:3 [INFO] [stdout] | [INFO] [stdout] 307 | #[unsafe_destructor] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `unsafe_destructor` in this scope [INFO] [stdout] --> src/server.rs:283:3 [INFO] [stdout] | [INFO] [stdout] 283 | #[unsafe_destructor] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/packet.rs:80:27 [INFO] [stdout] | [INFO] [stdout] 80 | let protocol_id = try!(r.read_be_u32()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/packet.rs:81:27 [INFO] [stdout] | [INFO] [stdout] 81 | let sequence_id = try!(r.read_be_u16()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/packet.rs:82:27 [INFO] [stdout] | [INFO] [stdout] 82 | let packet_type = try!(r.read_byte()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/packet.rs:83:23 [INFO] [stdout] | [INFO] [stdout] 83 | let content = try!(r.read_to_end()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/packet.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | try!(w.write_be_u32(self.protocol_id)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/packet.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | try!(w.write_be_u16(self.sequence_id)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/packet.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | try!(w.write_u8(self.packet_type as u8)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/packet.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | try!(w.write(content.as_slice())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `unsafe_destructor` [INFO] [stdout] --> src/lib.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | #![feature(unsafe_destructor)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_be_u32` found for struct `Vec<_>` in the current scope [INFO] [stdout] --> src/packet.rs:105:16 [INFO] [stdout] | [INFO] [stdout] 105 | try!(w.write_be_u32(self.protocol_id)); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `Vec<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_be_u16` found for struct `Vec<_>` in the current scope [INFO] [stdout] --> src/packet.rs:106:16 [INFO] [stdout] | [INFO] [stdout] 106 | try!(w.write_be_u16(self.sequence_id)); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `Vec<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_u8` found for struct `Vec<_>` in the current scope [INFO] [stdout] --> src/packet.rs:107:16 [INFO] [stdout] | [INFO] [stdout] 107 | try!(w.write_u8(self.packet_type as u8)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `write` with a similar name [INFO] [stdout] | [INFO] [stdout] 107 - try!(w.write_u8(self.packet_type as u8)); [INFO] [stdout] 107 + try!(w.write(self.packet_type as u8)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `Vec<_>` in the current scope [INFO] [stdout] --> src/packet.rs:110:24 [INFO] [stdout] | [INFO] [stdout] 110 | try!(w.write(content.as_slice())) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:1724:8 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `Vec<_>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Write` which provides `write` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Write; [INFO] [stdout] | [INFO] [stdout] help: there is a method `write_all` with a similar name [INFO] [stdout] | [INFO] [stdout] 110 | try!(w.write_all(content.as_slice())) [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `slice_to` found for array `[{integer}; 1024]` in the current scope [INFO] [stdout] --> src/client.rs:40:51 [INFO] [stdout] | [INFO] [stdout] 40 | match Packet::deserialize(buf.slice_to(amt)) { [INFO] [stdout] | ^^^^^^^^ method not found in `[{integer}; 1024]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `spawn` found for struct `Thread` in the current scope [INFO] [stdout] --> src/client.rs:162:25 [INFO] [stdout] | [INFO] [stdout] 162 | Thread::spawn(move || { [INFO] [stdout] | ^^^^^ function or associated item not found in `Thread` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Thread`, consider using `Thread::from_raw` which returns `Thread` [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:1670:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `spawn` found for struct `Thread` in the current scope [INFO] [stdout] --> src/client.rs:168:25 [INFO] [stdout] | [INFO] [stdout] 168 | Thread::spawn(move || { [INFO] [stdout] | ^^^^^ function or associated item not found in `Thread` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Thread`, consider using `Thread::from_raw` which returns `Thread` [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:1670:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `slice_to` found for array `[{integer}; 1024]` in the current scope [INFO] [stdout] --> src/server.rs:61:47 [INFO] [stdout] | [INFO] [stdout] 61 | match Packet::deserialize(buf.slice_to(amt)) { [INFO] [stdout] | ^^^^^^^^ method not found in `[{integer}; 1024]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `spawn` found for struct `Thread` in the current scope [INFO] [stdout] --> src/server.rs:133:25 [INFO] [stdout] | [INFO] [stdout] 133 | Thread::spawn(move || { [INFO] [stdout] | ^^^^^ function or associated item not found in `Thread` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Thread`, consider using `Thread::from_raw` which returns `Thread` [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:1670:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `spawn` found for struct `Thread` in the current scope [INFO] [stdout] --> src/server.rs:140:25 [INFO] [stdout] | [INFO] [stdout] 140 | Thread::spawn(move || { [INFO] [stdout] | ^^^^^ function or associated item not found in `Thread` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Thread`, consider using `Thread::from_raw` which returns `Thread` [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:1670:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `string_telephone` (lib) due to 28 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "32a2a576356729370e0b35f9b0d3ba82aff321ce2c32d775e4d159cf7594ce4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32a2a576356729370e0b35f9b0d3ba82aff321ce2c32d775e4d159cf7594ce4a", kill_on_drop: false }` [INFO] [stdout] 32a2a576356729370e0b35f9b0d3ba82aff321ce2c32d775e4d159cf7594ce4a