[INFO] cloning repository https://github.com/burumdev/tokio-tutorial [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/burumdev/tokio-tutorial" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fburumdev%2Ftokio-tutorial", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fburumdev%2Ftokio-tutorial'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6d708df9eb0919c6f0ee1da60daaa78d7bae4d64 [INFO] testing burumdev/tokio-tutorial against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fburumdev%2Ftokio-tutorial" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-6-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/burumdev/tokio-tutorial [INFO] finished tweaking git repo https://github.com/burumdev/tokio-tutorial [INFO] tweaked toml for git repo https://github.com/burumdev/tokio-tutorial written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/burumdev/tokio-tutorial on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/burumdev/tokio-tutorial 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mini-redis v0.4.1 [INFO] [stderr] Downloaded atoi v0.3.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d34f26606045adbe5a2082e28fc923ea115d1b409a6b56a0b54df6ded6b64d6d [INFO] running `Command { std: "docker" "start" "-a" "d34f26606045adbe5a2082e28fc923ea115d1b409a6b56a0b54df6ded6b64d6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d34f26606045adbe5a2082e28fc923ea115d1b409a6b56a0b54df6ded6b64d6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d34f26606045adbe5a2082e28fc923ea115d1b409a6b56a0b54df6ded6b64d6d", kill_on_drop: false }` [INFO] [stdout] d34f26606045adbe5a2082e28fc923ea115d1b409a6b56a0b54df6ded6b64d6d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 71eab7566c86770dcf3dc056a655178391eca95c93f01b63e429074619e0fc68 [INFO] running `Command { std: "docker" "start" "-a" "71eab7566c86770dcf3dc056a655178391eca95c93f01b63e429074619e0fc68", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling tracing-log v0.1.4 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling matchers v0.0.1 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling atoi v0.3.3 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling tracing-serde v0.1.3 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling tracing-subscriber v0.2.25 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling mini-redis v0.4.1 [INFO] [stderr] Compiling a03-io v0.1.0 (/opt/rustwide/workdir/a03-io) [INFO] [stderr] Compiling a05-server-client v0.1.0 (/opt/rustwide/workdir/a05-server-client) [INFO] [stderr] Compiling a06-in-depth v0.1.0 (/opt/rustwide/workdir/a06-in-depth) [INFO] [stderr] Compiling a04-network-io v0.1.0 (/opt/rustwide/workdir/a04-network-io) [INFO] [stderr] Compiling a07-select v0.1.0 (/opt/rustwide/workdir/a07-select) [INFO] [stdout] warning: unused import: `mainfuture::*` [INFO] [stdout] --> a06-in-depth/src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use mainfuture::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MainFuture` is never used [INFO] [stdout] --> a06-in-depth/src/mainfuture.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | enum MainFuture { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> a06-in-depth/src/mini_tokio.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | self.executor.send(self.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 44 | let _ = self.executor.send(self.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling mini-redis-server v0.1.0 (/opt/rustwide/workdir/mini-redis-server) [INFO] [stderr] Compiling a08-streams v0.1.0 (/opt/rustwide/workdir/a08-streams) [INFO] [stderr] Compiling a01-hello v0.1.0 (/opt/rustwide/workdir/a01-hello) [INFO] [stderr] Compiling a02-client-messages v0.1.0 (/opt/rustwide/workdir/a02-client-messages) [INFO] [stdout] error: environment variable `SERVER_ADDRESS` not defined at compile time [INFO] [stdout] --> mini-redis-server/src/main.rs:14:38 [INFO] [stdout] | [INFO] [stdout] 14 | let listener = TcpListener::bind(env!("SERVER_ADDRESS")).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("SERVER_ADDRESS")` to read the variable at run time [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `SERVER_ADDRESS` not defined at compile time [INFO] [stdout] --> mini-redis-server/src/main.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | env!("SERVER_ADDRESS") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("SERVER_ADDRESS")` to read the variable at run time [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `SERVER_ADDRESS` not defined at compile time [INFO] [stdout] --> a02-client-messages/src/main.rs:28:42 [INFO] [stdout] | [INFO] [stdout] 28 | let mut client = client::connect(env!("SERVER_ADDRESS")).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("SERVER_ADDRESS")` to read the variable at run time [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mini-redis-server` (bin "mini-redis-server") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `a02-client-messages` (bin "a02-client-messages") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "71eab7566c86770dcf3dc056a655178391eca95c93f01b63e429074619e0fc68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71eab7566c86770dcf3dc056a655178391eca95c93f01b63e429074619e0fc68", kill_on_drop: false }` [INFO] [stdout] 71eab7566c86770dcf3dc056a655178391eca95c93f01b63e429074619e0fc68