[INFO] fetching crate f789 0.1.0... [INFO] testing f789-0.1.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate f789 0.1.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate f789 0.1.0 [INFO] finished tweaking crates.io crate f789 0.1.0 [INFO] tweaked toml for crates.io crate f789 0.1.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate f789 0.1.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate f789 0.1.0 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded assert_fs v1.0.13 [INFO] [stderr] Downloaded syn v2.0.32 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 99a6fa8134f0d03a47220d6f4d08a67e51f1aa17b4a6ac175ccd207397ddd359 [INFO] running `Command { std: "docker" "start" "-a" "99a6fa8134f0d03a47220d6f4d08a67e51f1aa17b4a6ac175ccd207397ddd359", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "99a6fa8134f0d03a47220d6f4d08a67e51f1aa17b4a6ac175ccd207397ddd359", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99a6fa8134f0d03a47220d6f4d08a67e51f1aa17b4a6ac175ccd207397ddd359", kill_on_drop: false }` [INFO] [stdout] 99a6fa8134f0d03a47220d6f4d08a67e51f1aa17b4a6ac175ccd207397ddd359 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 16209c75c97b36e075d81a8906874763935659860d1c13916ec2f1ae9b937e1e [INFO] running `Command { std: "docker" "start" "-a" "16209c75c97b36e075d81a8906874763935659860d1c13916ec2f1ae9b937e1e", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling memchr v2.6.3 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling rustix v0.38.13 [INFO] [stderr] Compiling anstyle v1.0.2 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling linux-raw-sys v0.4.7 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling predicates-core v1.0.6 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling walkdir v2.4.0 [INFO] [stderr] Compiling anstyle-parse v0.2.1 [INFO] [stderr] Compiling anstyle-query v1.0.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling thread_local v1.1.7 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling portable-atomic v1.4.3 [INFO] [stderr] Compiling termtree v0.4.1 [INFO] [stderr] Compiling anstream v0.5.0 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling predicates-tree v1.0.9 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling clap_lex v0.5.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling aho-corasick v1.0.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling crossbeam-channel v0.5.8 [INFO] [stderr] Compiling fastrand v2.0.0 [INFO] [stderr] Compiling clap_builder v4.4.2 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.3 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling console v0.15.7 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling syn v2.0.32 [INFO] [stderr] Compiling float-cmp v0.9.0 [INFO] [stderr] Compiling rayon v1.7.0 [INFO] [stderr] Compiling tempfile v3.8.0 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling regex-automata v0.3.8 [INFO] [stderr] Compiling indicatif v0.17.6 [INFO] [stderr] Compiling regex v1.9.5 [INFO] [stderr] Compiling bstr v1.6.2 [INFO] [stderr] Compiling predicates v3.0.3 [INFO] [stderr] Compiling env_logger v0.10.0 [INFO] [stderr] Compiling clap_derive v4.4.2 [INFO] [stderr] Compiling globset v0.4.13 [INFO] [stderr] Compiling assert_cmd v2.0.12 [INFO] [stderr] Compiling ignore v0.4.20 [INFO] [stderr] Compiling clap v4.4.2 [INFO] [stderr] Compiling globwalk v0.8.1 [INFO] [stderr] Compiling assert_fs v1.0.13 [INFO] [stderr] Compiling f789 v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.50s [INFO] running `Command { std: "docker" "inspect" "16209c75c97b36e075d81a8906874763935659860d1c13916ec2f1ae9b937e1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16209c75c97b36e075d81a8906874763935659860d1c13916ec2f1ae9b937e1e", kill_on_drop: false }` [INFO] [stdout] 16209c75c97b36e075d81a8906874763935659860d1c13916ec2f1ae9b937e1e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] a77cbc6f1f258dd7360df7c611f617ed4955ce61d58bda568b63da2cea46cf6e [INFO] running `Command { std: "docker" "start" "-a" "a77cbc6f1f258dd7360df7c611f617ed4955ce61d58bda568b63da2cea46cf6e", kill_on_drop: false }` [INFO] [stderr] Compiling f789 v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.45s [INFO] running `Command { std: "docker" "inspect" "a77cbc6f1f258dd7360df7c611f617ed4955ce61d58bda568b63da2cea46cf6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a77cbc6f1f258dd7360df7c611f617ed4955ce61d58bda568b63da2cea46cf6e", kill_on_drop: false }` [INFO] [stdout] a77cbc6f1f258dd7360df7c611f617ed4955ce61d58bda568b63da2cea46cf6e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 58995f743078907cfd15971e6004d91a34b84a2cd9d2417f5dacce3f5da56580 [INFO] running `Command { std: "docker" "start" "-a" "58995f743078907cfd15971e6004d91a34b84a2cd9d2417f5dacce3f5da56580", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/f789-b5a1593e0293a32b) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/f789-b4ee28d54b144531) [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stderr] Running tests/cli.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/cli-7c061e35c1d50f54) [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test file_doesnt_exist ... FAILED [INFO] [stderr] error: test failed, to rerun pass `--test cli` [INFO] [stdout] test find_content_in_file ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- file_doesnt_exist stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'file_doesnt_exist' panicked at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5: [INFO] [stdout] Unexpected stderr, failed var.contains(无法读取文件) [INFO] [stdout] ├── var: Error: 无法打开文件 "text.txt" [INFO] [stdout] │ [INFO] [stdout] │ Caused by: [INFO] [stdout] │ No such file or directory (os error 2) [INFO] [stdout] │ [INFO] [stdout] │ Stack backtrace: [INFO] [stdout] │ 0: ::ext_context [INFO] [stdout] │ at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.75/src/backtrace.rs:27:14 [INFO] [stdout] │ 1: anyhow::context:: for core::result::Result>::with_context [INFO] [stdout] │ at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.75/src/context.rs:65:37 [INFO] [stdout] │ 2: f789::main [INFO] [stdout] │ at ./src/main.rs:20:39 [INFO] [stdout] │ 3: core::ops::function::FnOnce::call_once [INFO] [stdout] │ at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] │ 4: std::sys::backtrace::__rust_begin_short_backtrace [INFO] [stdout] │ at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] │ 5: std::rt::lang_start::{{closure}} [INFO] [stdout] │ at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/rt.rs:206:18 [INFO] [stdout] │ 6: core::ops::function::impls:: for &F>::call_once [INFO] [stdout] │ at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:284:21 [INFO] [stdout] │ 7: std::panicking::catch_unwind::do_call [INFO] [stdout] │ at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] │ 8: std::panicking::catch_unwind [INFO] [stdout] │ at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] │ 9: std::panic::catch_unwind [INFO] [stdout] │ at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] │ 10: std::rt::lang_start_internal::{{closure}} [INFO] [stdout] │ at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/rt.rs:175:24 [INFO] [stdout] │ 11: std::panicking::catch_unwind::do_call [INFO] [stdout] │ at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] │ 12: std::panicking::catch_unwind [INFO] [stdout] │ at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] │ 13: std::panic::catch_unwind [INFO] [stdout] │ at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] │ 14: std::rt::lang_start_internal [INFO] [stdout] │ at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/rt.rs:171:5 [INFO] [stdout] │ 15: std::rt::lang_start [INFO] [stdout] │ at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/rt.rs:205:5 [INFO] [stdout] │ 16: main [INFO] [stdout] └── var as str: Error: 无法打开文件 "text.txt" [INFO] [stdout] [INFO] [stdout] Caused by: [INFO] [stdout] No such file or directory (os error 2) [INFO] [stdout] [INFO] [stdout] Stack backtrace: [INFO] [stdout] 0: ::ext_context [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.75/src/backtrace.rs:27:14 [INFO] [stdout] 1: anyhow::context:: for core::result::Result>::with_context [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.75/src/context.rs:65:37 [INFO] [stdout] 2: f789::main [INFO] [stdout] at ./src/main.rs:20:39 [INFO] [stdout] 3: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 4: std::sys::backtrace::__rust_begin_short_backtrace [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 5: std::rt::lang_start::{{closure}} [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/rt.rs:206:18 [INFO] [stdout] 6: core::ops::function::impls:: for &F>::call_once [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:284:21 [INFO] [stdout] 7: std::panicking::catch_unwind::do_call [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 8: std::panicking::catch_unwind [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 9: std::panic::catch_unwind [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 10: std::rt::lang_start_internal::{{closure}} [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/rt.rs:175:24 [INFO] [stdout] 11: std::panicking::catch_unwind::do_call [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 12: std::panicking::catch_unwind [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 13: std::panic::catch_unwind [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 14: std::rt::lang_start_internal [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/rt.rs:171:5 [INFO] [stdout] 15: std::rt::lang_start [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/rt.rs:205:5 [INFO] [stdout] 16: main [INFO] [stdout] [INFO] [stdout] command=`"/opt/rustwide/target/x86_64-unknown-linux-musl/debug/f789" "front" "text.txt"` [INFO] [stdout] code=1 [INFO] [stdout] stdout="" [INFO] [stdout] stderr=``` [INFO] [stdout] Error: 无法打开文件 \"text.txt\" [INFO] [stdout] [INFO] [stdout] Caused by: [INFO] [stdout] No such file or directory (os error 2) [INFO] [stdout] [INFO] [stdout] Stack backtrace: [INFO] [stdout] 0: ::ext_context [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.75/src/backtrace.rs:27:14 [INFO] [stdout] 1: anyhow::context:: for core::result::Result>::with_context [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.75/src/context.rs:65:37 [INFO] [stdout] 2: f789::main [INFO] [stdout] at ./src/main.rs:20:39 [INFO] [stdout] 3: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 4: std::sys::backtrace::__rust_begin_short_backtrace [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 5: std::rt::lang_start::{{closure}} [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/rt.rs:206:18 [INFO] [stdout] 6: core::ops::function::impls:: for &F>::call_once [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:284:21 [INFO] [stdout] 7: std::panicking::catch_unwind::do_call [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 8: std::panicking::catch_unwind [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 9: std::panic::catch_unwind [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 10: std::rt::lang_start_internal::{{closure}} [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/rt.rs:175:24 [INFO] [stdout] 11: std::panicking::catch_unwind::do_call [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 12: std::panicking::catch_unwind [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 13: std::panic::catch_unwind [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 14: std::rt::lang_start_internal [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/rt.rs:171:5 [INFO] [stdout] 15: std::rt::lang_start [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/rt.rs:205:5 [INFO] [stdout] 16: main [INFO] [stdout] ``` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x7fc7c78103b2 - std::backtrace_rs::backtrace::libunwind::trace::h559918daaaf51ab7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x7fc7c78103b2 - std::backtrace_rs::backtrace::trace_unsynchronized::hb04fbcf80d07af8b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x7fc7c78103b2 - std::sys::backtrace::_print_fmt::h7c0bbbbfac0065d4 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x7fc7c78103b2 - ::fmt::hb62c8ed31943daa5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x7fc7c784bff3 - core::fmt::rt::Argument::fmt::he5eaa7dd607ed4c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x7fc7c784bff3 - core::fmt::write::h375399f8cb90b45a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/mod.rs:1460:25 [INFO] [stdout] 6: 0x7fc7c780d2c3 - std::io::default_write_fmt::hdc1b4dd565dd0099 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x7fc7c780d2c3 - std::io::Write::write_fmt::h29f6044e9bc43c23 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x7fc7c7810202 - std::sys::backtrace::BacktraceLock::print::ha189c586374f916a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x7fc7c7811b1c - std::panicking::default_hook::{{closure}}::ha3a26c98ff210e12 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x7fc7c7811972 - std::panicking::default_hook::h8c8a86b4390ab794 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x7fc7c77a54f4 - as core::ops::function::Fn>::call::ha39ae63ed1e9a130 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x7fc7c77a54f4 - test::test_main_with_exit_callback::{{closure}}::h9df7c328ebe18c28 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x7fc7c78124a3 - as core::ops::function::Fn>::call::h96b7201b552e9069 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 14: 0x7fc7c78124a3 - std::panicking::rust_panic_with_hook::hb3b66c2e80efa371 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x7fc7c781226a - std::panicking::begin_panic_handler::{{closure}}::h9c68d0f839e62070 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x7fc7c78108a9 - std::sys::backtrace::__rust_end_short_backtrace::h68d22ddde4a73ad6 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x7fc7c7811efd - __rustc[f4ffc7196a45a630]::rust_begin_unwind [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x7fc7c7769530 - core::panicking::panic_fmt::h8cdd4c81eb9069aa [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x7fc7c77c5280 - core::panicking::panic_display::hc3e0bbcc09b70307 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:268:5 [INFO] [stdout] 20: 0x7fc7c77c7f2b - assert_cmd::assert::AssertError::panic::panic_cold_display::hd58507649b9119ae [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic.rs:100:13 [INFO] [stdout] 21: 0x7fc7c77c6bb7 - assert_cmd::assert::AssertError::panic::h9015e06a6e36597b [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/assert_cmd-2.0.12/src/assert.rs:1033:9 [INFO] [stdout] 22: 0x7fc7c77c3507 - core::ops::function::FnOnce::call_once::h76dc63b4fd974780 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x7fc7c77bcbb4 - core::result::Result::unwrap_or_else::hea7eb4b63d4150ce [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/result.rs:1521:23 [INFO] [stdout] 24: 0x7fc7c776a725 - assert_cmd::assert::Assert::stderr::hc74219f83042afb5 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/assert_cmd-2.0.12/src/assert.rs:460:31 [INFO] [stdout] 25: 0x7fc7c776cd63 - cli::file_doesnt_exist::h38582a077428f966 [INFO] [stdout] at /opt/rustwide/workdir/tests/cli.rs:17:10 [INFO] [stdout] 26: 0x7fc7c776cb57 - cli::file_doesnt_exist::{{closure}}::h8ddcc419c8a9ef26 [INFO] [stdout] at /opt/rustwide/workdir/tests/cli.rs:7:27 [INFO] [stdout] 27: 0x7fc7c776b266 - core::ops::function::FnOnce::call_once::h532eb17f8313c476 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 28: 0x7fc7c77aabeb - core::ops::function::FnOnce::call_once::h9633dcf760ae81b2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 29: 0x7fc7c77aabeb - test::__rust_begin_short_backtrace::h12ad5e04c8d7b4a5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:648:18 [INFO] [stdout] 30: 0x7fc7c77a9e5e - test::run_test_in_process::{{closure}}::he596b4fd3fa4893c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:74 [INFO] [stdout] 31: 0x7fc7c77a9e5e - as core::ops::function::FnOnce<()>>::call_once::hc746bc3fa75190e0 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 32: 0x7fc7c77a9e5e - std::panicking::catch_unwind::do_call::hf4843906108d6299 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 33: 0x7fc7c77a9e5e - std::panicking::catch_unwind::h849d4e8b03577bb9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 34: 0x7fc7c77a9e5e - std::panic::catch_unwind::ha1f814c1dec025d2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 35: 0x7fc7c77a9e5e - test::run_test_in_process::h542aad3fe61255e7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:27 [INFO] [stdout] 36: 0x7fc7c77a9e5e - test::run_test::{{closure}}::h612788d75908cb63 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:592:43 [INFO] [stdout] 37: 0x7fc7c776ece4 - test::run_test::{{closure}}::hbfeea3bcb7245123 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:622:41 [INFO] [stdout] 38: 0x7fc7c776ece4 - std::sys::backtrace::__rust_begin_short_backtrace::h72542b83b4f87d5b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 39: 0x7fc7c77724da - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hff26a7547ea762c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 40: 0x7fc7c77724da - as core::ops::function::FnOnce<()>>::call_once::hbee49bc759312884 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 41: 0x7fc7c77724da - std::panicking::catch_unwind::do_call::h61de12ce5e04e28f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 42: 0x7fc7c77724da - std::panicking::catch_unwind::h454dd49873d22e18 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 43: 0x7fc7c77724da - std::panic::catch_unwind::h5c15187324f8cebb [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 44: 0x7fc7c77724da - std::thread::Builder::spawn_unchecked_::{{closure}}::hbc9d9c7427673d42 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 45: 0x7fc7c77724da - core::ops::function::FnOnce::call_once{{vtable.shim}}::hefd458a129ddca13 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 46: 0x7fc7c7814ef7 - as core::ops::function::FnOnce>::call_once::h2d6e2e526b02c3da [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 47: 0x7fc7c7814ef7 - as core::ops::function::FnOnce>::call_once::h1aefced482b33c72 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 48: 0x7fc7c7814ef7 - std::sys::pal::unix::thread::Thread::new::thread_start::h7c9c6951b48f721d [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] file_doesnt_exist [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.02s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "58995f743078907cfd15971e6004d91a34b84a2cd9d2417f5dacce3f5da56580", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58995f743078907cfd15971e6004d91a34b84a2cd9d2417f5dacce3f5da56580", kill_on_drop: false }` [INFO] [stdout] 58995f743078907cfd15971e6004d91a34b84a2cd9d2417f5dacce3f5da56580