[INFO] cloning repository https://github.com/LearningOS/rust-rustlings-2024-spring-1chengm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LearningOS/rust-rustlings-2024-spring-1chengm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLearningOS%2Frust-rustlings-2024-spring-1chengm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLearningOS%2Frust-rustlings-2024-spring-1chengm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1107b083d72446613ee0f174478c6bec8455cb79 [INFO] testing LearningOS/rust-rustlings-2024-spring-1chengm against try#0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLearningOS%2Frust-rustlings-2024-spring-1chengm" "/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/LearningOS/rust-rustlings-2024-spring-1chengm [INFO] finished tweaking git repo https://github.com/LearningOS/rust-rustlings-2024-spring-1chengm [INFO] tweaked toml for git repo https://github.com/LearningOS/rust-rustlings-2024-spring-1chengm written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/LearningOS/rust-rustlings-2024-spring-1chengm on toolchain 0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/LearningOS/rust-rustlings-2024-spring-1chengm 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" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a387141ea756be1cc15d18e4c45c25feee21ab7d6eac64040342f4591bd5c542 [INFO] running `Command { std: "docker" "start" "-a" "a387141ea756be1cc15d18e4c45c25feee21ab7d6eac64040342f4591bd5c542", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a387141ea756be1cc15d18e4c45c25feee21ab7d6eac64040342f4591bd5c542", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a387141ea756be1cc15d18e4c45c25feee21ab7d6eac64040342f4591bd5c542", kill_on_drop: false }` [INFO] [stdout] a387141ea756be1cc15d18e4c45c25feee21ab7d6eac64040342f4591bd5c542 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6da91bdc562e8e9636dc50cc1a65181d601cdfeaf3b1d9a09fccfb22912eeaac [INFO] running `Command { std: "docker" "start" "-a" "6da91bdc562e8e9636dc50cc1a65181d601cdfeaf3b1d9a09fccfb22912eeaac", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling proc-macro2 v1.0.64 [INFO] [stderr] Compiling quote v1.0.29 [INFO] [stderr] Compiling unicode-ident v1.0.10 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling serde v1.0.171 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling regex-syntax v0.7.4 [INFO] [stderr] Compiling smallvec v1.11.0 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling tokio v1.29.1 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling argh_shared v0.1.10 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling serde_json v1.0.102 [INFO] [stderr] Compiling walkdir v2.3.3 [INFO] [stderr] Compiling aho-corasick v1.0.2 [INFO] [stderr] Compiling pin-project-lite v0.2.10 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling itoa v1.0.8 [INFO] [stderr] Compiling ryu v1.0.14 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling home v0.5.5 [INFO] [stderr] Compiling syn v2.0.25 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling inotify v0.7.1 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling console v0.15.7 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling filetime v0.2.21 [INFO] [stderr] Compiling notify v4.0.17 [INFO] [stderr] Compiling regex-automata v0.3.3 [INFO] [stderr] Compiling argh_derive v0.1.10 [INFO] [stderr] Compiling argh v0.1.10 [INFO] [stderr] Compiling serde_derive v1.0.171 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling regex v1.9.1 [INFO] [stderr] Compiling indicatif v0.16.2 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling rustlings v5.5.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/exercise.rs:113:20 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn compile(&self) -> Result { [INFO] [stdout] | ^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 113 | pub fn compile(&self) -> Result, ExerciseOutput> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 41.26s [INFO] running `Command { std: "docker" "inspect" "6da91bdc562e8e9636dc50cc1a65181d601cdfeaf3b1d9a09fccfb22912eeaac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6da91bdc562e8e9636dc50cc1a65181d601cdfeaf3b1d9a09fccfb22912eeaac", kill_on_drop: false }` [INFO] [stdout] 6da91bdc562e8e9636dc50cc1a65181d601cdfeaf3b1d9a09fccfb22912eeaac [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6d8d58722b4e213cf666666f57a903196785ee17036d15033d5c0f0313363da2 [INFO] running `Command { std: "docker" "start" "-a" "6d8d58722b4e213cf666666f57a903196785ee17036d15033d5c0f0313363da2", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling predicates-core v1.0.6 [INFO] [stderr] Compiling escargot v0.4.0 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling termtree v0.4.1 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/exercise.rs:113:20 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn compile(&self) -> Result { [INFO] [stdout] | ^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 113 | pub fn compile(&self) -> Result, ExerciseOutput> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling predicates-tree v1.0.9 [INFO] [stderr] Compiling float-cmp v0.8.0 [INFO] [stderr] Compiling predicates v1.0.8 [INFO] [stderr] Compiling assert_cmd v0.11.1 [INFO] [stderr] Compiling rustlings v5.5.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/exercise.rs:113:20 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn compile(&self) -> Result { [INFO] [stdout] | ^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 113 | pub fn compile(&self) -> Result, ExerciseOutput> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.43s [INFO] running `Command { std: "docker" "inspect" "6d8d58722b4e213cf666666f57a903196785ee17036d15033d5c0f0313363da2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d8d58722b4e213cf666666f57a903196785ee17036d15033d5c0f0313363da2", kill_on_drop: false }` [INFO] [stdout] 6d8d58722b4e213cf666666f57a903196785ee17036d15033d5c0f0313363da2 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e8ecd7c36615b1b75b92f8010c1dbbf0ce1b8ac033fe367488b21fb3b58ed2a0 [INFO] running `Command { std: "docker" "start" "-a" "e8ecd7c36615b1b75b92f8010c1dbbf0ce1b8ac033fe367488b21fb3b58ed2a0", kill_on_drop: false }` [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/exercise.rs:113:20 [INFO] [stderr] | [INFO] [stderr] 113 | pub fn compile(&self) -> Result { [INFO] [stderr] | ^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 113 | pub fn compile(&self) -> Result, ExerciseOutput> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `rustlings` (bin "rustlings") generated 1 warning [INFO] [stderr] warning: `rustlings` (bin "rustlings" test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rustlings-656882fefc2a9684) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test exercise::test::test_finished_exercise ... ok [INFO] [stdout] test exercise::test::test_pending_state ... ok [INFO] [stdout] test exercise::test::test_clean ... FAILED [INFO] [stdout] test exercise::test::test_exercise_with_output ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- exercise::test::test_clean stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'exercise::test::test_clean' panicked at src/exercise.rs:303:36: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x645988b6bf22 - std::backtrace_rs::backtrace::libunwind::trace::h5edb72cc539d8d33 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x645988b6bf22 - std::backtrace_rs::backtrace::trace_unsynchronized::h73d186ef976c5ae2 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x645988b6bf22 - std::sys::backtrace::_print_fmt::h4410012d384fde01 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x645988b6bf22 - ::fmt::h281a579a27d691d5 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x645988b92093 - core::fmt::rt::Argument::fmt::h4c31bb6a3f4e4ed6 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x645988b92093 - core::fmt::write::hd1f1283e971fbb36 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/core/src/fmt/mod.rs:1465:25 [INFO] [stdout] 6: 0x645988b69053 - std::io::default_write_fmt::h6d6cb3ff48bb6394 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x645988b69053 - std::io::Write::write_fmt::h976b7a346c630898 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x645988b6bd72 - std::sys::backtrace::BacktraceLock::print::h7cc2f8a0b7549773 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x645988b6d54c - std::panicking::default_hook::{{closure}}::hc18f11ca3cc980d1 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x645988b6d3a2 - std::panicking::default_hook::h5207cd5928e5a9d2 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x64598891d044 - as core::ops::function::Fn>::call::h53735dbb2fff5e8e [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x64598891d044 - test::test_main_with_exit_callback::{{closure}}::h8629ce54f7c62158 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x645988b6e02b - as core::ops::function::Fn>::call::hdd01dfa4f5d59fd2 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 14: 0x645988b6e02b - std::panicking::rust_panic_with_hook::he2975323910480e2 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x645988b6dcfa - std::panicking::begin_panic_handler::{{closure}}::hf6a73f8f68d2901d [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x645988b6c429 - std::sys::backtrace::__rust_end_short_backtrace::h91c7517b8fba4182 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x645988b6d98d - __rustc[c30fa7112bbf6ac0]::rust_begin_unwind [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x645988b90830 - core::panicking::panic_fmt::h1dc18eebb9b6550e [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x645988b90c76 - core::result::unwrap_failed::hf0cc4753dff8b804 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/core/src/result.rs:1761:5 [INFO] [stdout] 20: 0x6459888d8efc - core::result::Result::unwrap::h4ec5e976fdf4831d [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/core/src/result.rs:1167:23 [INFO] [stdout] 21: 0x6459888d8efc - rustlings::exercise::test::test_clean::h0c98c9e628645dee [INFO] [stdout] at /opt/rustwide/workdir/src/exercise.rs:303:36 [INFO] [stdout] 22: 0x6459888d8e37 - rustlings::exercise::test::test_clean::{{closure}}::h84f610766586baa3 [INFO] [stdout] at /opt/rustwide/workdir/src/exercise.rs:302:20 [INFO] [stdout] 23: 0x6459888d6736 - core::ops::function::FnOnce::call_once::h00a3cd1b4a55d45d [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x64598892273b - core::ops::function::FnOnce::call_once::hdd80366119caeff9 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x64598892273b - test::__rust_begin_short_backtrace::h60798cb0fdc462bd [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/test/src/lib.rs:648:18 [INFO] [stdout] 26: 0x6459889219be - test::run_test_in_process::{{closure}}::h81bd62fe0ddb1cae [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/test/src/lib.rs:671:74 [INFO] [stdout] 27: 0x6459889219be - as core::ops::function::FnOnce<()>>::call_once::h6ee6466477e4c0dc [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x6459889219be - std::panicking::catch_unwind::do_call::h01a79315147a2ca1 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/panicking.rs:589:40 [INFO] [stdout] 29: 0x6459889219be - std::panicking::catch_unwind::h831c87e90ef4f2d8 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/panicking.rs:552:19 [INFO] [stdout] 30: 0x6459889219be - std::panic::catch_unwind::h50e9876bcbc7c37f [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x6459889219be - test::run_test_in_process::hd57ee4367ef533b2 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/test/src/lib.rs:671:27 [INFO] [stdout] 32: 0x6459889219be - test::run_test::{{closure}}::hd180abfe8d10b90d [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/test/src/lib.rs:592:43 [INFO] [stdout] 33: 0x6459888e55b4 - test::run_test::{{closure}}::hadea4433d10ac366 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/test/src/lib.rs:622:41 [INFO] [stdout] 34: 0x6459888e55b4 - std::sys::backtrace::__rust_begin_short_backtrace::hb136c48ddd0ced72 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 35: 0x6459888e8eaa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h9e392173a704e81a [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x6459888e8eaa - as core::ops::function::FnOnce<()>>::call_once::h858a87db574d2ff4 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x6459888e8eaa - std::panicking::catch_unwind::do_call::hff7ec4d4a59ca346 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/panicking.rs:589:40 [INFO] [stdout] 38: 0x6459888e8eaa - std::panicking::catch_unwind::h74378fed914955a4 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/panicking.rs:552:19 [INFO] [stdout] 39: 0x6459888e8eaa - std::panic::catch_unwind::hd644e75c809e87ce [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x6459888e8eaa - std::thread::Builder::spawn_unchecked_::{{closure}}::h5c4ce65e6ea67c65 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x6459888e8eaa - core::ops::function::FnOnce::call_once{{vtable.shim}}::h2c391219c93831ae [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x645988b70f87 - as core::ops::function::FnOnce>::call_once::ha02f1268c87bf8cb [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 43: 0x645988b70f87 - as core::ops::function::FnOnce>::call_once::ha9964535c0565e6a [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 44: 0x645988b70f87 - std::sys::pal::unix::thread::Thread::new::thread_start::hd6a2768613f757f7 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] 45: 0x74f56f8acaa4 - [INFO] [stdout] 46: 0x74f56f939a34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- exercise::test::test_exercise_with_output stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'exercise::test::test_exercise_with_output' panicked at src/exercise.rs:376:38: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: ExerciseOutput { stdout: "", stderr: "\u{1b}[0m\u{1b}[1m\u{1b}[38;5;9merror\u{1b}[0m\u{1b}[0m\u{1b}[1m: couldn't create a temp dir: Read-only file system (os error 30) at path \"/opt/rustwide/workdir/./rmetaB8JlAL\"\u{1b}[0m\n\n\u{1b}[0m\u{1b}[1m\u{1b}[38;5;9merror\u{1b}[0m\u{1b}[0m\u{1b}[1m: aborting due to 1 previous error\u{1b}[0m\n\n" } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x645988b6bf22 - std::backtrace_rs::backtrace::libunwind::trace::h5edb72cc539d8d33 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x645988b6bf22 - std::backtrace_rs::backtrace::trace_unsynchronized::h73d186ef976c5ae2 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x645988b6bf22 - std::sys::backtrace::_print_fmt::h4410012d384fde01 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x645988b6bf22 - ::fmt::h281a579a27d691d5 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x645988b92093 - core::fmt::rt::Argument::fmt::h4c31bb6a3f4e4ed6 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x645988b92093 - core::fmt::write::hd1f1283e971fbb36 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/core/src/fmt/mod.rs:1465:25 [INFO] [stdout] 6: 0x645988b69053 - std::io::default_write_fmt::h6d6cb3ff48bb6394 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x645988b69053 - std::io::Write::write_fmt::h976b7a346c630898 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x645988b6bd72 - std::sys::backtrace::BacktraceLock::print::h7cc2f8a0b7549773 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x645988b6d54c - std::panicking::default_hook::{{closure}}::hc18f11ca3cc980d1 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x645988b6d3a2 - std::panicking::default_hook::h5207cd5928e5a9d2 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x64598891d044 - as core::ops::function::Fn>::call::h53735dbb2fff5e8e [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x64598891d044 - test::test_main_with_exit_callback::{{closure}}::h8629ce54f7c62158 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x645988b6e02b - as core::ops::function::Fn>::call::hdd01dfa4f5d59fd2 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 14: 0x645988b6e02b - std::panicking::rust_panic_with_hook::he2975323910480e2 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x645988b6dcfa - std::panicking::begin_panic_handler::{{closure}}::hf6a73f8f68d2901d [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x645988b6c429 - std::sys::backtrace::__rust_end_short_backtrace::h91c7517b8fba4182 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x645988b6d98d - __rustc[c30fa7112bbf6ac0]::rust_begin_unwind [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x645988b90830 - core::panicking::panic_fmt::h1dc18eebb9b6550e [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x645988b90c76 - core::result::unwrap_failed::hf0cc4753dff8b804 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/core/src/result.rs:1761:5 [INFO] [stdout] 20: 0x6459888d9d96 - core::result::Result::unwrap::h642d4629b0c8f660 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/core/src/result.rs:1167:23 [INFO] [stdout] 21: 0x6459888d9d96 - rustlings::exercise::test::test_exercise_with_output::h25a4c3a470153ed9 [INFO] [stdout] at /opt/rustwide/workdir/src/exercise.rs:376:38 [INFO] [stdout] 22: 0x6459888d9b97 - rustlings::exercise::test::test_exercise_with_output::{{closure}}::hc7ce2785e22fb72f [INFO] [stdout] at /opt/rustwide/workdir/src/exercise.rs:369:35 [INFO] [stdout] 23: 0x6459888d6846 - core::ops::function::FnOnce::call_once::hde0c8e779fa50924 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x64598892273b - core::ops::function::FnOnce::call_once::hdd80366119caeff9 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x64598892273b - test::__rust_begin_short_backtrace::h60798cb0fdc462bd [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/test/src/lib.rs:648:18 [INFO] [stdout] 26: 0x6459889219be - test::run_test_in_process::{{closure}}::h81bd62fe0ddb1cae [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/test/src/lib.rs:671:74 [INFO] [stdout] 27: 0x6459889219be - as core::ops::function::FnOnce<()>>::call_once::h6ee6466477e4c0dc [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x6459889219be - std::panicking::catch_unwind::do_call::h01a79315147a2ca1 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/panicking.rs:589:40 [INFO] [stdout] 29: 0x6459889219be - std::panicking::catch_unwind::h831c87e90ef4f2d8 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/panicking.rs:552:19 [INFO] [stdout] 30: 0x6459889219be - std::panic::catch_unwind::h50e9876bcbc7c37f [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x6459889219be - test::run_test_in_process::hd57ee4367ef533b2 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/test/src/lib.rs:671:27 [INFO] [stdout] 32: 0x6459889219be - test::run_test::{{closure}}::hd180abfe8d10b90d [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/test/src/lib.rs:592:43 [INFO] [stdout] 33: 0x6459888e55b4 - test::run_test::{{closure}}::hadea4433d10ac366 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/test/src/lib.rs:622:41 [INFO] [stdout] 34: 0x6459888e55b4 - std::sys::backtrace::__rust_begin_short_backtrace::hb136c48ddd0ced72 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 35: 0x6459888e8eaa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h9e392173a704e81a [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x6459888e8eaa - as core::ops::function::FnOnce<()>>::call_once::h858a87db574d2ff4 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x6459888e8eaa - std::panicking::catch_unwind::do_call::hff7ec4d4a59ca346 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/panicking.rs:589:40 [INFO] [stdout] 38: 0x6459888e8eaa - std::panicking::catch_unwind::h74378fed914955a4 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/panicking.rs:552:19 [INFO] [stdout] 39: 0x6459888e8eaa - std::panic::catch_unwind::hd644e75c809e87ce [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x6459888e8eaa - std::thread::Builder::spawn_unchecked_::{{closure}}::h5c4ce65e6ea67c65 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x6459888e8eaa - core::ops::function::FnOnce::call_once{{vtable.shim}}::h2c391219c93831ae [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x645988b70f87 - as core::ops::function::FnOnce>::call_once::ha02f1268c87bf8cb [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 43: 0x645988b70f87 - as core::ops::function::FnOnce>::call_once::ha9964535c0565e6a [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 44: 0x645988b70f87 - std::sys::pal::unix::thread::Thread::new::thread_start::hd6a2768613f757f7 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] 45: 0x74f56f8acaa4 - [INFO] [stdout] 46: 0x74f56f939a34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] exercise::test::test_clean [INFO] [stdout] exercise::test::test_exercise_with_output [INFO] [stdout] [INFO] [stdout] test result: FAILED. 2 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--bin rustlings` [INFO] running `Command { std: "docker" "inspect" "e8ecd7c36615b1b75b92f8010c1dbbf0ce1b8ac033fe367488b21fb3b58ed2a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8ecd7c36615b1b75b92f8010c1dbbf0ce1b8ac033fe367488b21fb3b58ed2a0", kill_on_drop: false }` [INFO] [stdout] e8ecd7c36615b1b75b92f8010c1dbbf0ce1b8ac033fe367488b21fb3b58ed2a0