[INFO] cloning repository https://github.com/itechdom/rusty-chatter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/itechdom/rusty-chatter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitechdom%2Frusty-chatter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitechdom%2Frusty-chatter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9d7984335993514020087e396bc38362448eca03 [INFO] testing itechdom/rusty-chatter against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitechdom%2Frusty-chatter" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/itechdom/rusty-chatter [INFO] finished tweaking git repo https://github.com/itechdom/rusty-chatter [INFO] tweaked toml for git repo https://github.com/itechdom/rusty-chatter written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/itechdom/rusty-chatter on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/itechdom/rusty-chatter 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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] [stderr] Updating crates.io index [INFO] [stderr] Locking 3 packages to latest compatible versions [INFO] [stderr] Adding byteorder v1.5.0 [INFO] [stderr] Adding rustc-serialize v0.3.25 [INFO] [stderr] Adding sha1 v0.1.1 (available: v0.11.0) [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 68fff99da54a04fd6f5e18f209c991bd2e77d55cc936eaf3042744907376f820 [INFO] running `Command { std: "docker" "start" "-a" "68fff99da54a04fd6f5e18f209c991bd2e77d55cc936eaf3042744907376f820", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "68fff99da54a04fd6f5e18f209c991bd2e77d55cc936eaf3042744907376f820", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68fff99da54a04fd6f5e18f209c991bd2e77d55cc936eaf3042744907376f820", kill_on_drop: false }` [INFO] [stdout] 68fff99da54a04fd6f5e18f209c991bd2e77d55cc936eaf3042744907376f820 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 69febe36fc218dd8dc6f4aabf6e47c296784ead96fff9b36209b929c9a4cf92a [INFO] running `Command { std: "docker" "start" "-a" "69febe36fc218dd8dc6f4aabf6e47c296784ead96fff9b36209b929c9a4cf92a", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Compiling libc v0.2.23 [INFO] [stderr] Compiling cfg-if v0.1.1 [INFO] [stderr] Compiling log v0.3.8 [INFO] [stderr] Compiling lazycell v0.4.0 [INFO] [stderr] Compiling slab v0.3.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling rustc-serialize v0.3.25 [INFO] [stderr] Compiling sha1 v0.1.1 [INFO] [stderr] Compiling iovec v0.1.0 [INFO] [stderr] Compiling net2 v0.2.29 [INFO] [stderr] Compiling mio v0.6.9 (https://github.com/carllerche/mio#b7e655db) [INFO] [stderr] Compiling rusty-chatter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/main.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | clients: HashMap, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Handler` in this scope [INFO] [stdout] --> src/main.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 12 | impl Handler for WebSocketServer { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `EventLoop` in this scope [INFO] [stdout] --> src/main.rs:24:26 [INFO] [stdout] | [INFO] [stdout] 24 | let mut event_loop = EventLoop::new().unwrap(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `EventLoop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `WebSocketServer` [INFO] [stdout] --> src/main.rs:25:23 [INFO] [stdout] | [INFO] [stdout] 6 | / struct WebSocketServer { [INFO] [stdout] 7 | | socket: TcpListener, [INFO] [stdout] 8 | | clients: HashMap, [INFO] [stdout] 9 | | token_counter: usize [INFO] [stdout] 10 | | } [INFO] [stdout] | |_- `WebSocketServer` defined here [INFO] [stdout] ... [INFO] [stdout] 25 | let mut handler = WebSocketServer; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use struct literal syntax instead: `WebSocketServer { socket: val, clients: val, token_counter: val }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `mio::tcp`: use net module instead [INFO] [stdout] --> src/main.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | use mio::tcp::*; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `EventSet` in this scope [INFO] [stdout] --> src/main.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | EventSet::readable(), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `EventSet` [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 32 - EventSet::readable(), [INFO] [stdout] 32 + Evented::readable(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0423, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rusty-chatter` (bin "rusty-chatter") due to 5 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "69febe36fc218dd8dc6f4aabf6e47c296784ead96fff9b36209b929c9a4cf92a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69febe36fc218dd8dc6f4aabf6e47c296784ead96fff9b36209b929c9a4cf92a", kill_on_drop: false }` [INFO] [stdout] 69febe36fc218dd8dc6f4aabf6e47c296784ead96fff9b36209b929c9a4cf92a