[INFO] cloning repository https://github.com/ranafge/tokio-with-example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ranafge/tokio-with-example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Franafge%2Ftokio-with-example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Franafge%2Ftokio-with-example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d671e82cc71593212e7a6cfc9b2c7aee36c767ca [INFO] checking ranafge/tokio-with-example against master#e23ae72ac7a393961886ea62df065ebb6def7d51 for pr-126571 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Franafge%2Ftokio-with-example" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 75% (747/989) Updating files: 76% (752/989) Updating files: 77% (762/989) Updating files: 78% (772/989) Updating files: 79% (782/989) Updating files: 80% (792/989) Updating files: 81% (802/989) Updating files: 82% (811/989) Updating files: 83% (821/989) Updating files: 84% (831/989) Updating files: 85% (841/989) Updating files: 86% (851/989) Updating files: 87% (861/989) Updating files: 88% (871/989) Updating files: 89% (881/989) Updating files: 90% (891/989) Updating files: 91% (900/989) Updating files: 92% (910/989) Updating files: 93% (920/989) Updating files: 94% (930/989) Updating files: 95% (940/989) Updating files: 96% (950/989) Updating files: 97% (960/989) Updating files: 98% (970/989) Updating files: 99% (980/989) Updating files: 100% (989/989) Updating files: 100% (989/989), done. [INFO] validating manifest of git repo https://github.com/ranafge/tokio-with-example on toolchain e23ae72ac7a393961886ea62df065ebb6def7d51 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e23ae72ac7a393961886ea62df065ebb6def7d51" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ranafge/tokio-with-example [INFO] finished tweaking git repo https://github.com/ranafge/tokio-with-example [INFO] tweaked toml for git repo https://github.com/ranafge/tokio-with-example written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ranafge/tokio-with-example 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" "+e23ae72ac7a393961886ea62df065ebb6def7d51" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+e23ae72ac7a393961886ea62df065ebb6def7d51" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7fd1a03948f0f420d9059e9ae1c5d5f76c3daddeb9e0d357384873ca3f07682d [INFO] running `Command { std: "docker" "start" "-a" "7fd1a03948f0f420d9059e9ae1c5d5f76c3daddeb9e0d357384873ca3f07682d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7fd1a03948f0f420d9059e9ae1c5d5f76c3daddeb9e0d357384873ca3f07682d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7fd1a03948f0f420d9059e9ae1c5d5f76c3daddeb9e0d357384873ca3f07682d", kill_on_drop: false }` [INFO] [stdout] 7fd1a03948f0f420d9059e9ae1c5d5f76c3daddeb9e0d357384873ca3f07682d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+e23ae72ac7a393961886ea62df065ebb6def7d51" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a43bf82dbb6505105f19b55fce07bb90d26478fd44d5891b8a09cdaaf592bc64 [INFO] running `Command { std: "docker" "start" "-a" "a43bf82dbb6505105f19b55fce07bb90d26478fd44d5891b8a09cdaaf592bc64", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking tokio-test v0.1.0 (/opt/rustwide/workdir/tokio-test) [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.50 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking rust_tokio_with_example v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0601]: `main` function not found in crate `info` [INFO] [stdout] --> examples/info.rs:6:47 [INFO] [stdout] | [INFO] [stdout] 6 | // command: cargo run --examples &name of file [INFO] [stdout] | ^ consider adding a `main` function to `examples/info.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_tokio_with_example` (example "info") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `tokio::runtime::Handle` [INFO] [stdout] --> examples/dumps.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use tokio::runtime::Handle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TcpStream` [INFO] [stdout] --> examples/echo.rs:23:31 [INFO] [stdout] | [INFO] [stdout] 23 | use tokio::net::{TcpListener, TcpStream}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `dump` found for struct `Handle` in the current scope [INFO] [stdout] --> examples/dumps.rs:33:73 [INFO] [stdout] | [INFO] [stdout] 33 | if let Ok(dump) = timeout(Duration::from_secs(2),handle.dump()).await { [INFO] [stdout] | ^^^^ method not found in `Handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_tokio_with_example` (example "dumps") due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "a43bf82dbb6505105f19b55fce07bb90d26478fd44d5891b8a09cdaaf592bc64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a43bf82dbb6505105f19b55fce07bb90d26478fd44d5891b8a09cdaaf592bc64", kill_on_drop: false }` [INFO] [stdout] a43bf82dbb6505105f19b55fce07bb90d26478fd44d5891b8a09cdaaf592bc64