[INFO] fetching crate terrars 0.1.13... [INFO] testing terrars-0.1.13 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate terrars 0.1.13 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate terrars 0.1.13 [INFO] finished tweaking crates.io crate terrars 0.1.13 [INFO] tweaked toml for crates.io crate terrars 0.1.13 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate terrars 0.1.13 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate terrars 0.1.13 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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded toml v0.8.15 [INFO] [stderr] Downloaded aargvark_proc_macros v0.1.2 [INFO] [stderr] Downloaded toml_datetime v0.6.6 [INFO] [stderr] Downloaded ansi-str v0.8.0 [INFO] [stderr] Downloaded ansitok v0.2.0 [INFO] [stderr] Downloaded vte v0.10.1 [INFO] [stderr] Downloaded litrs v0.2.3 [INFO] [stderr] Downloaded comfy-table v7.1.1 [INFO] [stderr] Downloaded winnow v0.6.14 [INFO] [stderr] Downloaded genemichaels-lib v0.5.0 [INFO] [stderr] Downloaded aargvark v0.3.0 [INFO] [stderr] Downloaded cc v1.1.6 [INFO] [stderr] Downloaded toml_edit v0.22.16 [INFO] [stderr] Downloaded cargo_toml v0.20.4 [INFO] [stderr] Downloaded syn v2.0.71 [INFO] [stderr] Downloaded unicode-id v0.3.4 [INFO] [stderr] Downloaded markdown v1.0.0-alpha.18 [INFO] [stderr] Downloaded structre v0.0.4 [INFO] [stderr] Downloaded serde_spanned v0.6.6 [INFO] [stderr] Downloaded structre_proc_macros v0.0.3 [INFO] [stderr] Downloaded cargo-manifest v0.15.0 [INFO] [stderr] Downloaded unicode-width v0.1.13 [INFO] [stderr] Downloaded loga v0.5.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2b15cefb0a7de7b16a97bcbe9f6e3f451094e7915db0052400a87cc217814237 [INFO] running `Command { std: "docker" "start" "-a" "2b15cefb0a7de7b16a97bcbe9f6e3f451094e7915db0052400a87cc217814237", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2b15cefb0a7de7b16a97bcbe9f6e3f451094e7915db0052400a87cc217814237", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b15cefb0a7de7b16a97bcbe9f6e3f451094e7915db0052400a87cc217814237", kill_on_drop: false }` [INFO] [stdout] 2b15cefb0a7de7b16a97bcbe9f6e3f451094e7915db0052400a87cc217814237 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 802200b29c310d660033e1f5785dc7863c25cc51bf821802b7ecff3d3b2f60ef [INFO] running `Command { std: "docker" "start" "-a" "802200b29c310d660033e1f5785dc7863c25cc51bf821802b7ecff3d3b2f60ef", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling winnow v0.6.14 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Compiling unicode-width v0.1.13 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling unicode-linebreak v0.1.5 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling smawk v0.3.2 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling unicode-id v0.3.4 [INFO] [stderr] Compiling markdown v1.0.0-alpha.18 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling typeid v1.0.0 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling litrs v0.2.3 [INFO] [stderr] Compiling syn v2.0.71 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling vte_generate_state_changes v0.1.2 [INFO] [stderr] Compiling vte v0.10.1 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling console v0.15.8 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling crossterm v0.27.0 [INFO] [stderr] Compiling ansitok v0.2.0 [INFO] [stderr] Compiling ansi-str v0.8.0 [INFO] [stderr] Compiling structre_proc_macros v0.0.3 [INFO] [stderr] Compiling terminal_size v0.2.6 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Compiling textwrap v0.16.1 [INFO] [stderr] Compiling loga v0.5.2 [INFO] [stderr] Compiling structre v0.0.4 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling comfy-table v7.1.1 [INFO] [stderr] Compiling serde_spanned v0.6.6 [INFO] [stderr] Compiling toml_datetime v0.6.6 [INFO] [stderr] Compiling erased-serde v0.4.5 [INFO] [stderr] Compiling toml_edit v0.22.16 [INFO] [stderr] Compiling toml v0.8.15 [INFO] [stderr] Compiling cargo-manifest v0.15.0 [INFO] [stderr] Compiling cargo_toml v0.20.4 [INFO] [stderr] Compiling genemichaels-lib v0.5.0 [INFO] [stderr] Compiling aargvark_proc_macros v0.1.2 [INFO] [stderr] Compiling aargvark v0.3.0 [INFO] [stderr] Compiling terrars v0.1.13 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.30s [INFO] running `Command { std: "docker" "inspect" "802200b29c310d660033e1f5785dc7863c25cc51bf821802b7ecff3d3b2f60ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "802200b29c310d660033e1f5785dc7863c25cc51bf821802b7ecff3d3b2f60ef", kill_on_drop: false }` [INFO] [stdout] 802200b29c310d660033e1f5785dc7863c25cc51bf821802b7ecff3d3b2f60ef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bb643807ba35228580376a833d3ca71322791d82463296981cfd4f34706ae7e7 [INFO] running `Command { std: "docker" "start" "-a" "bb643807ba35228580376a833d3ca71322791d82463296981cfd4f34706ae7e7", kill_on_drop: false }` [INFO] [stderr] Compiling terrars v0.1.13 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.20s [INFO] running `Command { std: "docker" "inspect" "bb643807ba35228580376a833d3ca71322791d82463296981cfd4f34706ae7e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb643807ba35228580376a833d3ca71322791d82463296981cfd4f34706ae7e7", kill_on_drop: false }` [INFO] [stdout] bb643807ba35228580376a833d3ca71322791d82463296981cfd4f34706ae7e7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 188ebe1aa4110226907c645e096197d871aaf6fd8d0b56ed3534d62e83462854 [INFO] running `Command { std: "docker" "start" "-a" "188ebe1aa4110226907c645e096197d871aaf6fd8d0b56ed3534d62e83462854", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/terrars-5fa533dfca38d0e2) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/terrars-generate.rs (/opt/rustwide/target/debug/deps/terrars_generate-407f57ce68d83a74) [INFO] [stdout] [INFO] [stderr] Doc-tests terrars [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/lib.rs - (line 176) ... FAILED [INFO] [stdout] test src/lib.rs - (line 73) ... FAILED [INFO] [stdout] test src/lib.rs - (line 127) ... FAILED [INFO] [stdout] test src/lib.rs - (line 62) ... FAILED [INFO] [stdout] test src/lib.rs - (line 86) ... FAILED [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 176) stdout ---- [INFO] [stdout] error: unexpected closing delimiter: `)` [INFO] [stdout] --> src/lib.rs:177:42 [INFO] [stdout] | [INFO] [stdout] 1 | format!("{}{}", my_expr, verbatim_string)) [INFO] [stdout] | ^ unexpected closing delimiter [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 73) stdout ---- [INFO] [stdout] error: expected item, found keyword `let` [INFO] [stdout] --> src/lib.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 1 | let my_product = BuildProduct { [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | `let` cannot be used for global variables [INFO] [stdout] | help: consider using `static` or `const` instead of `let` [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 127) stdout ---- [INFO] [stdout] error: cannot declare a non-inline module inside a block unless it has a path attribute [INFO] [stdout] --> src/lib.rs:128:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod aws; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 62) stdout ---- [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BuildStack` in this scope [INFO] [stdout] --> src/lib.rs:63:22 [INFO] [stdout] | [INFO] [stdout] 3 | let mut stack = &mut BuildStack{}.build(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use terrars::BuildStack; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BuildProviderStripe` in this scope [INFO] [stdout] --> src/lib.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 4 | BuildProviderStripe { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `STRIPE_TOKEN` in this scope [INFO] [stdout] --> src/lib.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 5 | token: STRIPE_TOKEN, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 86) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fs` [INFO] [stdout] --> src/lib.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 3 | fs::write("mystack.tf.json", &stack.serialize("state.json")?)?; [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `fs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fs`, use `cargo add fs` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use std::fs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `stack` in this scope [INFO] [stdout] --> src/lib.rs:87:31 [INFO] [stdout] | [INFO] [stdout] 3 | fs::write("mystack.tf.json", &stack.serialize("state.json")?)?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 127) [INFO] [stdout] src/lib.rs - (line 176) [INFO] [stdout] src/lib.rs - (line 62) [INFO] [stdout] src/lib.rs - (line 73) [INFO] [stdout] src/lib.rs - (line 86) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.23s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "188ebe1aa4110226907c645e096197d871aaf6fd8d0b56ed3534d62e83462854", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "188ebe1aa4110226907c645e096197d871aaf6fd8d0b56ed3534d62e83462854", kill_on_drop: false }` [INFO] [stdout] 188ebe1aa4110226907c645e096197d871aaf6fd8d0b56ed3534d62e83462854