[INFO] cloning repository https://github.com/miikka/cargo-lambda-rustflags-repro [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/miikka/cargo-lambda-rustflags-repro" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmiikka%2Fcargo-lambda-rustflags-repro", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmiikka%2Fcargo-lambda-rustflags-repro'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a110d1ec72d191ebec37bb807a787118c9bfff53 [INFO] checking miikka/cargo-lambda-rustflags-repro against master#0f442e265c165c0a78633bef98de18517815150c for pr-129073 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmiikka%2Fcargo-lambda-rustflags-repro" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/miikka/cargo-lambda-rustflags-repro on toolchain 0f442e265c165c0a78633bef98de18517815150c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0f442e265c165c0a78633bef98de18517815150c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/miikka/cargo-lambda-rustflags-repro [INFO] finished tweaking git repo https://github.com/miikka/cargo-lambda-rustflags-repro [INFO] tweaked toml for git repo https://github.com/miikka/cargo-lambda-rustflags-repro written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/miikka/cargo-lambda-rustflags-repro 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" "+0f442e265c165c0a78633bef98de18517815150c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking miikka/cargo-lambda-rustflags-repro against try#774bd5ba31b89dab12d58c29690ad9f7e5c9f063 for pr-129073 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmiikka%2Fcargo-lambda-rustflags-repro" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/miikka/cargo-lambda-rustflags-repro on toolchain 774bd5ba31b89dab12d58c29690ad9f7e5c9f063 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+774bd5ba31b89dab12d58c29690ad9f7e5c9f063" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/miikka/cargo-lambda-rustflags-repro [INFO] finished tweaking git repo https://github.com/miikka/cargo-lambda-rustflags-repro [INFO] tweaked toml for git repo https://github.com/miikka/cargo-lambda-rustflags-repro written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/miikka/cargo-lambda-rustflags-repro 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" "+774bd5ba31b89dab12d58c29690ad9f7e5c9f063" "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 lambda_runtime_api_client v0.11.0 [INFO] [stderr] Downloaded http-serde v2.1.0 [INFO] [stderr] Downloaded lambda_runtime v0.11.1 [INFO] [stderr] Downloaded serde_with_macros v3.8.1 [INFO] [stderr] Downloaded darling_macro v0.20.8 [INFO] [stderr] Downloaded aws_lambda_events v0.15.0 [INFO] [stderr] Downloaded darling_core v0.20.8 [INFO] [stderr] Downloaded darling v0.20.8 [INFO] [stderr] Downloaded serde_with v3.8.1 [INFO] [stderr] Downloaded cc v1.0.97 [INFO] [stderr] Downloaded syn v2.0.61 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+774bd5ba31b89dab12d58c29690ad9f7e5c9f063" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d07152d08f65f0001973b36b1034cc231b1683d37f77942c49f44e531c2a9492 [INFO] running `Command { std: "docker" "start" "-a" "d07152d08f65f0001973b36b1034cc231b1683d37f77942c49f44e531c2a9492", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d07152d08f65f0001973b36b1034cc231b1683d37f77942c49f44e531c2a9492", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d07152d08f65f0001973b36b1034cc231b1683d37f77942c49f44e531c2a9492", kill_on_drop: false }` [INFO] [stdout] d07152d08f65f0001973b36b1034cc231b1683d37f77942c49f44e531c2a9492 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+774bd5ba31b89dab12d58c29690ad9f7e5c9f063" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 94578dc278b503465f80096b2eb89b5beffdda39a48f3fa88cf5c69145d33f52 [INFO] running `Command { std: "docker" "start" "-a" "94578dc278b503465f80096b2eb89b5beffdda39a48f3fa88cf5c69145d33f52", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling serde v1.0.200 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking http-body-util v0.1.1 [INFO] [stderr] Compiling syn v2.0.61 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Compiling darling_core v0.20.8 [INFO] [stderr] Compiling serde_derive v1.0.200 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [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.37.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling darling_macro v0.20.8 [INFO] [stderr] Compiling darling v0.20.8 [INFO] [stderr] Compiling serde_with_macros v3.8.1 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking hyper v1.3.1 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking hyper-util v0.1.3 [INFO] [stderr] Checking tracing-serde v0.1.3 [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Checking http-serde v2.1.0 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking serde_with v3.8.1 [INFO] [stderr] Checking lambda_runtime_api_client v0.11.0 [INFO] [stderr] Checking lambda_runtime v0.11.1 [INFO] [stderr] Checking aws_lambda_events v0.15.0 [INFO] [stderr] Checking cargo-lambda-rustflags-repro v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `my_flag` [INFO] [stdout] --> src/main.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | #[cfg(my_flag)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(my_flag)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(my_flag)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `dummy` in this scope [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | dummy(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `my_flag` [INFO] [stdout] --> src/main.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | #[cfg(my_flag)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(my_flag)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(my_flag)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `dummy` in this scope [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | dummy(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo-lambda-rustflags-repro` (bin "cargo-lambda-rustflags-repro" test) due to 2 previous errors; 1 warning emitted [INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo-lambda-rustflags-repro` (bin "cargo-lambda-rustflags-repro") due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "94578dc278b503465f80096b2eb89b5beffdda39a48f3fa88cf5c69145d33f52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94578dc278b503465f80096b2eb89b5beffdda39a48f3fa88cf5c69145d33f52", kill_on_drop: false }` [INFO] [stdout] 94578dc278b503465f80096b2eb89b5beffdda39a48f3fa88cf5c69145d33f52