[INFO] cloning repository https://github.com/gdvalle/envsub [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gdvalle/envsub" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgdvalle%2Fenvsub", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgdvalle%2Fenvsub'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7650734a12eac109866dda80a40bf7721431440d [INFO] testing gdvalle/envsub against 1.100.0-beta.1+cargoflags=--release for beta-release-1.100-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgdvalle%2Fenvsub" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/gdvalle/envsub [INFO] finished tweaking git repo https://github.com/gdvalle/envsub [INFO] tweaked toml for git repo https://github.com/gdvalle/envsub written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/gdvalle/envsub on toolchain 1.100.0-beta.1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/gdvalle/envsub 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" "+1.100.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: `envsub` (manifest) generated 1 warning [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] d916e75ef98381126c94deaabd9151a57efeaffbc966ce5881bae83561734e37 [INFO] running `Command { std: "docker" "start" "d916e75ef98381126c94deaabd9151a57efeaffbc966ce5881bae83561734e37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d916e75ef98381126c94deaabd9151a57efeaffbc966ce5881bae83561734e37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d916e75ef98381126c94deaabd9151a57efeaffbc966ce5881bae83561734e37" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d916e75ef98381126c94deaabd9151a57efeaffbc966ce5881bae83561734e37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d916e75ef98381126c94deaabd9151a57efeaffbc966ce5881bae83561734e37" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: `envsub` (manifest) generated 1 warning [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling envsub v0.0.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `release` profile [optimized] target(s) in 7.85s [INFO] running `Command { std: "docker" "inspect" "d916e75ef98381126c94deaabd9151a57efeaffbc966ce5881bae83561734e37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d916e75ef98381126c94deaabd9151a57efeaffbc966ce5881bae83561734e37" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: `envsub` (manifest) generated 1 warning [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling subprocess v0.2.6 [INFO] [stderr] Compiling envsub v0.0.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `release` profile [optimized] target(s) in 14.55s [INFO] running `Command { std: "docker" "inspect" "d916e75ef98381126c94deaabd9151a57efeaffbc966ce5881bae83561734e37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d916e75ef98381126c94deaabd9151a57efeaffbc966ce5881bae83561734e37" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen" "--release", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: `envsub` (manifest) generated 1 warning [INFO] [stderr] Finished `release` profile [optimized] target(s) in 0.02s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/release/build/envsub/3c1f54433f50cc56/out/envsub-3c1f54433f50cc56) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test tests::test_replace_with_single_variable_multiple_times ... ok [INFO] [stdout] test tests::test_multiline_replacement ... ok [INFO] [stdout] test tests::test_replace_with_one_variable ... ok [INFO] [stdout] test tests::test_replace_without_replacements ... ok [INFO] [stdout] test tests::test_replace_with_multiple_variables ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/tests.rs (/opt/rustwide/target/release/build/envsub/cbb90578f4389d9c/out/tests-cbb90578f4389d9c) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test output_without_replacements ... FAILED [INFO] [stdout] test output_with_one_replacement ... FAILED [INFO] [stdout] test multiple_inputs ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- output_without_replacements stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'output_without_replacements' (325) panicked at tests/tests.rs:55:10: [INFO] [stdout] failed running test: IoError(Os { code: 2, kind: NotFound, message: "No such file or directory" }) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5f350b468257 - <::print::DisplayBacktrace as core[a373ad73a504971]::fmt::Display>::fmt [INFO] [stdout] 1: 0x5f350b4505ba - core[a373ad73a504971]::fmt::write [INFO] [stdout] 2: 0x5f350b46780b - as core[a373ad73a504971]::io::write::Write>::write_fmt [INFO] [stdout] 3: 0x5f350b4672ef - std[617be2ca0a6fd877]::panicking::default_hook::{closure#0} [INFO] [stdout] 4: 0x5f350b466f1a - std[617be2ca0a6fd877]::panicking::default_hook [INFO] [stdout] 5: 0x5f350b466a55 - std[617be2ca0a6fd877]::panicking::panic_with_hook [INFO] [stdout] 6: 0x5f350b48d8b1 - std[617be2ca0a6fd877]::panicking::panic_handler::{closure#0} [INFO] [stdout] 7: 0x5f350b48d869 - std[617be2ca0a6fd877]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] 8: 0x5f350b48dd6c - __rustc[ea4f61d10b84890b]::rust_begin_unwind [INFO] [stdout] 9: 0x5f350b45044b - core[a373ad73a504971]::panicking::panic_fmt [INFO] [stdout] 10: 0x5f350b453701 - core[a373ad73a504971]::result::unwrap_failed [INFO] [stdout] 11: 0x5f350b44ee71 - >::call_once [INFO] [stdout] 12: 0x5f350b4abe5b - test[aada8e7e76ba119b]::__rust_begin_short_backtrace::, fn() -> core[a373ad73a504971]::result::Result<(), alloc[2e1b2a31b91974c5]::string::String>> [INFO] [stdout] 13: 0x5f350b4a78a2 - test[aada8e7e76ba119b]::run_test::{closure#0} [INFO] [stdout] 14: 0x5f350b4a730c - std[617be2ca0a6fd877]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 15: 0x5f350b4c72bc - ::{closure#1} as core[a373ad73a504971]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 16: 0x5f350b48f544 - ::new::thread_start [INFO] [stdout] 17: 0x7300fcc8bdfa - [INFO] [stdout] 18: 0x7300fcd1f3d4 - clone [INFO] [stdout] 19: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- output_with_one_replacement stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'output_with_one_replacement' (324) panicked at tests/tests.rs:68:10: [INFO] [stdout] failed running test: IoError(Os { code: 2, kind: NotFound, message: "No such file or directory" }) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5f350b468257 - <::print::DisplayBacktrace as core[a373ad73a504971]::fmt::Display>::fmt [INFO] [stdout] 1: 0x5f350b4505ba - core[a373ad73a504971]::fmt::write [INFO] [stdout] 2: 0x5f350b46780b - as core[a373ad73a504971]::io::write::Write>::write_fmt [INFO] [stdout] 3: 0x5f350b4672ef - std[617be2ca0a6fd877]::panicking::default_hook::{closure#0} [INFO] [stdout] 4: 0x5f350b466f1a - std[617be2ca0a6fd877]::panicking::default_hook [INFO] [stdout] 5: 0x5f350b466a55 - std[617be2ca0a6fd877]::panicking::panic_with_hook [INFO] [stdout] 6: 0x5f350b48d8b1 - std[617be2ca0a6fd877]::panicking::panic_handler::{closure#0} [INFO] [stdout] 7: 0x5f350b48d869 - std[617be2ca0a6fd877]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] 8: 0x5f350b48dd6c - __rustc[ea4f61d10b84890b]::rust_begin_unwind [INFO] [stdout] 9: 0x5f350b45044b - core[a373ad73a504971]::panicking::panic_fmt [INFO] [stdout] 10: 0x5f350b453701 - core[a373ad73a504971]::result::unwrap_failed [INFO] [stdout] 11: 0x5f350b44ebf4 - >::call_once [INFO] [stdout] 12: 0x5f350b4abe5b - test[aada8e7e76ba119b]::__rust_begin_short_backtrace::, fn() -> core[a373ad73a504971]::result::Result<(), alloc[2e1b2a31b91974c5]::string::String>> [INFO] [stdout] 13: 0x5f350b4a78a2 - test[aada8e7e76ba119b]::run_test::{closure#0} [INFO] [stdout] 14: 0x5f350b4a730c - std[617be2ca0a6fd877]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 15: 0x5f350b4c72bc - ::{closure#1} as core[a373ad73a504971]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 16: 0x5f350b48f544 - ::new::thread_start [INFO] [stdout] 17: 0x7300fcc8bdfa - [INFO] [stdout] 18: 0x7300fcd1f3d4 - clone [INFO] [stdout] 19: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- multiple_inputs stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'multiple_inputs' (323) panicked at tests/tests.rs:117:14: [INFO] [stdout] failed running test: IoError(Os { code: 2, kind: NotFound, message: "No such file or directory" }) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5f350b468257 - <::print::DisplayBacktrace as core[a373ad73a504971]::fmt::Display>::fmt [INFO] [stdout] 1: 0x5f350b4505ba - core[a373ad73a504971]::fmt::write [INFO] [stdout] 2: 0x5f350b46780b - as core[a373ad73a504971]::io::write::Write>::write_fmt [INFO] [stdout] 3: 0x5f350b4672ef - std[617be2ca0a6fd877]::panicking::default_hook::{closure#0} [INFO] [stdout] 4: 0x5f350b466f1a - std[617be2ca0a6fd877]::panicking::default_hook [INFO] [stdout] 5: 0x5f350b466a55 - std[617be2ca0a6fd877]::panicking::panic_with_hook [INFO] [stdout] 6: 0x5f350b48d8b1 - std[617be2ca0a6fd877]::panicking::panic_handler::{closure#0} [INFO] [stdout] 7: 0x5f350b48d869 - std[617be2ca0a6fd877]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] 8: 0x5f350b48dd6c - __rustc[ea4f61d10b84890b]::rust_begin_unwind [INFO] [stdout] 9: 0x5f350b45044b - core[a373ad73a504971]::panicking::panic_fmt [INFO] [stdout] 10: 0x5f350b453701 - core[a373ad73a504971]::result::unwrap_failed [INFO] [stdout] 11: 0x5f350b44e845 - >::call_once [INFO] [stdout] 12: 0x5f350b4abe5b - test[aada8e7e76ba119b]::__rust_begin_short_backtrace::, fn() -> core[a373ad73a504971]::result::Result<(), alloc[2e1b2a31b91974c5]::string::String>> [INFO] [stdout] 13: 0x5f350b4a78a2 - test[aada8e7e76ba119b]::run_test::{closure#0} [INFO] [stdout] 14: 0x5f350b4a730c - std[617be2ca0a6fd877]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 15: 0x5f350b4c72bc - ::{closure#1} as core[a373ad73a504971]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 16: 0x5f350b48f544 - ::new::thread_start [INFO] [stdout] 17: 0x7300fcc8bdfa - [INFO] [stdout] 18: 0x7300fcd1f3d4 - clone [INFO] [stdout] 19: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] multiple_inputs [INFO] [stdout] output_with_one_replacement [INFO] [stdout] output_without_replacements [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test tests` [INFO] running `Command { std: "docker" "inspect" "d916e75ef98381126c94deaabd9151a57efeaffbc966ce5881bae83561734e37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d916e75ef98381126c94deaabd9151a57efeaffbc966ce5881bae83561734e37", kill_on_drop: false }` [INFO] [stdout] d916e75ef98381126c94deaabd9151a57efeaffbc966ce5881bae83561734e37