[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#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLucioFranco%2Fvector-containers-demo" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LucioFranco/vector-containers-demo on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "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-2/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" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "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-2/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" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 423e0be731ba84d873d805ea1406f8b09690ab9d3d28da8f17cbc89c12538c2e [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" "423e0be731ba84d873d805ea1406f8b09690ab9d3d28da8f17cbc89c12538c2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "423e0be731ba84d873d805ea1406f8b09690ab9d3d28da8f17cbc89c12538c2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "423e0be731ba84d873d805ea1406f8b09690ab9d3d28da8f17cbc89c12538c2e", kill_on_drop: false }` [INFO] [stdout] 423e0be731ba84d873d805ea1406f8b09690ab9d3d28da8f17cbc89c12538c2e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3da9b158a1b1cd53ccf039d2178d8407d60c79ca459e68e0465909fc5007e947 [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" "3da9b158a1b1cd53ccf039d2178d8407d60c79ca459e68e0465909fc5007e947", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking futures-core v0.3.13 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking pin-project-lite v0.1.12 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-sink v0.3.13 [INFO] [stderr] Checking futures-task v0.3.13 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking futures-channel v0.3.13 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking futures-util v0.3.13 [INFO] [stderr] Checking http v0.2.3 [INFO] [stderr] Checking want v0.3.0 [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] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking tracing v0.1.25 [INFO] [stderr] Checking regex v1.4.5 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Checking tokio v0.2.25 [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.5 [INFO] [stderr] Checking pin-project v1.0.5 [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 echo v0.1.0 (/opt/rustwide/workdir/echo) [INFO] [stderr] Checking client v0.1.0 (/opt/rustwide/workdir/client) [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] --> 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[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[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 `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] --> 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[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: 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[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] [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[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] --> 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: aborting due to 4 previous errors [INFO] [stdout] [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] [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[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] 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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "3da9b158a1b1cd53ccf039d2178d8407d60c79ca459e68e0465909fc5007e947", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3da9b158a1b1cd53ccf039d2178d8407d60c79ca459e68e0465909fc5007e947", kill_on_drop: false }` [INFO] [stdout] 3da9b158a1b1cd53ccf039d2178d8407d60c79ca459e68e0465909fc5007e947