[INFO] cloning repository https://github.com/bon-chi/pingpong [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bon-chi/pingpong" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbon-chi%2Fpingpong", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbon-chi%2Fpingpong'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 418c6db3ff3408172917d1ba3a913cdcd68265c3 [INFO] testing bon-chi/pingpong against 1.49.0 for beta-1.50-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbon-chi%2Fpingpong" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bon-chi/pingpong on toolchain 1.49.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/bon-chi/pingpong [INFO] finished tweaking git repo https://github.com/bon-chi/pingpong [INFO] tweaked toml for git repo https://github.com/bon-chi/pingpong written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/bon-chi/pingpong already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /workspace/builds/worker-6/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a84fc95155866eb1ad74b6d66c4d77e0a836fd030187fe5f2463e6a176de1ad3 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a84fc95155866eb1ad74b6d66c4d77e0a836fd030187fe5f2463e6a176de1ad3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a84fc95155866eb1ad74b6d66c4d77e0a836fd030187fe5f2463e6a176de1ad3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a84fc95155866eb1ad74b6d66c4d77e0a836fd030187fe5f2463e6a176de1ad3", kill_on_drop: false }` [INFO] [stdout] a84fc95155866eb1ad74b6d66c4d77e0a836fd030187fe5f2463e6a176de1ad3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 841b1ab53534e47a720c2e3eb2451f342ff9ba72981eeac36bf3ede90946c0bc [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "841b1ab53534e47a720c2e3eb2451f342ff9ba72981eeac36bf3ede90946c0bc", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v0.1.1 [INFO] [stderr] Compiling bytes v0.2.11 [INFO] [stderr] Compiling winapi v0.1.23 [INFO] [stderr] Compiling nix v0.3.10 [INFO] [stderr] Compiling mio v0.4.4 [INFO] [stderr] Compiling pingpong v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0412]: cannot find type `Slab` in this scope [INFO] [stdout] --> src/main.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | connections: Slab, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 3 | use mio::util::Slab; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Connection` in this scope [INFO] [stdout] --> src/main.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 7 | struct Pong { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 8 | server: TcpListener, [INFO] [stdout] 9 | connections: Slab, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `ready` has an incompatible type for trait [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | / fn ready(&mut self, [INFO] [stdout] 17 | | event_loop: &mio::EventLoop, [INFO] [stdout] 18 | | token: mio::Token, [INFO] [stdout] 19 | | events: mio::EventSet) { [INFO] [stdout] ... | [INFO] [stdout] 39 | | } [INFO] [stdout] 40 | | } [INFO] [stdout] | |_____^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&mut Pong, &mut EventLoop, Token, EventSet)` [INFO] [stdout] found fn pointer `fn(&mut Pong, &EventLoop, Token, EventSet)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `connections` in initializer of `Pong` [INFO] [stdout] --> src/main.rs:51:25 [INFO] [stdout] | [INFO] [stdout] 51 | event_loop.run(&mut Pong { server: server }); [INFO] [stdout] | ^^^^ missing `connections` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0053, E0063, E0412. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pingpong` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "841b1ab53534e47a720c2e3eb2451f342ff9ba72981eeac36bf3ede90946c0bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "841b1ab53534e47a720c2e3eb2451f342ff9ba72981eeac36bf3ede90946c0bc", kill_on_drop: false }` [INFO] [stdout] 841b1ab53534e47a720c2e3eb2451f342ff9ba72981eeac36bf3ede90946c0bc