[INFO] cloning repository https://github.com/MathiasStadler/test_rust_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/MathiasStadler/test_rust_tokio_tutorial" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMathiasStadler%2Ftest_rust_tokio_tutorial", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMathiasStadler%2Ftest_rust_tokio_tutorial'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5dff7dfab0c22883da28e91c0a66113bdffeb120 [INFO] checking MathiasStadler/test_rust_tokio_tutorial against try#79452e8441468c5568c20bfca2aa1fe75b645b2d for pr-152210 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMathiasStadler%2Ftest_rust_tokio_tutorial" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/MathiasStadler/test_rust_tokio_tutorial [INFO] finished tweaking git repo https://github.com/MathiasStadler/test_rust_tokio_tutorial [INFO] tweaked toml for git repo https://github.com/MathiasStadler/test_rust_tokio_tutorial written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/MathiasStadler/test_rust_tokio_tutorial on toolchain 79452e8441468c5568c20bfca2aa1fe75b645b2d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+79452e8441468c5568c20bfca2aa1fe75b645b2d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/MathiasStadler/test_rust_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" "+79452e8441468c5568c20bfca2aa1fe75b645b2d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded chrono v0.4.35 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+79452e8441468c5568c20bfca2aa1fe75b645b2d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4487fe68a5c7354a6721bfac10a2f31f195f736c398c47ae118fa2870bedd7e5 [INFO] running `Command { std: "docker" "start" "-a" "4487fe68a5c7354a6721bfac10a2f31f195f736c398c47ae118fa2870bedd7e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4487fe68a5c7354a6721bfac10a2f31f195f736c398c47ae118fa2870bedd7e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4487fe68a5c7354a6721bfac10a2f31f195f736c398c47ae118fa2870bedd7e5", kill_on_drop: false }` [INFO] [stdout] 4487fe68a5c7354a6721bfac10a2f31f195f736c398c47ae118fa2870bedd7e5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+79452e8441468c5568c20bfca2aa1fe75b645b2d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] efc9ec9da53fb3ad8c374f3d6a0478cf36edb8011067a068834b17a9811ca295 [INFO] running `Command { std: "docker" "start" "-a" "efc9ec9da53fb3ad8c374f3d6a0478cf36edb8011067a068834b17a9811ca295", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking matchers v0.0.1 [INFO] [stderr] Checking tracing-log v0.1.4 [INFO] [stderr] Checking atoi v0.3.3 [INFO] [stderr] Checking test_rust_tokio_tutorial v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking chrono v0.4.35 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.53 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Checking tracing-serde v0.1.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tracing-subscriber v0.2.25 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking mini-redis v0.4.1 [INFO] [stderr] Checking my-redis v0.1.0 (/opt/rustwide/workdir/my-redis) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_util` [INFO] [stdout] --> my-redis/src/bin/tinydb.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | use tokio_util::codec::{Framed, LinesCodec}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_util` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio_util`, use `cargo add tokio_util` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio_stream` [INFO] [stdout] --> my-redis/src/bin/tinydb.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | use tokio_stream::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_stream` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio_stream`, use `cargo add tokio_stream` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> my-redis/src/bin/tinydb.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | use futures::SinkExt; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_util` [INFO] [stdout] --> my-redis/src/bin/tinydb.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | use tokio_util::codec::{Framed, LinesCodec}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_util` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio_util`, use `cargo add tokio_util` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio_stream` [INFO] [stdout] --> my-redis/src/bin/tinydb.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | use tokio_stream::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_stream` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio_stream`, use `cargo add tokio_stream` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> my-redis/src/bin/tinydb.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | use futures::SinkExt; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `futures`, use `cargo add futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> my-redis/src/bin/tinydb.rs:131:32 [INFO] [stdout] | [INFO] [stdout] 131 | ... Ok(line) => { [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> my-redis/src/bin/tinydb.rs:131:29 [INFO] [stdout] | [INFO] [stdout] 131 | ... Ok(line) => { [INFO] [stdout] | ^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by a bound in `Ok` [INFO] [stdout] --> /rustc/79452e8441468c5568c20bfca2aa1fe75b645b2d/library/core/src/result.rs:561:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> my-redis/src/bin/tinydb.rs:140:29 [INFO] [stdout] | [INFO] [stdout] 140 | ... Err(e) => { [INFO] [stdout] | ^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by a bound in `Err` [INFO] [stdout] --> /rustc/79452e8441468c5568c20bfca2aa1fe75b645b2d/library/core/src/result.rs:566:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> my-redis/src/bin/tinydb.rs:129:59 [INFO] [stdout] | [INFO] [stdout] 129 | while let Some(result) = lines.next().await { [INFO] [stdout] | ^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by an implicit `Sized` bound in `Result` [INFO] [stdout] --> /rustc/79452e8441468c5568c20bfca2aa1fe75b645b2d/library/core/src/result.rs:557:0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> my-redis/src/bin/tinydb.rs:131:32 [INFO] [stdout] | [INFO] [stdout] 131 | ... Ok(line) => { [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> my-redis/src/bin/tinydb.rs:131:29 [INFO] [stdout] | [INFO] [stdout] 131 | ... Ok(line) => { [INFO] [stdout] | ^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by a bound in `Ok` [INFO] [stdout] --> /rustc/79452e8441468c5568c20bfca2aa1fe75b645b2d/library/core/src/result.rs:561:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> my-redis/src/bin/tinydb.rs:140:29 [INFO] [stdout] | [INFO] [stdout] 140 | ... Err(e) => { [INFO] [stdout] | ^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by a bound in `Err` [INFO] [stdout] --> /rustc/79452e8441468c5568c20bfca2aa1fe75b645b2d/library/core/src/result.rs:566:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> my-redis/src/bin/tinydb.rs:129:59 [INFO] [stdout] | [INFO] [stdout] 129 | while let Some(result) = lines.next().await { [INFO] [stdout] | ^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by an implicit `Sized` bound in `Result` [INFO] [stdout] --> /rustc/79452e8441468c5568c20bfca2aa1fe75b645b2d/library/core/src/result.rs:557:0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `my-redis` (bin "tinydb" test) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `my-redis` (bin "tinydb") due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "efc9ec9da53fb3ad8c374f3d6a0478cf36edb8011067a068834b17a9811ca295", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "efc9ec9da53fb3ad8c374f3d6a0478cf36edb8011067a068834b17a9811ca295", kill_on_drop: false }` [INFO] [stdout] efc9ec9da53fb3ad8c374f3d6a0478cf36edb8011067a068834b17a9811ca295