[INFO] cloning repository https://github.com/ncolesummers/rust-hello-lambda [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ncolesummers/rust-hello-lambda" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fncolesummers%2Frust-hello-lambda", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fncolesummers%2Frust-hello-lambda'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d3e12202d99d2b3c83c71f68739deb7441c21d61 [INFO] testing ncolesummers/rust-hello-lambda against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fncolesummers%2Frust-hello-lambda" "/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/ncolesummers/rust-hello-lambda on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ncolesummers/rust-hello-lambda [INFO] finished tweaking git repo https://github.com/ncolesummers/rust-hello-lambda [INFO] tweaked toml for git repo https://github.com/ncolesummers/rust-hello-lambda written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/ncolesummers/rust-hello-lambda already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "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] 7c290d3e507af9933e016b4f2789207e172166ca7b6561209afc13d3d2351d8b [INFO] running `Command { std: "docker" "start" "-a" "7c290d3e507af9933e016b4f2789207e172166ca7b6561209afc13d3d2351d8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7c290d3e507af9933e016b4f2789207e172166ca7b6561209afc13d3d2351d8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c290d3e507af9933e016b4f2789207e172166ca7b6561209afc13d3d2351d8b", kill_on_drop: false }` [INFO] [stdout] 7c290d3e507af9933e016b4f2789207e172166ca7b6561209afc13d3d2351d8b [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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8a7b703870aea0c6aa4f41750d8ac62108073f2d5de6f20e7977490b99642f91 [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" "8a7b703870aea0c6aa4f41750d8ac62108073f2d5de6f20e7977490b99642f91", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling num_threads v0.1.3 [INFO] [stderr] Compiling semver v1.0.5 [INFO] [stderr] Compiling zeroize v1.5.2 [INFO] [stderr] Compiling xmlparser v0.13.3 [INFO] [stderr] Compiling serde_json v1.0.78 [INFO] [stderr] Compiling urlencoding v1.3.3 [INFO] [stderr] Compiling tracing-core v0.1.22 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling bytes-utils v0.1.1 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tracing-attributes v0.1.19 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling async-stream-impl v0.3.2 [INFO] [stderr] Compiling time v0.3.7 [INFO] [stderr] Compiling tracing-subscriber v0.2.25 [INFO] [stderr] Compiling tracing-log v0.1.2 [INFO] [stderr] Compiling aws-smithy-xml v0.36.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling aws-smithy-types v0.36.0 [INFO] [stderr] Compiling aws-types v0.6.0 [INFO] [stderr] Compiling async-stream v0.3.2 [INFO] [stderr] Compiling tokio v1.16.1 [INFO] [stderr] Compiling aws-smithy-eventstream v0.36.0 [INFO] [stderr] Compiling aws-smithy-json v0.36.0 [INFO] [stderr] Compiling aws-smithy-query v0.36.0 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling tracing v0.1.30 [INFO] [stderr] Compiling tracing-error v0.1.2 [INFO] [stderr] Compiling tracing-subscriber v0.3.8 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling ct-logs v0.8.0 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling tower v0.4.11 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling rustls-native-certs v0.5.0 [INFO] [stderr] Compiling aws-smithy-async v0.36.0 [INFO] [stderr] Compiling h2 v0.3.11 [INFO] [stderr] Compiling hyper v0.14.16 [INFO] [stderr] Compiling aws-smithy-http v0.36.0 [INFO] [stderr] Compiling hyper-rustls v0.22.1 [INFO] [stderr] Compiling lambda_runtime v0.4.1 [INFO] [stderr] Compiling aws-sigv4 v0.6.0 [INFO] [stderr] Compiling aws-smithy-http-tower v0.36.0 [INFO] [stderr] Compiling aws-http v0.6.0 [INFO] [stderr] Compiling aws-endpoint v0.6.0 [INFO] [stderr] Compiling aws-smithy-client v0.36.0 [INFO] [stderr] Compiling aws-sig-auth v0.6.0 [INFO] [stderr] Compiling aws-sdk-sts v0.6.0 [INFO] [stderr] Compiling aws-sdk-sso v0.6.0 [INFO] [stderr] Compiling aws-sdk-s3 v0.6.0 [INFO] [stderr] Compiling aws-config v0.6.0 [INFO] [stderr] Compiling hello-lambda v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0252]: the name `format` is defined multiple times [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::format; [INFO] [stdout] | ---------------- previous import of the value `format` here [INFO] [stdout] ... [INFO] [stdout] 6 | use tracing_subscriber::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `format` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `format` must be defined only once in the value namespace of this module [INFO] [stdout] help: you can use `as` to change the binding name of the import [INFO] [stdout] | [INFO] [stdout] 6 | use tracing_subscriber::fmt::format as other_format; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `time` [INFO] [stdout] --> src/main.rs:58:38 [INFO] [stdout] | [INFO] [stdout] 58 | let filename = format!("{}.txt", time::OffsetDateTime::now_utc().unix_timestamp()); [INFO] [stdout] | ^^^^ use of undeclared crate or module `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing_subscriber::fmt::format` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tracing_subscriber::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SuccessResponse: Serialize` is not satisfied [INFO] [stdout] --> src/main.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | lambda_runtime::run(func).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the trait `Serialize` is not implemented for `SuccessResponse` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `run` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/lambda_runtime-0.4.1/src/lib.rs:306:8 [INFO] [stdout] | [INFO] [stdout] 306 | B: Serialize, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `run` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0252, E0277, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0252`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hello-lambda` due to 4 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8a7b703870aea0c6aa4f41750d8ac62108073f2d5de6f20e7977490b99642f91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a7b703870aea0c6aa4f41750d8ac62108073f2d5de6f20e7977490b99642f91", kill_on_drop: false }` [INFO] [stdout] 8a7b703870aea0c6aa4f41750d8ac62108073f2d5de6f20e7977490b99642f91