[INFO] cloning repository https://github.com/mhfan/hello-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mhfan/hello-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmhfan%2Fhello-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmhfan%2Fhello-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 999f3af10f549d213b4dbc1f9c51613f7e5289b3 [INFO] testing mhfan/hello-rust against master#23949593103d03a82c7ebc2e84434ce6c6edc561 for pr-115235 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmhfan%2Fhello-rust" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mhfan/hello-rust on toolchain 23949593103d03a82c7ebc2e84434ce6c6edc561 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23949593103d03a82c7ebc2e84434ce6c6edc561" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mhfan/hello-rust [INFO] finished tweaking git repo https://github.com/mhfan/hello-rust [INFO] tweaked toml for git repo https://github.com/mhfan/hello-rust written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23949593103d03a82c7ebc2e84434ce6c6edc561" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23949593103d03a82c7ebc2e84434ce6c6edc561" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mintex v0.1.2 [INFO] [stderr] Downloaded findshlibs v0.10.2 [INFO] [stderr] Downloaded rexpect v0.5.0 [INFO] [stderr] Downloaded comma v1.0.0 [INFO] [stderr] Downloaded pprof v0.12.1 [INFO] [stderr] Downloaded symbolic-common v12.4.0 [INFO] [stderr] Downloaded inferno v0.11.17 [INFO] [stderr] Downloaded cpp_demangle v0.4.3 [INFO] [stderr] Downloaded dhat v0.3.2 [INFO] [stderr] Downloaded symbolic-demangle v12.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23949593103d03a82c7ebc2e84434ce6c6edc561" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cf105ceb069f1102ab5275c05db361d9462d6faaa66a584d348ef33ef3a49242 [INFO] running `Command { std: "docker" "start" "-a" "cf105ceb069f1102ab5275c05db361d9462d6faaa66a584d348ef33ef3a49242", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cf105ceb069f1102ab5275c05db361d9462d6faaa66a584d348ef33ef3a49242", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf105ceb069f1102ab5275c05db361d9462d6faaa66a584d348ef33ef3a49242", kill_on_drop: false }` [INFO] [stdout] cf105ceb069f1102ab5275c05db361d9462d6faaa66a584d348ef33ef3a49242 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23949593103d03a82c7ebc2e84434ce6c6edc561" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7cbd6deaacd11cef60e0e42ea08322e95f1d389d9fbee6f4b8c46cabce43f0cc [INFO] running `Command { std: "docker" "start" "-a" "7cbd6deaacd11cef60e0e42ea08322e95f1d389d9fbee6f4b8c46cabce43f0cc", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling thiserror v1.0.48 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.6.3 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling iana-time-zone v0.1.57 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Compiling ahash v0.8.3 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling chrono v0.4.31 [INFO] [stderr] Compiling thiserror-impl v1.0.48 [INFO] [stderr] Compiling inrust v0.3.8 (/opt/rustwide/workdir) [INFO] [stderr] Compiling pest v2.7.3 [INFO] [stderr] Compiling pest_meta v2.7.3 [INFO] [stderr] Compiling pest_generator v2.7.3 [INFO] [stderr] Compiling pest_derive v2.7.3 [INFO] [stderr] warning: src/calc24.cpp: In function 'void calc24_free(const char**, uint32_t)': [INFO] [stderr] warning: src/calc24.cpp:450:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] [INFO] [stderr] warning: 450 | for (auto i = 0u; i < cnt; ++i) delete ptr[i]; delete[] ptr; [INFO] [stderr] warning: | ^~~ [INFO] [stderr] warning: src/calc24.cpp:450:54: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' [INFO] [stderr] warning: 450 | for (auto i = 0u; i < cnt; ++i) delete ptr[i]; delete[] ptr; [INFO] [stderr] warning: | ^~~~~~ [INFO] [stderr] Finished dev [optimized + debuginfo] target(s) in 13.23s [INFO] running `Command { std: "docker" "inspect" "7cbd6deaacd11cef60e0e42ea08322e95f1d389d9fbee6f4b8c46cabce43f0cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cbd6deaacd11cef60e0e42ea08322e95f1d389d9fbee6f4b8c46cabce43f0cc", kill_on_drop: false }` [INFO] [stdout] 7cbd6deaacd11cef60e0e42ea08322e95f1d389d9fbee6f4b8c46cabce43f0cc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23949593103d03a82c7ebc2e84434ce6c6edc561" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8a81cdacf2cebd4d25827d4365a0c3364aff544189b009a7df2f04313993804b [INFO] running `Command { std: "docker" "start" "-a" "8a81cdacf2cebd4d25827d4365a0c3364aff544189b009a7df2f04313993804b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling rustix v0.38.13 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.7 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling aho-corasick v1.1.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling ciborium-io v0.2.1 [INFO] [stderr] Compiling clap_lex v0.5.1 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling plotters-backend v0.3.5 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling anstyle v1.0.3 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling ciborium-ll v0.2.1 [INFO] [stderr] Compiling clap_builder v4.4.4 [INFO] [stderr] Compiling plotters-svg v0.3.5 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling crossbeam-channel v0.5.8 [INFO] [stderr] Compiling fastrand v2.0.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling plotters v0.3.5 [INFO] [stderr] Compiling walkdir v2.4.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.3 [INFO] [stderr] Compiling comma v1.0.0 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling oorandom v11.1.3 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling regex-automata v0.3.8 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling ahash v0.8.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling tempfile v3.8.0 [INFO] [stderr] Compiling rayon v1.7.0 [INFO] [stderr] Compiling clap v4.4.4 [INFO] [stderr] Compiling nix v0.25.1 [INFO] [stderr] Compiling inrust v0.3.8 (/opt/rustwide/workdir) [INFO] [stderr] Compiling regex v1.9.5 [INFO] [stderr] Compiling rexpect v0.5.0 [INFO] [stderr] warning: src/calc24.cpp: In function 'void calc24_free(const char**, uint32_t)': [INFO] [stderr] warning: src/calc24.cpp:450:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] [INFO] [stderr] warning: 450 | for (auto i = 0u; i < cnt; ++i) delete ptr[i]; delete[] ptr; [INFO] [stderr] warning: | ^~~ [INFO] [stderr] warning: src/calc24.cpp:450:54: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' [INFO] [stderr] warning: 450 | for (auto i = 0u; i < cnt; ++i) delete ptr[i]; delete[] ptr; [INFO] [stderr] warning: | ^~~~~~ [INFO] [stderr] Compiling ciborium v0.2.1 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Finished test [optimized + debuginfo] target(s) in 27.34s [INFO] running `Command { std: "docker" "inspect" "8a81cdacf2cebd4d25827d4365a0c3364aff544189b009a7df2f04313993804b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a81cdacf2cebd4d25827d4365a0c3364aff544189b009a7df2f04313993804b", kill_on_drop: false }` [INFO] [stdout] 8a81cdacf2cebd4d25827d4365a0c3364aff544189b009a7df2f04313993804b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23949593103d03a82c7ebc2e84434ce6c6edc561" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a600f4b1dbb5e3292c0655abe13c3f9d1fa347b5cec9e49a024820950790a0e8 [INFO] running `Command { std: "docker" "start" "-a" "a600f4b1dbb5e3292c0655abe13c3f9d1fa347b5cec9e49a024820950790a0e8", kill_on_drop: false }` [INFO] [stderr] warning: src/calc24.cpp: In function 'void calc24_free(const char**, uint32_t)': [INFO] [stderr] warning: src/calc24.cpp:450:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] [INFO] [stderr] warning: 450 | for (auto i = 0u; i < cnt; ++i) delete ptr[i]; delete[] ptr; [INFO] [stderr] warning: | ^~~ [INFO] [stderr] warning: src/calc24.cpp:450:54: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' [INFO] [stderr] warning: 450 | for (auto i = 0u; i < cnt; ++i) delete ptr[i]; delete[] ptr; [INFO] [stderr] warning: | ^~~~~~ [INFO] [stderr] Finished test [optimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/inrust-c798969045c4de73) [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] Test format rational/expression: a: 5, b: 6 [INFO] [stdout] Test various unit cases ... [INFO] [stdout] test calc24::tests::solve24_random ... ignored [INFO] [stdout] test calc24::tests::hash_combine ... ok [INFO] [stdout] test list::tests::into_iter ... ok [INFO] [stdout] test list::tests::basics ... ok [INFO] [stdout] test list::tests::iter ... ok [INFO] [stdout] test list::tests::iter_mut ... ok [INFO] [stdout] test list::tests::peek ... ok [INFO] [stdout] test tests::test_g ... ok [INFO] [stdout] test calc24::tests::deck_traverse ... ok [INFO] [stdout] test calc24::tests::solve24_c ... ok [INFO] [stdout] test calc24::tests::solve24 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.50s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/inrust-1be8476226a8e356) [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 tests/game24_test.rs (/opt/rustwide/target/debug/deps/game24_test-335fa94b7978610d) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test largest ... ok [INFO] [stdout] test game24_sols ... ok [INFO] [stdout] test inrust_cli ... ok [INFO] [stderr] Doc-tests inrust [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.32s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test src/lib.rs - misc::fibonacci (line 27) ... ok [INFO] [stdout] test src/calc24.rs - calc24::RNum::fmt (line 82) ... ok [INFO] [stdout] test src/calc24.rs - calc24::Expr::eq (line 304) ... ok [INFO] [stdout] test src/lib.rs - misc::shell_pipe (line 75) ... ok [INFO] [stdout] test src/calc24.rs - calc24::Expr::from_str (line 243) ... ok [INFO] [stdout] test src/calc24.rs - calc24::RNum::reduce (line 41) ... ok [INFO] [stdout] test src/calc24.rs - calc24::calc24_first (line 607) ... ok [INFO] [stdout] test src/lib.rs - misc::powerset (line 44) ... ok [INFO] [stdout] test src/calc24.rs - calc24::game24_solvable (line 664) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.31s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a600f4b1dbb5e3292c0655abe13c3f9d1fa347b5cec9e49a024820950790a0e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a600f4b1dbb5e3292c0655abe13c3f9d1fa347b5cec9e49a024820950790a0e8", kill_on_drop: false }` [INFO] [stdout] a600f4b1dbb5e3292c0655abe13c3f9d1fa347b5cec9e49a024820950790a0e8