[INFO] cloning repository https://github.com/lcdr/base_server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lcdr/base_server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flcdr%2Fbase_server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flcdr%2Fbase_server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3bb19be48bb39aa9c3793b423cff29963ee14708 [INFO] testing lcdr/base_server/3bb19be48bb39aa9c3793b423cff29963ee14708 against master#7704328ba5ae8d6ce0ac303c9d5a1a1605906766 for pr-146989 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flcdr%2Fbase_server" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/lcdr/base_server [INFO] finished tweaking git repo https://github.com/lcdr/base_server [INFO] tweaked toml for git repo https://github.com/lcdr/base_server written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lcdr/base_server on toolchain 7704328ba5ae8d6ce0ac303c9d5a1a1605906766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7704328ba5ae8d6ce0ac303c9d5a1a1605906766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/lcdr/base_server 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" "+7704328ba5ae8d6ce0ac303c9d5a1a1605906766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/lcdr/endio` [INFO] [stderr] Updating git repository `https://github.com/lcdr/lu_packets` [INFO] [stderr] Updating git repository `https://github.com/lcdr/endio_bit` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded webpki v0.21.2 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.62 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.62 [INFO] [stderr] Downloaded quote v1.0.6 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.62 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.62 [INFO] [stderr] Downloaded proc-macro2 v1.0.17 [INFO] [stderr] Downloaded miniz_oxide v0.4.3 [INFO] [stderr] Downloaded js-sys v0.3.39 [INFO] [stderr] Downloaded flate2 v1.0.19 [INFO] [stderr] Downloaded bumpalo v3.3.0 [INFO] [stderr] Downloaded wasm-bindgen v0.2.62 [INFO] [stderr] Downloaded syn v1.0.27 [INFO] [stderr] Downloaded serde_derive v1.0.110 [INFO] [stderr] Downloaded serde v1.0.110 [INFO] [stderr] Downloaded cc v1.0.54 [INFO] [stderr] Downloaded rustls v0.16.0 [INFO] [stderr] Downloaded libc v0.2.71 [INFO] [stderr] Downloaded web-sys v0.3.39 [INFO] [stderr] Downloaded libz-sys v1.1.2 [INFO] [stderr] Downloaded ring v0.16.13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+7704328ba5ae8d6ce0ac303c9d5a1a1605906766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c434dc0effeab42710f7377378edf13991a6e7fe4600cbe91c1fa97d3feebb7a [INFO] running `Command { std: "docker" "start" "-a" "c434dc0effeab42710f7377378edf13991a6e7fe4600cbe91c1fa97d3feebb7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c434dc0effeab42710f7377378edf13991a6e7fe4600cbe91c1fa97d3feebb7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c434dc0effeab42710f7377378edf13991a6e7fe4600cbe91c1fa97d3feebb7a", kill_on_drop: false }` [INFO] [stdout] c434dc0effeab42710f7377378edf13991a6e7fe4600cbe91c1fa97d3feebb7a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+7704328ba5ae8d6ce0ac303c9d5a1a1605906766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4fde680af86a486a893307745f7ede2c4208e2c877d1c502e4370e4073983b7f [INFO] running `Command { std: "docker" "start" "-a" "4fde680af86a486a893307745f7ede2c4208e2c877d1c502e4370e4073983b7f", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.54 [INFO] [stderr] Compiling proc-macro2 v1.0.17 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.27 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling endio_bit v0.1.0 (https://github.com/lcdr/endio_bit?rev=46b1b0eda359dd85b5eabf9714e839c3728c75af#46b1b0ed) [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling ring v0.16.13 [INFO] [stderr] Compiling libz-sys v1.1.2 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Compiling flate2 v1.0.19 [INFO] [stderr] Compiling webpki v0.21.2 [INFO] [stderr] Compiling sct v0.6.0 [INFO] [stderr] Compiling rustls v0.16.0 [INFO] [stderr] Compiling webpki-roots v0.18.0 [INFO] [stderr] Compiling serde_derive v1.0.110 [INFO] [stderr] Compiling endio_derive v0.2.0 (https://github.com/lcdr/endio?rev=6e988eed6d9d3b1fa0edde34062edfb3b01d344a#6e988eed) [INFO] [stderr] Compiling lu_packets_derive v0.1.0 (https://github.com/lcdr/lu_packets?rev=58e22958eca62e0d2d2d98c5de3052900fff1884#58e22958) [INFO] [stderr] Compiling endio v0.2.0 (https://github.com/lcdr/endio?rev=6e988eed6d9d3b1fa0edde34062edfb3b01d344a#6e988eed) [INFO] [stderr] Compiling lu_packets v0.1.0 (https://github.com/lcdr/lu_packets?rev=58e22958eca62e0d2d2d98c5de3052900fff1884#58e22958) [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling base_server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Config` [INFO] [stdout] 14 | pub struct Config { [INFO] [stdout] | ------ `Config` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_DbConf` [INFO] [stdout] 20 | pub struct DbConf { [INFO] [stdout] | ------ `DbConf` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_TlsConf` [INFO] [stdout] 25 | pub struct TlsConf { [INFO] [stdout] | ------- `TlsConf` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.72s [INFO] running `Command { std: "docker" "inspect" "4fde680af86a486a893307745f7ede2c4208e2c877d1c502e4370e4073983b7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fde680af86a486a893307745f7ede2c4208e2c877d1c502e4370e4073983b7f", kill_on_drop: false }` [INFO] [stdout] 4fde680af86a486a893307745f7ede2c4208e2c877d1c502e4370e4073983b7f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+7704328ba5ae8d6ce0ac303c9d5a1a1605906766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a812d88dc00770b8d85278f16acd2d8134a35b1f3e1c500c28a3ad798fc23a49 [INFO] running `Command { std: "docker" "start" "-a" "a812d88dc00770b8d85278f16acd2d8134a35b1f3e1c500c28a3ad798fc23a49", kill_on_drop: false }` [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Config` [INFO] [stdout] 14 | pub struct Config { [INFO] [stdout] | ------ `Config` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_DbConf` [INFO] [stdout] 20 | pub struct DbConf { [INFO] [stdout] | ------ `DbConf` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_TlsConf` [INFO] [stdout] 25 | pub struct TlsConf { [INFO] [stdout] | ------- `TlsConf` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling base_server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `lu_packets::auth_server` [INFO] [stdout] --> src/tcpudp.rs:141:18 [INFO] [stdout] | [INFO] [stdout] 141 | use lu_packets::auth_server::Message as IncMessage; [INFO] [stdout] | ^^^^^^^^^^^ could not find `auth_server` in `lu_packets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `lu_packets::auth_client` [INFO] [stdout] --> src/tcpudp.rs:142:18 [INFO] [stdout] | [INFO] [stdout] 142 | use lu_packets::auth_client::Message as OutMessage; [INFO] [stdout] | ^^^^^^^^^^^ could not find `auth_client` in `lu_packets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `connect` found for struct `Transport` in the current scope [INFO] [stdout] --> src/tcpudp.rs:63:32 [INFO] [stdout] | [INFO] [stdout] 63 | let tcp = ReliableTransport::connect(&addr)?; [INFO] [stdout] | ^^^^^^^ function or associated item not found in `Transport` [INFO] [stdout] | [INFO] [stdout] ::: src/tls.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Transport { [INFO] [stdout] | -------------------- function or associated item `connect` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Transport`, consider using `Transport::from` which returns `Result` [INFO] [stdout] --> src/tls.rs:14:2 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn from(sock: TcpStream, config: &Arc) -> Res { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tcpudp.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | if e.kind() != WouldBlock { [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `base_server` (lib test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "a812d88dc00770b8d85278f16acd2d8134a35b1f3e1c500c28a3ad798fc23a49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a812d88dc00770b8d85278f16acd2d8134a35b1f3e1c500c28a3ad798fc23a49", kill_on_drop: false }` [INFO] [stdout] a812d88dc00770b8d85278f16acd2d8134a35b1f3e1c500c28a3ad798fc23a49