[INFO] cloning repository https://github.com/andrewbaxter/terrars
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/andrewbaxter/terrars" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandrewbaxter%2Fterrars", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandrewbaxter%2Fterrars'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9c39cdc6f787ce3497877ee42fc52a3aa7ee1641
[INFO] testing andrewbaxter/terrars against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandrewbaxter%2Fterrars" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/andrewbaxter/terrars
[INFO] finished tweaking git repo https://github.com/andrewbaxter/terrars
[INFO] tweaked toml for git repo https://github.com/andrewbaxter/terrars written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/andrewbaxter/terrars on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/andrewbaxter/terrars 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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 77e45c4ea09c3ec1fc2ed62038f1fa378dfa0b3f6dd9cdbc8c0240ec9e2d60dd
[INFO] running `Command { std: "docker" "start" "-a" "77e45c4ea09c3ec1fc2ed62038f1fa378dfa0b3f6dd9cdbc8c0240ec9e2d60dd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "77e45c4ea09c3ec1fc2ed62038f1fa378dfa0b3f6dd9cdbc8c0240ec9e2d60dd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "77e45c4ea09c3ec1fc2ed62038f1fa378dfa0b3f6dd9cdbc8c0240ec9e2d60dd", kill_on_drop: false }`
[INFO] [stdout] 77e45c4ea09c3ec1fc2ed62038f1fa378dfa0b3f6dd9cdbc8c0240ec9e2d60dd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 46db7b335a60c7c18d4d9dc7f8994b052f3220c71f5494df70da499dd5a0a7f6
[INFO] running `Command { std: "docker" "start" "-a" "46db7b335a60c7c18d4d9dc7f8994b052f3220c71f5494df70da499dd5a0a7f6", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]    Compiling serde v1.0.204
[INFO] [stderr]    Compiling winnow v0.6.14
[INFO] [stderr]    Compiling io-lifetimes v1.0.11
[INFO] [stderr]    Compiling rustix v0.37.27
[INFO] [stderr]    Compiling unicode-width v0.1.13
[INFO] [stderr]    Compiling linux-raw-sys v0.3.8
[INFO] [stderr]    Compiling thiserror v1.0.63
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling regex-syntax v0.8.4
[INFO] [stderr]    Compiling serde_json v1.0.120
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling regex-syntax v0.6.29
[INFO] [stderr]    Compiling smawk v0.3.2
[INFO] [stderr]    Compiling unicode-id v0.3.4
[INFO] [stderr]    Compiling bitflags v2.6.0
[INFO] [stderr]    Compiling arrayvec v0.5.2
[INFO] [stderr]    Compiling convert_case v0.4.0
[INFO] [stderr]    Compiling rustversion v1.0.17
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling markdown v1.0.0-alpha.18
[INFO] [stderr]    Compiling rustix v0.38.34
[INFO] [stderr]    Compiling unicode-segmentation v1.11.0
[INFO] [stderr]    Compiling strum v0.26.3
[INFO] [stderr]    Compiling linux-raw-sys v0.4.14
[INFO] [stderr]    Compiling fastrand v2.1.0
[INFO] [stderr]    Compiling typeid v1.0.0
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling litrs v0.2.3
[INFO] [stderr]    Compiling convert_case v0.6.0
[INFO] [stderr]    Compiling syn v2.0.71
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling chrono v0.4.38
[INFO] [stderr]    Compiling vte_generate_state_changes v0.1.2
[INFO] [stderr]    Compiling vte v0.10.1
[INFO] [stderr]    Compiling console v0.15.8
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling crossterm v0.27.0
[INFO] [stderr]    Compiling tempfile v3.10.1
[INFO] [stderr]    Compiling ansitok v0.2.0
[INFO] [stderr]    Compiling structre_proc_macros v0.0.3
[INFO] [stderr]    Compiling regex-automata v0.4.7
[INFO] [stderr]    Compiling ansi-str v0.8.0
[INFO] [stderr]    Compiling terminal_size v0.2.6
[INFO] [stderr]    Compiling textwrap v0.16.1
[INFO] [stderr]    Compiling loga v0.5.2
[INFO] [stderr]    Compiling regex v1.10.5
[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 comfy-table v7.1.1
[INFO] [stderr]    Compiling serde_spanned v0.6.6
[INFO] [stderr]    Compiling toml_datetime v0.6.6
[INFO] [stderr]    Compiling toml_edit v0.22.16
[INFO] [stderr]    Compiling erased-serde v0.4.5
[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 49.14s
[INFO] running `Command { std: "docker" "inspect" "46db7b335a60c7c18d4d9dc7f8994b052f3220c71f5494df70da499dd5a0a7f6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "46db7b335a60c7c18d4d9dc7f8994b052f3220c71f5494df70da499dd5a0a7f6", kill_on_drop: false }`
[INFO] [stdout] 46db7b335a60c7c18d4d9dc7f8994b052f3220c71f5494df70da499dd5a0a7f6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 839a918c3bf684aef82283567937ee937f7912454836ee1fc8e4be49b228e7d2
[INFO] running `Command { std: "docker" "start" "-a" "839a918c3bf684aef82283567937ee937f7912454836ee1fc8e4be49b228e7d2", kill_on_drop: false }`
[INFO] [stderr]    Compiling terrars v0.1.13 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.75s
[INFO] running `Command { std: "docker" "inspect" "839a918c3bf684aef82283567937ee937f7912454836ee1fc8e4be49b228e7d2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "839a918c3bf684aef82283567937ee937f7912454836ee1fc8e4be49b228e7d2", kill_on_drop: false }`
[INFO] [stdout] 839a918c3bf684aef82283567937ee937f7912454836ee1fc8e4be49b228e7d2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] b02d1a0cc06dc6921fe9ade4ac516988e6addf4f507f2540aab3e9d463c60343
[INFO] running `Command { std: "docker" "start" "-a" "b02d1a0cc06dc6921fe9ade4ac516988e6addf4f507f2540aab3e9d463c60343", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/build/terrars/79cd8fb82f72e6a1/deps/terrars-79cd8fb82f72e6a1)
[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/build/terrars/e65a6dfc5f3afed4/deps/terrars_generate-e65a6dfc5f3afed4)
[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]    Doc-tests terrars
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test src/lib.rs - (line 73) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 176) ... 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] [stdout] failures:
[INFO] [stdout] 
[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] 74 | 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 <https://doc.rust-lang.org/reference/items.html>
[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 176) stdout ----
[INFO] [stdout] error: unexpected closing delimiter: `)`
[INFO] [stdout]    --> src/lib.rs:177:42
[INFO] [stdout]     |
[INFO] [stdout] 177 | 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 127) stdout ----
[INFO] [stdout] error: cannot declare a file module inside a block unless it has a path attribute
[INFO] [stdout]    --> src/lib.rs:128:1
[INFO] [stdout]     |
[INFO] [stdout] 128 | pub mod aws;
[INFO] [stdout]     | ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: file modules are usually placed outside of blocks, at the top level of the file
[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] 63 | 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] 62 + 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] 64 | 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] 65 |     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] 87 | 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] 86 + 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] 87 | 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.07s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "b02d1a0cc06dc6921fe9ade4ac516988e6addf4f507f2540aab3e9d463c60343", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b02d1a0cc06dc6921fe9ade4ac516988e6addf4f507f2540aab3e9d463c60343", kill_on_drop: false }`
[INFO] [stdout] b02d1a0cc06dc6921fe9ade4ac516988e6addf4f507f2540aab3e9d463c60343
