[INFO] updating cached repository https://github.com/nerfnet/PacketDaemon [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 75aba248683eea894332b184aa8c388fb81f85d0 [INFO] checking nerfnet/PacketDaemon against try#c8bdaa84ec1b37f18f30375e196a65b7602f3790 for pr-73345 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnerfnet%2FPacketDaemon" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nerfnet/PacketDaemon on toolchain c8bdaa84ec1b37f18f30375e196a65b7602f3790 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nerfnet/PacketDaemon [INFO] finished tweaking git repo https://github.com/nerfnet/PacketDaemon [INFO] tweaked toml for git repo https://github.com/nerfnet/PacketDaemon written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/nerfnet/PacketDaemon already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 16c5ccb39f417d4b5764d41a5bcdefd00ec8c74cfd7e41d7f71c5b9bd0bffe4e [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" "16c5ccb39f417d4b5764d41a5bcdefd00ec8c74cfd7e41d7f71c5b9bd0bffe4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "16c5ccb39f417d4b5764d41a5bcdefd00ec8c74cfd7e41d7f71c5b9bd0bffe4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16c5ccb39f417d4b5764d41a5bcdefd00ec8c74cfd7e41d7f71c5b9bd0bffe4e", kill_on_drop: false }` [INFO] [stdout] 16c5ccb39f417d4b5764d41a5bcdefd00ec8c74cfd7e41d7f71c5b9bd0bffe4e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e73d9fb247fb9198a164c94a562e2cba40322e41d0300f4058c71418d5848bf [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" "5e73d9fb247fb9198a164c94a562e2cba40322e41d0300f4058c71418d5848bf", kill_on_drop: false }` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Checking packetdaemon v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0412]: cannot find type `TpcStream` in this scope [INFO] [stdout] --> src/tcc/mod.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | connection: TpcStream, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TcpStream` in this scope [INFO] [stdout] --> src/tcc/mod.rs:8:37 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn on(id: &str, con_stream: TcpStream) -> TcpConnection { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::net::TcpStream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TpcStream` in this scope [INFO] [stdout] --> src/tcc/mod.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | connection: TpcStream, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TcpStream` in this scope [INFO] [stdout] --> src/tcc/mod.rs:8:37 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn on(id: &str, con_stream: TcpStream) -> TcpConnection { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::net::TcpStream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/main.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | let mut tcp_connection = TcpConnection::on("eu-01", connection); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `tcc::TcpConnection`, the trait `std::marker::Sized` is not implemented for `str` [INFO] [stdout] = note: to learn more, visit [INFO] [stdout] = note: required because it appears within the type `tcc::TcpConnection` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/main.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | let mut tcp_connection = TcpConnection::on("eu-01", connection); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `tcc::TcpConnection`, the trait `std::marker::Sized` is not implemented for `str` [INFO] [stdout] = note: to learn more, visit [INFO] [stdout] = note: required because it appears within the type `tcc::TcpConnection` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/main.rs:24:42 [INFO] [stdout] | [INFO] [stdout] 24 | let mut tcp_connection = TcpConnection::on("eu-01", connection); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] ... [INFO] [stdout] 35 | return listener; [INFO] [stdout] | -------- this returned value is of type `std::net::TcpListener` [INFO] [stdout] | [INFO] [stdout] = help: within `tcc::TcpConnection`, the trait `std::marker::Sized` is not implemented for `str` [INFO] [stdout] = note: to learn more, visit [INFO] [stdout] = note: required because it appears within the type `tcc::TcpConnection` [INFO] [stdout] = note: the return type of a function must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tcc/mod.rs:8:51 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn on(id: &str, con_stream: TcpStream) -> TcpConnection { [INFO] [stdout] | -- ^^^^^^^^^^^^^ expected struct `tcc::TcpConnection`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/tcc/mod.rs:8:51 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn on(id: &str, con_stream: TcpStream) -> TcpConnection { [INFO] [stdout] | ^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `tcc::TcpConnection`, the trait `std::marker::Sized` is not implemented for `str` [INFO] [stdout] = note: to learn more, visit [INFO] [stdout] = note: required because it appears within the type `tcc::TcpConnection` [INFO] [stdout] = note: the return type of a function must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0412. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/main.rs:24:42 [INFO] [stdout] | [INFO] [stdout] 24 | let mut tcp_connection = TcpConnection::on("eu-01", connection); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] ... [INFO] [stdout] 35 | return listener; [INFO] [stdout] | -------- this returned value is of type `std::net::TcpListener` [INFO] [stdout] | [INFO] [stdout] = help: within `tcc::TcpConnection`, the trait `std::marker::Sized` is not implemented for `str` [INFO] [stdout] = note: to learn more, visit [INFO] [stdout] = note: required because it appears within the type `tcc::TcpConnection` [INFO] [stdout] = note: the return type of a function must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tcc/mod.rs:8:51 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn on(id: &str, con_stream: TcpStream) -> TcpConnection { [INFO] [stdout] | -- ^^^^^^^^^^^^^ expected struct `tcc::TcpConnection`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/tcc/mod.rs:8:51 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn on(id: &str, con_stream: TcpStream) -> TcpConnection { [INFO] [stdout] | ^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `tcc::TcpConnection`, the trait `std::marker::Sized` is not implemented for `str` [INFO] [stdout] = note: to learn more, visit [INFO] [stdout] = note: required because it appears within the type `tcc::TcpConnection` [INFO] [stdout] = note: the return type of a function must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0412. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `packetdaemon`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "5e73d9fb247fb9198a164c94a562e2cba40322e41d0300f4058c71418d5848bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e73d9fb247fb9198a164c94a562e2cba40322e41d0300f4058c71418d5848bf", kill_on_drop: false }` [INFO] [stdout] 5e73d9fb247fb9198a164c94a562e2cba40322e41d0300f4058c71418d5848bf