[INFO] cloning repository https://github.com/iammaxence/treasure_map [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/iammaxence/treasure_map" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiammaxence%2Ftreasure_map", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiammaxence%2Ftreasure_map'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a4c9835de5b93ba90e2f02099ed83cdf053c8318 [INFO] testing iammaxence/treasure_map against try#311784882baa42a9638298cb325fa01a062c9d0f+cargoflags=-Zbuild-dir-new-layout for pr-149852 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiammaxence%2Ftreasure_map" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/iammaxence/treasure_map [INFO] finished tweaking git repo https://github.com/iammaxence/treasure_map [INFO] tweaked toml for git repo https://github.com/iammaxence/treasure_map written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/iammaxence/treasure_map on toolchain 311784882baa42a9638298cb325fa01a062c9d0f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+311784882baa42a9638298cb325fa01a062c9d0f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/iammaxence/treasure_map 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" "+311784882baa42a9638298cb325fa01a062c9d0f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+311784882baa42a9638298cb325fa01a062c9d0f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e2430d04eb87688a7b62eb61f259d9ce70a252a523cf3b218860e1241ce4b7e3 [INFO] running `Command { std: "docker" "start" "-a" "e2430d04eb87688a7b62eb61f259d9ce70a252a523cf3b218860e1241ce4b7e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e2430d04eb87688a7b62eb61f259d9ce70a252a523cf3b218860e1241ce4b7e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2430d04eb87688a7b62eb61f259d9ce70a252a523cf3b218860e1241ce4b7e3", kill_on_drop: false }` [INFO] [stdout] e2430d04eb87688a7b62eb61f259d9ce70a252a523cf3b218860e1241ce4b7e3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+311784882baa42a9638298cb325fa01a062c9d0f" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] 8b592d94273d0bae312e9fafba1926e863945fc67fb1f33815dd2923d42ad617 [INFO] running `Command { std: "docker" "start" "-a" "8b592d94273d0bae312e9fafba1926e863945fc67fb1f33815dd2923d42ad617", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling fastrand v2.0.2 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling parameterized-macro v2.0.0 [INFO] [stderr] Compiling parameterized v2.0.0 [INFO] [stderr] Compiling technicalIT v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.95s [INFO] running `Command { std: "docker" "inspect" "8b592d94273d0bae312e9fafba1926e863945fc67fb1f33815dd2923d42ad617", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b592d94273d0bae312e9fafba1926e863945fc67fb1f33815dd2923d42ad617", kill_on_drop: false }` [INFO] [stdout] 8b592d94273d0bae312e9fafba1926e863945fc67fb1f33815dd2923d42ad617 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+311784882baa42a9638298cb325fa01a062c9d0f" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] e16d3a3e72c4ea3cd27615dd09842d96b3db5ba6dfe39c4d793e9b6c84b4eda7 [INFO] running `Command { std: "docker" "start" "-a" "e16d3a3e72c4ea3cd27615dd09842d96b3db5ba6dfe39c4d793e9b6c84b4eda7", kill_on_drop: false }` [INFO] [stderr] Compiling technicalIT v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.11s [INFO] running `Command { std: "docker" "inspect" "e16d3a3e72c4ea3cd27615dd09842d96b3db5ba6dfe39c4d793e9b6c84b4eda7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e16d3a3e72c4ea3cd27615dd09842d96b3db5ba6dfe39c4d793e9b6c84b4eda7", kill_on_drop: false }` [INFO] [stdout] e16d3a3e72c4ea3cd27615dd09842d96b3db5ba6dfe39c4d793e9b6c84b4eda7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+311784882baa42a9638298cb325fa01a062c9d0f" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] 625e0124a1831fcd4bf05b6b017d5d1fa4e321fd7a6565ae9e235587e684df51 [INFO] running `Command { std: "docker" "start" "-a" "625e0124a1831fcd4bf05b6b017d5d1fa4e321fd7a6565ae9e235587e684df51", kill_on_drop: false }` [INFO] [stdout] [INFO] [stdout] running 46 tests [INFO] [stdout] test element::tests::should_get_adventurer_orientation_to_string::case_0 ... ok [INFO] [stdout] test element::tests::should_add_treasure_to_adventurer ... ok [INFO] [stdout] test element::tests::should_get_orientation_when_given_char::case_0 ... ok [INFO] [stdout] test element::tests::should_get_orientation_when_given_char::case_1 ... ok [INFO] [stdout] test element::tests::should_get_orientation_when_given_char::case_3 ... ok [INFO] [stdout] test element::tests::should_get_position_for_an_element::case_4 ... ok [INFO] [stdout] test element::tests::should_init_empty ... ok [INFO] [stdout] test element::tests::should_get_adventurer_orientation_to_string::case_2 ... ok [INFO] [stdout] test element::tests::should_get_orientation_when_given_char::case_2 ... ok [INFO] [stdout] test element::tests::should_init_raw_map ... ok [INFO] [stdout] test element::tests::should_init_raw_mountain ... ok [INFO] [stdout] test element::tests::should_init_raw_treasure ... ok [INFO] [stdout] test element::tests::should_get_adventurer_orientation_to_string::case_1 ... ok [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/build/technicalIT/b880ff7f524754ea/deps/technicalIT-b880ff7f524754ea) [INFO] [stdout] test element::tests::should_get_position_for_an_element::case_1 ... ok [INFO] [stdout] test element::tests::should_get_position_for_an_element::case_2 ... ok [INFO] [stdout] test element::tests::should_get_position_for_an_element::case_0 ... ok [INFO] [stdout] test element::tests::should_get_position_for_an_element::case_3 ... ok [INFO] [stdout] test map::tests::should_create_new_map ... ok [INFO] [stdout] test tests::should_adventurer_change_orientation_when_adventurer_turn_to_left::case_0 ... ok [INFO] [stdout] test element::tests::should_init_adventurer ... ok [INFO] [stdout] test file::tests::should_convert_file_to_hashmap ... ok [INFO] [stdout] test tests::should_adventurer_change_orientation_when_adventurer_turn_to_left::case_1 ... ok [INFO] [stdout] test tests::should_adventurer_change_orientation_when_adventurer_turn_to_left::case_3 ... ok [INFO] [stdout] test tests::should_adventurer_change_orientation_when_adventurer_turn_to_right::case_0 ... ok [INFO] [stdout] test element::tests::should_update_adventurer_position ... ok [INFO] [stdout] test map::tests::should_map_to_hash_map ... ok [INFO] [stdout] test map::tests::should_update_nb_treasure_when_element_at_position_x_y_is_treasure ... ok [INFO] [stdout] test file::tests::test_generate_map_file ... FAILED [INFO] [stdout] test tests::should_adventurer_change_orientation_when_adventurer_turn_to_left::case_2 ... ok [INFO] [stdout] test tests::should_adventurer_change_orientation_when_adventurer_turn_to_right::case_3 ... ok [INFO] [stdout] test tests::should_adventurer_move_to_next_position ... ok [INFO] [stdout] test tests::should_adventurer_do_nothing_when_moving_to_mountain_position ... ok [INFO] [stdout] test tests::should_adventurer_change_orientation_when_adventurer_turn_to_right::case_2 ... ok [INFO] [stdout] test tests::should_get_adeventurer_action_sequence ... ok [INFO] [stdout] test tests::should_adventurer_change_orientation_when_adventurer_turn_to_right::case_1 ... ok [INFO] [stdout] test tests::should_adventurer_not_change_orientation_when_move::case_1 ... ok [INFO] [stdout] test tests::should_adventurer_not_move_when_next_position_x_is_oustide_map ... ok [INFO] [stdout] test tests::should_adventurer_not_move_when_next_position_y_is_oustide_map ... ok [INFO] [stdout] test tests::should_adventurer_not_change_orientation_when_move::case_3 ... ok [INFO] [stdout] test tests::should_adventurer_not_change_orientation_when_move::case_0 ... ok [INFO] [stdout] test tests::should_adventurer_not_change_orientation_when_move::case_2 ... ok [INFO] [stdout] test map::tests::should_panic_when_data_filled_with_an_incorrect_position - should panic ... ok [INFO] [stdout] test element::tests::should_panic_when_given_unknown_character - should panic ... ok [INFO] [stdout] test tests::should_panic_when_empty_action_sequence - should panic ... ok [INFO] [stdout] test tests::should_adventurer_get_treasure_when_move_to_treasure_position ... ok [INFO] [stdout] test element::tests::should_get_adventurer_orientation_to_string::case_3 ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- file::tests::test_generate_map_file stdout ---- [INFO] [stdout] Error: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] file::tests::test_generate_map_file [INFO] [stdout] [INFO] [stdout] test result: FAILED. 45 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.16s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--bin technicalIT` [INFO] running `Command { std: "docker" "inspect" "625e0124a1831fcd4bf05b6b017d5d1fa4e321fd7a6565ae9e235587e684df51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "625e0124a1831fcd4bf05b6b017d5d1fa4e321fd7a6565ae9e235587e684df51", kill_on_drop: false }` [INFO] [stdout] 625e0124a1831fcd4bf05b6b017d5d1fa4e321fd7a6565ae9e235587e684df51