[INFO] cloning repository https://github.com/microsoft/qsharp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/microsoft/qsharp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fqsharp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fqsharp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 67f5f7080cb03d805f60b83e27f415ea01e6f233 [INFO] testing microsoft/qsharp against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fqsharp" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-1-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/microsoft/qsharp [INFO] finished tweaking git repo https://github.com/microsoft/qsharp [INFO] tweaked toml for git repo https://github.com/microsoft/qsharp written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/microsoft/qsharp on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/microsoft/qsharp 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c8705b5f4514778f3b1b4f4c27407da79703da1e62059f915fd8a3e2da70aa9e [INFO] running `Command { std: "docker" "start" "-a" "c8705b5f4514778f3b1b4f4c27407da79703da1e62059f915fd8a3e2da70aa9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c8705b5f4514778f3b1b4f4c27407da79703da1e62059f915fd8a3e2da70aa9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8705b5f4514778f3b1b4f4c27407da79703da1e62059f915fd8a3e2da70aa9e", kill_on_drop: false }` [INFO] [stdout] c8705b5f4514778f3b1b4f4c27407da79703da1e62059f915fd8a3e2da70aa9e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 553a080265b15c15e04b087340a474d9fa1d1d2d582e40374cdf2741e96682cc [INFO] running `Command { std: "docker" "start" "-a" "553a080265b15c15e04b087340a474d9fa1d1d2d582e40374cdf2741e96682cc", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling rustix v0.38.35 [INFO] [stderr] Compiling smawk v0.3.2 [INFO] [stderr] Compiling cc v1.1.15 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling object v0.36.4 [INFO] [stderr] Compiling is_ci v1.2.0 [INFO] [stderr] Compiling unicode-width v0.1.13 [INFO] [stderr] Compiling unicode-linebreak v0.1.5 [INFO] [stderr] Compiling supports-unicode v3.0.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling supports-hyperlinks v3.0.0 [INFO] [stderr] Compiling owo-colors v4.0.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling supports-color v3.0.0 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling matrixmultiply v0.3.9 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling library v0.0.0 (/opt/rustwide/workdir/library) [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling textwrap v0.16.1 [INFO] [stderr] Compiling anstyle-parse v0.2.5 [INFO] [stderr] Compiling colorchoice v1.0.2 [INFO] [stderr] Compiling anstyle-query v1.1.1 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling anstyle v1.0.8 [INFO] [stderr] Compiling target-lexicon v0.13.2 [INFO] [stderr] Compiling clap_lex v0.7.2 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling anstream v0.6.15 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling qsc v0.0.0 (/opt/rustwide/workdir/source/compiler/qsc) [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.100 [INFO] [stderr] Compiling ndarray v0.15.6 [INFO] [stderr] Compiling clap_builder v4.5.15 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling env_filter v0.1.2 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling env_logger v0.11.5 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Compiling bytemuck v1.17.1 [INFO] [stderr] Compiling special v0.10.3 [INFO] [stderr] Compiling terminal_size v0.3.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling pyo3-build-config v0.24.1 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling safe_arch v0.7.2 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling random v0.13.2 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling probability v0.20.3 [INFO] [stderr] Compiling fasteval v0.2.4 [INFO] [stderr] Compiling qsc_wasm v0.0.0 (/opt/rustwide/workdir/source/wasm) [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Compiling backtrace v0.3.73 [INFO] [stderr] Compiling mimalloc-sys v0.0.0 (/opt/rustwide/workdir/source/allocator/mimalloc-sys) [INFO] [stderr] Compiling unindent v0.2.3 [INFO] [stderr] Compiling samples_test v0.0.0 (/opt/rustwide/workdir/source/samples_test) [INFO] [stderr] Compiling wide v0.7.28 [INFO] [stderr] error: failed to run custom build command for `samples_test v0.0.0 (/opt/rustwide/workdir/source/samples_test)` [INFO] [stderr] note: To improve backtraces for build dependencies, set the CARGO_PROFILE_DEV_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/samples_test-330cb70f872e24b3/build-script-build` (exit status: 101) [INFO] [stderr] --- stdout [INFO] [stderr] cargo::rerun-if-changed=../../samples/algorithms/ [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] [INFO] [stderr] thread 'main' (1089) panicked at source/samples_test/build.rs:27:41: [INFO] [stderr] files should be creatable in ./src/tests: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" } [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x5d65f25567a2 - std::backtrace_rs::backtrace::libunwind::trace::h22a6a535a50603c6 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stderr] 1: 0x5d65f25567a2 - std::backtrace_rs::backtrace::trace_unsynchronized::h2503a4f30dbfbaa2 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stderr] 2: 0x5d65f25567a2 - std::sys::backtrace::_print_fmt::hec54e31f36456895 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:66:9 [INFO] [stderr] 3: 0x5d65f25567a2 - ::fmt::hb1988e8b50fa5f19 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:39:26 [INFO] [stderr] 4: 0x5d65f256632f - core::fmt::rt::Argument::fmt::h3118a66e1a57a586 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/rt.rs:173:76 [INFO] [stderr] 5: 0x5d65f256632f - core::fmt::write::hcd056e06a609f600 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/mod.rs:1468:25 [INFO] [stderr] 6: 0x5d65f2533451 - std::io::default_write_fmt::h45f0f9de0268fdcb [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:639:11 [INFO] [stderr] 7: 0x5d65f2533451 - std::io::Write::write_fmt::hc685c74e0b8ce55d [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:1954:13 [INFO] [stderr] 8: 0x5d65f2538cd2 - std::sys::backtrace::BacktraceLock::print::h69f50ba7cfff8317 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:42:9 [INFO] [stderr] 9: 0x5d65f253a98c - std::panicking::default_hook::{{closure}}::hfa978eb2255ab3ab [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:301:27 [INFO] [stderr] 10: 0x5d65f253a7e6 - std::panicking::default_hook::h09da2eaf8f1deadd [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:328:9 [INFO] [stderr] 11: 0x5d65f253b015 - std::panicking::panic_with_hook::h13c40d280d130fd3 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:834:13 [INFO] [stderr] 12: 0x5d65f253aeaa - std::panicking::panic_handler::{{closure}}::hd79d22e8a1d3b951 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:707:13 [INFO] [stderr] 13: 0x5d65f2538e09 - std::sys::backtrace::__rust_end_short_backtrace::h83414d1ec69cf3a6 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:174:18 [INFO] [stderr] 14: 0x5d65f2527c0d - __rustc[b78aa6c7b08e5dc4]::rust_begin_unwind [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:698:5 [INFO] [stderr] 15: 0x5d65f2569950 - core::panicking::panic_fmt::h326b75cf8ee01b13 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:78:14 [INFO] [stderr] 16: 0x5d65f2569066 - core::result::unwrap_failed::h38baee32fdec5ac8 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1855:5 [INFO] [stderr] 17: 0x5d65f251df52 - core::result::Result::expect::h4a76f5ca678705d7 [INFO] [stderr] 18: 0x5d65f251fb2a - build_script_build::create_tests_for_files::hbed3622affb5287f [INFO] [stderr] 19: 0x5d65f2522932 - build_script_build::main::hff7475130c0b973b [INFO] [stderr] 20: 0x5d65f251cd63 - core::ops::function::FnOnce::call_once::h759f3129b02bfc3b [INFO] [stderr] 21: 0x5d65f25232f6 - std::sys::backtrace::__rust_begin_short_backtrace::h324d9499a874f031 [INFO] [stderr] 22: 0x5d65f2523239 - std::rt::lang_start::{{closure}}::h74cf54e31695a3c1 [INFO] [stderr] 23: 0x5d65f2534a20 - core::ops::function::impls:: for &F>::call_once::h387c5546b57ddfde [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:287:21 [INFO] [stderr] 24: 0x5d65f2534a20 - std::panicking::catch_unwind::do_call::hf9fdd250c001d1cd [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stderr] 25: 0x5d65f2534a20 - std::panicking::catch_unwind::hc213e1339e7313f3 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stderr] 26: 0x5d65f2534a20 - std::panic::catch_unwind::h7e2e13142bd98e67 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stderr] 27: 0x5d65f2534a20 - std::rt::lang_start_internal::{{closure}}::ha8eea67def213c83 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/rt.rs:175:24 [INFO] [stderr] 28: 0x5d65f2534a20 - std::panicking::catch_unwind::do_call::hc6f04b090be4f56e [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stderr] 29: 0x5d65f2534a20 - std::panicking::catch_unwind::hfb8ae23b2e34f7c2 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stderr] 30: 0x5d65f2534a20 - std::panic::catch_unwind::hf2cef20feb3addd6 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stderr] 31: 0x5d65f2534a20 - std::rt::lang_start_internal::h1ca864a6b9355c57 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/rt.rs:171:5 [INFO] [stderr] 32: 0x5d65f2523221 - std::rt::lang_start::h9fb3e026d0da7553 [INFO] [stderr] 33: 0x5d65f25254c5 - main [INFO] [stderr] 34: 0x7ada4f71c1ca - [INFO] [stderr] 35: 0x7ada4f71c28b - __libc_start_main [INFO] [stderr] 36: 0x5d65f251bc15 - _start [INFO] [stderr] 37: 0x0 - [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "553a080265b15c15e04b087340a474d9fa1d1d2d582e40374cdf2741e96682cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "553a080265b15c15e04b087340a474d9fa1d1d2d582e40374cdf2741e96682cc", kill_on_drop: false }` [INFO] [stdout] 553a080265b15c15e04b087340a474d9fa1d1d2d582e40374cdf2741e96682cc