[INFO] cloning repository https://github.com/mgrand/rust-transaction-processing-example
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mgrand/rust-transaction-processing-example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmgrand%2Frust-transaction-processing-example", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmgrand%2Frust-transaction-processing-example'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5714bd5286900acda2730fa692a8f3c8f61876a3
[INFO] testing mgrand/rust-transaction-processing-example against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmgrand%2Frust-transaction-processing-example" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/mgrand/rust-transaction-processing-example
[INFO] finished tweaking git repo https://github.com/mgrand/rust-transaction-processing-example
[INFO] tweaked toml for git repo https://github.com/mgrand/rust-transaction-processing-example written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/mgrand/rust-transaction-processing-example on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/mgrand/rust-transaction-processing-example 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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] bf9407886bfa40107dd2ac61ef9f84e87f7846124d6c961605f1de5e80e71fcd
[INFO] running `Command { std: "docker" "start" "-a" "bf9407886bfa40107dd2ac61ef9f84e87f7846124d6c961605f1de5e80e71fcd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bf9407886bfa40107dd2ac61ef9f84e87f7846124d6c961605f1de5e80e71fcd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bf9407886bfa40107dd2ac61ef9f84e87f7846124d6c961605f1de5e80e71fcd", kill_on_drop: false }`
[INFO] [stdout] bf9407886bfa40107dd2ac61ef9f84e87f7846124d6c961605f1de5e80e71fcd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Copt-level=3" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d185f43b6fc4dbb1fc3de44374cf2f988aaf49fb7be6d2940f35e8ee3bd60f99
[INFO] running `Command { std: "docker" "start" "-a" "d185f43b6fc4dbb1fc3de44374cf2f988aaf49fb7be6d2940f35e8ee3bd60f99", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.86
[INFO] [stderr]    Compiling libc v0.2.119
[INFO] [stderr]    Compiling rust_decimal v1.22.0
[INFO] [stderr]    Compiling regex-syntax v0.6.25
[INFO] [stderr]    Compiling regex-automata v0.1.10
[INFO] [stderr]    Compiling proc-macro2 v1.0.36
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling anyhow v1.0.55
[INFO] [stderr]    Compiling ryu v1.0.9
[INFO] [stderr]    Compiling arrayvec v0.7.2
[INFO] [stderr]    Compiling csv-core v0.1.10
[INFO] [stderr]    Compiling quote v1.0.15
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling regex v1.5.4
[INFO] [stderr]    Compiling env_logger v0.9.0
[INFO] [stderr]    Compiling serde_derive v1.0.136
[INFO] [stderr]    Compiling ctor v0.1.21
[INFO] [stderr]    Compiling serde v1.0.136
[INFO] [stderr]    Compiling bstr v0.2.17
[INFO] [stderr]    Compiling csv v1.1.6
[INFO] [stderr]    Compiling rust-transaction-processing-example v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 17s
[INFO] running `Command { std: "docker" "inspect" "d185f43b6fc4dbb1fc3de44374cf2f988aaf49fb7be6d2940f35e8ee3bd60f99", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d185f43b6fc4dbb1fc3de44374cf2f988aaf49fb7be6d2940f35e8ee3bd60f99", kill_on_drop: false }`
[INFO] [stdout] d185f43b6fc4dbb1fc3de44374cf2f988aaf49fb7be6d2940f35e8ee3bd60f99
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Copt-level=3" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f2a03313339ebd22955739310cf86bc479d579f7997575e3732e0a2c511ed948
[INFO] running `Command { std: "docker" "start" "-a" "f2a03313339ebd22955739310cf86bc479d579f7997575e3732e0a2c511ed948", kill_on_drop: false }`
[INFO] [stderr]    Compiling rust-transaction-processing-example v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/main.rs:390:52
[INFO] [stdout]     |
[INFO] [stdout] 390 |             assert_eq!(expected_transaction_count, TRANSACTION_COUNT);
[INFO] [stdout]     |                                                    ^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 3.02s
[INFO] running `Command { std: "docker" "inspect" "f2a03313339ebd22955739310cf86bc479d579f7997575e3732e0a2c511ed948", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f2a03313339ebd22955739310cf86bc479d579f7997575e3732e0a2c511ed948", kill_on_drop: false }`
[INFO] [stdout] f2a03313339ebd22955739310cf86bc479d579f7997575e3732e0a2c511ed948
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Copt-level=3" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 2470f30b31d36770d7cf06e0ceba12f8b8442950e5709d3020f10b18b5a6e98c
[INFO] running `Command { std: "docker" "start" "-a" "2470f30b31d36770d7cf06e0ceba12f8b8442950e5709d3020f10b18b5a6e98c", kill_on_drop: false }`
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> src/main.rs:390:52
[INFO] [stderr]     |
[INFO] [stderr] 390 |             assert_eq!(expected_transaction_count, TRANSACTION_COUNT);
[INFO] [stderr]     |                                                    ^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]     = note: `#[warn(static_mut_refs)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `rust-transaction-processing-example` (bin "rust-transaction-processing-example" test) generated 1 warning
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_transaction_processing_example-62a9eefa8c107086)
[INFO] [stdout] 
[INFO] [stdout] running 6 tests
[INFO] [stdout] test tests::add_customer_transaction_test ... ok
[INFO] [stdout] test tests::customer_state_test ... ok
[INFO] [stdout] test tests::process_command_line_good_file ... FAILED
[INFO] [stdout] test tests::process_command_line_with_nonexistent_file ... ok
[INFO] [stdout] test tests::process_command_line_wrong_number_of_args ... ok
[INFO] [stdout] test tests::run_test ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- tests::process_command_line_good_file stdout ----
[INFO] [stdout] Error: Read-only file system (os error 30)
[INFO] [stdout] 
[INFO] [stdout] ---- tests::run_test stdout ----
[INFO] [stdout] Error: Read-only file system (os error 30)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     tests::process_command_line_good_file
[INFO] [stdout]     tests::run_test
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 4 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--bin rust-transaction-processing-example`
[INFO] running `Command { std: "docker" "inspect" "2470f30b31d36770d7cf06e0ceba12f8b8442950e5709d3020f10b18b5a6e98c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2470f30b31d36770d7cf06e0ceba12f8b8442950e5709d3020f10b18b5a6e98c", kill_on_drop: false }`
[INFO] [stdout] 2470f30b31d36770d7cf06e0ceba12f8b8442950e5709d3020f10b18b5a6e98c
