[INFO] cloning repository https://github.com/LucioFranco/vector-containers-demo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LucioFranco/vector-containers-demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLucioFranco%2Fvector-containers-demo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLucioFranco%2Fvector-containers-demo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 794579652f13907fde6c46ab0032748248d82d0a [INFO] checking LucioFranco/vector-containers-demo against master#3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 for pr-65819 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLucioFranco%2Fvector-containers-demo" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LucioFranco/vector-containers-demo on toolchain 3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/LucioFranco/vector-containers-demo [INFO] finished tweaking git repo https://github.com/LucioFranco/vector-containers-demo [INFO] tweaked toml for git repo https://github.com/LucioFranco/vector-containers-demo written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/LucioFranco/vector-containers-demo already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-4/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "fetch" "--locked" "--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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--no-deps" "--format-version=1", 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] a749d1787b243540fa8479a504db3c8700df7a6a58da65a79c191d5708ed37d1 [INFO] running `Command { std: "docker" "start" "-a" "a749d1787b243540fa8479a504db3c8700df7a6a58da65a79c191d5708ed37d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a749d1787b243540fa8479a504db3c8700df7a6a58da65a79c191d5708ed37d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a749d1787b243540fa8479a504db3c8700df7a6a58da65a79c191d5708ed37d1", kill_on_drop: false }` [INFO] [stdout] a749d1787b243540fa8479a504db3c8700df7a6a58da65a79c191d5708ed37d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7803e24849ef61cbc246138af814542556e0ba8b703398da880d13ac9641a66b [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" "7803e24849ef61cbc246138af814542556e0ba8b703398da880d13ac9641a66b", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Checking futures-util v0.3.14 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking regex v1.4.5 [INFO] [stderr] Checking tracing v0.1.25 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking pretty_env_logger v0.3.1 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Checking pin-project v1.0.7 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking hyper v0.13.10 [INFO] [stderr] Checking client v0.1.0 (/opt/rustwide/workdir/client) [INFO] [stderr] Checking echo v0.1.0 (/opt/rustwide/workdir/echo) [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> client/src/main.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[tokio::main] [INFO] [stdout] | ^^^^ could not find `main` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> client/src/main.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[tokio::main] [INFO] [stdout] | ^^^^ could not find `main` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> echo/src/main.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[tokio::main] [INFO] [stdout] | ^^^^ could not find `main` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> echo/src/main.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[tokio::main] [INFO] [stdout] | ^^^^ could not find `main` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `timer` in `tokio` [INFO] [stdout] --> client/src/main.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | tokio::timer::delay_for(std::time::Duration::from_millis(500)).await; [INFO] [stdout] | ^^^^^ could not find `timer` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `timer` in `tokio` [INFO] [stdout] --> client/src/main.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | tokio::timer::delay_for(std::time::Duration::from_millis(500)).await; [INFO] [stdout] | ^^^^^ could not find `timer` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found macro `log::info` [INFO] [stdout] --> echo/src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | log::info("request! {}"); [INFO] [stdout] | ^^^^^^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 9 | log::info!("request! {}"); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `client` [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] [stdout] error[E0423]: expected function, found macro `log::info` [INFO] [stdout] --> echo/src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | log::info("request! {}"); [INFO] [stdout] | ^^^^^^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 9 | log::info!("request! {}"); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_inner` found for struct `Request` in the current scope [INFO] [stdout] --> echo/src/main.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | req.into_inner(); [INFO] [stdout] | ^^^^^^^^^^ method not found in `Request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `emtpy` found for struct `Body` in the current scope [INFO] [stdout] --> echo/src/main.rs:10:28 [INFO] [stdout] | [INFO] [stdout] 10 | Ok(Response::new(Body::emtpy())) [INFO] [stdout] | ^^^^^ function or associated item not found in `Body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_inner` found for struct `Request` in the current scope [INFO] [stdout] --> echo/src/main.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | req.into_inner(); [INFO] [stdout] | ^^^^^^^^^^ method not found in `Request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `emtpy` found for struct `Body` in the current scope [INFO] [stdout] --> echo/src/main.rs:10:28 [INFO] [stdout] | [INFO] [stdout] 10 | Ok(Response::new(Body::emtpy())) [INFO] [stdout] | ^^^^^ function or associated item not found in `Body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `main` has invalid return type `impl std::future::Future` [INFO] [stdout] --> echo/src/main.rs:14:24 [INFO] [stdout] | [INFO] [stdout] 14 | pub async fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` can only return types that implement `Termination` [INFO] [stdout] | [INFO] [stdout] = help: consider using `()`, or a `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `main` has invalid return type `impl std::future::Future` [INFO] [stdout] --> client/src/main.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | async fn main() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ `main` can only return types that implement `Termination` [INFO] [stdout] | [INFO] [stdout] = help: consider using `()`, or a `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> client/src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | async fn main() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> echo/src/main.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub async fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0423, E0433, E0599, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0423, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0423`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "7803e24849ef61cbc246138af814542556e0ba8b703398da880d13ac9641a66b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7803e24849ef61cbc246138af814542556e0ba8b703398da880d13ac9641a66b", kill_on_drop: false }` [INFO] [stdout] 7803e24849ef61cbc246138af814542556e0ba8b703398da880d13ac9641a66b