[INFO] updating cached repository https://github.com/ajpauwels/cia-backend [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d61690beb5865c3e9ddb126c69ac0c1c81221a49 [INFO] checking ajpauwels/cia-backend against master#e1beee4992ad4b235fc700bf7af1ee86f894ea53 for pr-74130 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fajpauwels%2Fcia-backend" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ajpauwels/cia-backend on toolchain e1beee4992ad4b235fc700bf7af1ee86f894ea53 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+e1beee4992ad4b235fc700bf7af1ee86f894ea53" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ajpauwels/cia-backend [INFO] finished tweaking git repo https://github.com/ajpauwels/cia-backend [INFO] tweaked toml for git repo https://github.com/ajpauwels/cia-backend written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/ajpauwels/cia-backend already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+e1beee4992ad4b235fc700bf7af1ee86f894ea53" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/awslabs/aws-lambda-rust-runtime/` [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-14/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" "+e1beee4992ad4b235fc700bf7af1ee86f894ea53" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/awslabs/aws-lambda-rust-runtime/` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+e1beee4992ad4b235fc700bf7af1ee86f894ea53" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+e1beee4992ad4b235fc700bf7af1ee86f894ea53" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a9dc5cc6aa5be87b974acac3f354a2810d5ead7f2660a8d5a6db452fcb2a3983 [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" "a9dc5cc6aa5be87b974acac3f354a2810d5ead7f2660a8d5a6db452fcb2a3983", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a9dc5cc6aa5be87b974acac3f354a2810d5ead7f2660a8d5a6db452fcb2a3983", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9dc5cc6aa5be87b974acac3f354a2810d5ead7f2660a8d5a6db452fcb2a3983", kill_on_drop: false }` [INFO] [stdout] a9dc5cc6aa5be87b974acac3f354a2810d5ead7f2660a8d5a6db452fcb2a3983 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+e1beee4992ad4b235fc700bf7af1ee86f894ea53" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f8bedd97e6bbecc97a5cfb9d5ac0940c3197abb6b972876cca5ab31c161739aa [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" "f8bedd97e6bbecc97a5cfb9d5ac0940c3197abb6b972876cca5ab31c161739aa", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Checking bytes v0.5.5 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Compiling string_cache_shared v0.3.0 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Checking dtoa v0.4.6 [INFO] [stderr] Checking arc-swap v0.4.7 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling procedural-masquerade v0.1.7 [INFO] [stderr] Compiling encoding_rs v0.8.23 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking thin-slice v0.1.1 [INFO] [stderr] Checking genawaiter-macro v0.99.1 [INFO] [stderr] Checking urlencoding v1.1.1 [INFO] [stderr] Checking ego-tree v0.6.2 [INFO] [stderr] Checking try_from v0.3.2 [INFO] [stderr] Compiling proc-macro-error-attr v0.4.12 [INFO] [stderr] Compiling proc-macro-error v0.4.12 [INFO] [stderr] Compiling error-chain v0.12.2 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling indexmap v1.4.0 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Checking tracing-core v0.1.11 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Checking sharded-slab v0.0.9 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking servo_arc v0.1.1 [INFO] [stderr] Compiling libc v0.2.72 [INFO] [stderr] Checking dtoa-short v0.3.2 [INFO] [stderr] Checking log v0.4.8 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Checking input_buffer v0.3.1 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Checking backtrace v0.3.50 [INFO] [stderr] Checking socket2 v0.3.12 [INFO] [stderr] Checking aho-corasick v0.7.13 [INFO] [stderr] Checking twoway v0.1.8 [INFO] [stderr] Checking buf_redux v0.8.4 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling hyper v0.12.35 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking flate2 v1.0.16 [INFO] [stderr] Compiling openssl-src v111.10.1+1.1.1g [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking want v0.2.0 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking tracing-subscriber v0.2.7 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking sha-1 v0.8.2 [INFO] [stderr] Checking mime_guess v2.0.3 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking http v0.1.21 [INFO] [stderr] Checking tokio-buf v0.1.1 [INFO] [stderr] Checking string v0.2.1 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Checking cookie v0.12.0 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking headers v0.3.2 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking publicsuffix v1.5.4 [INFO] [stderr] Checking tungstenite v0.10.1 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling string_cache_codegen v0.4.4 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Compiling selectors v0.21.0 [INFO] [stderr] Checking h2 v0.1.26 [INFO] [stderr] Checking http-body v0.1.0 [INFO] [stderr] Compiling string_cache v0.7.5 [INFO] [stderr] Checking multipart v0.16.1 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling cssparser v0.25.9 [INFO] [stderr] Compiling tracing-attributes v0.1.9 [INFO] [stderr] Compiling html5ever v0.24.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling cssparser-macros v0.3.6 [INFO] [stderr] Compiling lambda-attributes v0.1.0 (https://github.com/awslabs/aws-lambda-rust-runtime/?branch=master#c8dbcd39) [INFO] [stderr] Checking tokio v0.2.21 [INFO] [stderr] Compiling genawaiter-proc-macro v0.99.1 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking tracing v0.1.16 [INFO] [stderr] Checking genawaiter v0.99.1 [INFO] [stderr] Checking tracing-error v0.1.2 [INFO] [stderr] Checking pin-project v0.4.22 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking tracing-futures v0.2.4 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking futures-executor v0.3.5 [INFO] [stderr] Checking h2 v0.2.5 [INFO] [stderr] Checking futures v0.3.5 [INFO] [stderr] Checking tokio-tungstenite v0.10.1 [INFO] [stderr] Checking serde_json v1.0.56 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking serde_urlencoded v0.5.5 [INFO] [stderr] Checking chrono v0.4.13 [INFO] [stderr] Checking hyper v0.13.6 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Checking cookie_store v0.7.0 [INFO] [stderr] Compiling markup5ever v0.9.0 [INFO] [stderr] Checking warp v0.2.3 [INFO] [stderr] Checking lambda v0.1.0 (https://github.com/awslabs/aws-lambda-rust-runtime/?branch=master#c8dbcd39) [INFO] [stderr] Checking hyper-tls v0.3.2 [INFO] [stderr] Checking reqwest v0.9.24 [INFO] [stderr] Checking scraper v0.11.0 [INFO] [stderr] Checking cia-backend v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: The #[lambda] macro can expects two arguments: a triggered event and lambda context. [INFO] [stdout] --> src/main.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[lambda] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: The #[lambda] macro can expects two arguments: a triggered event and lambda context. [INFO] [stdout] --> src/main.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[lambda] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `bootstrap` [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use lambda::lambda; [INFO] [stdout] 2 | | use serde::{Deserialize, Serialize}; [INFO] [stdout] 3 | | use serde_json::Value; [INFO] [stdout] 4 | | [INFO] [stdout] ... | [INFO] [stdout] 27 | | Ok(Value::String(mos.raw)) [INFO] [stdout] 28 | | } [INFO] [stdout] | |_^ consider adding a `main` function to `src/main.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cia-backend`. [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "f8bedd97e6bbecc97a5cfb9d5ac0940c3197abb6b972876cca5ab31c161739aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8bedd97e6bbecc97a5cfb9d5ac0940c3197abb6b972876cca5ab31c161739aa", kill_on_drop: false }` [INFO] [stdout] f8bedd97e6bbecc97a5cfb9d5ac0940c3197abb6b972876cca5ab31c161739aa