[INFO] cloning repository https://github.com/jfyuen/rstgc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jfyuen/rstgc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjfyuen%2Frstgc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjfyuen%2Frstgc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cd057b9c6b7666b99f821501d6db993ee68c179f [INFO] checking jfyuen/rstgc against try#b2f80f6008cdafc35b4472bd46afa16cc6b0cd63 for pr-79470 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjfyuen%2Frstgc" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jfyuen/rstgc on toolchain b2f80f6008cdafc35b4472bd46afa16cc6b0cd63 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b2f80f6008cdafc35b4472bd46afa16cc6b0cd63" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jfyuen/rstgc [INFO] finished tweaking git repo https://github.com/jfyuen/rstgc [INFO] tweaked toml for git repo https://github.com/jfyuen/rstgc written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/jfyuen/rstgc already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b2f80f6008cdafc35b4472bd46afa16cc6b0cd63" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+b2f80f6008cdafc35b4472bd46afa16cc6b0cd63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 934d6d9bfc198b5557080e494b9085504934736fbd9be8d4c23132f4c2fc97cf [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" "934d6d9bfc198b5557080e494b9085504934736fbd9be8d4c23132f4c2fc97cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "934d6d9bfc198b5557080e494b9085504934736fbd9be8d4c23132f4c2fc97cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "934d6d9bfc198b5557080e494b9085504934736fbd9be8d4c23132f4c2fc97cf", kill_on_drop: false }` [INFO] [stdout] 934d6d9bfc198b5557080e494b9085504934736fbd9be8d4c23132f4c2fc97cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+b2f80f6008cdafc35b4472bd46afa16cc6b0cd63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c05055f54204ff42f7189e06a1a13aae572a7813b7978b7483e625f3833c4fe3 [INFO] running `Command { std: "docker" "start" "-a" "c05055f54204ff42f7189e06a1a13aae572a7813b7978b7483e625f3833c4fe3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.45 [INFO] [stderr] Compiling serde v1.0.91 [INFO] [stderr] Compiling syn v0.15.34 [INFO] [stderr] Compiling slog v2.4.1 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Compiling bincode v1.1.4 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Checking term v0.5.1 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking time v0.1.41 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking isatty v0.1.9 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking slog-term v2.4.0 [INFO] [stderr] Compiling serde_derive v1.0.91 [INFO] [stderr] Checking rstgc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:36:32 [INFO] [stdout] | [INFO] [stdout] 36 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/message.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | mut writer: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::io::Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/message.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | mut reader: Box, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn std::io::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:36:32 [INFO] [stdout] | [INFO] [stdout] 36 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/message.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | mut writer: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::io::Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/message.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | mut reader: Box, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn std::io::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: try expression alternatives have incompatible types [INFO] [stdout] --> src/client.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | handle1.join()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `!`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected type `!` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: try expression alternatives have incompatible types [INFO] [stdout] --> src/client.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | handle2.join()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `!`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected type `!` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: try expression alternatives have incompatible types [INFO] [stdout] --> src/client.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | handle1.join()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `!`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected type `!` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: try expression alternatives have incompatible types [INFO] [stdout] --> src/client.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | handle2.join()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `!`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected type `!` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:30:48 [INFO] [stdout] | [INFO] [stdout] 30 | TgcError::ChanReceiveError(e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:31:39 [INFO] [stdout] | [INFO] [stdout] 31 | TgcError::IOError(e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:32:46 [INFO] [stdout] | [INFO] [stdout] 32 | TgcError::SerializeError(e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/error.rs:39:48 [INFO] [stdout] | [INFO] [stdout] 39 | TgcError::ChanReceiveError(e) => e.cause(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/error.rs:40:39 [INFO] [stdout] | [INFO] [stdout] 40 | TgcError::IOError(e) => e.cause(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/error.rs:41:46 [INFO] [stdout] | [INFO] [stdout] 41 | TgcError::SerializeError(e) => e.cause(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:30:48 [INFO] [stdout] | [INFO] [stdout] 30 | TgcError::ChanReceiveError(e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:31:39 [INFO] [stdout] | [INFO] [stdout] 31 | TgcError::IOError(e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:32:46 [INFO] [stdout] | [INFO] [stdout] 32 | TgcError::SerializeError(e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/error.rs:39:48 [INFO] [stdout] | [INFO] [stdout] 39 | TgcError::ChanReceiveError(e) => e.cause(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/error.rs:40:39 [INFO] [stdout] | [INFO] [stdout] 40 | TgcError::IOError(e) => e.cause(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/error.rs:41:46 [INFO] [stdout] | [INFO] [stdout] 41 | TgcError::SerializeError(e) => e.cause(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: try expression alternatives have incompatible types [INFO] [stdout] --> src/server.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | handle1.join()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `!`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected type `!` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: try expression alternatives have incompatible types [INFO] [stdout] --> src/server.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | handle2.join()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `!`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected type `!` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: try expression alternatives have incompatible types [INFO] [stdout] --> src/server.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | handle1.join()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `!`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected type `!` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: try expression alternatives have incompatible types [INFO] [stdout] --> src/server.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | handle2.join()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `!`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected type `!` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rstgc` [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" "c05055f54204ff42f7189e06a1a13aae572a7813b7978b7483e625f3833c4fe3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c05055f54204ff42f7189e06a1a13aae572a7813b7978b7483e625f3833c4fe3", kill_on_drop: false }` [INFO] [stdout] c05055f54204ff42f7189e06a1a13aae572a7813b7978b7483e625f3833c4fe3