[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 master#caccb4d0368bd918ef6668af8e13834d07040417 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-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-1-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/microsoft/qsharp on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/qir-alliance/qir-runner` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dissimilar v1.0.9 [INFO] [stderr] Downloaded supports-color v3.0.0 [INFO] [stderr] Downloaded expect-test v1.5.0 [INFO] [stderr] Downloaded clap v4.5.16 [INFO] [stderr] Downloaded random v0.13.2 [INFO] [stderr] Downloaded pyo3-ffi v0.24.1 [INFO] [stderr] Downloaded pyo3-build-config v0.24.1 [INFO] [stderr] Downloaded pyo3-macros v0.24.1 [INFO] [stderr] Downloaded pyo3-macros-backend v0.24.1 [INFO] [stderr] Downloaded simba v0.9.0 [INFO] [stderr] Downloaded special v0.10.3 [INFO] [stderr] Downloaded backtrace-ext v0.2.1 [INFO] [stderr] Downloaded supports-hyperlinks v3.0.0 [INFO] [stderr] Downloaded nalgebra v0.33.0 [INFO] [stderr] Downloaded fasteval v0.2.4 [INFO] [stderr] Downloaded bytemuck v1.17.1 [INFO] [stderr] Downloaded rustix v0.38.35 [INFO] [stderr] Downloaded python3-dll-a v0.2.12 [INFO] [stderr] Downloaded probability v0.20.3 [INFO] [stderr] Downloaded target-lexicon v0.13.2 [INFO] [stderr] Downloaded cc v1.1.15 [INFO] [stderr] Downloaded pyo3 v0.24.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5a18633374eadcf714d2082d0a3123e89b85141b05b3ec0b1854c822b4270642 [INFO] running `Command { std: "docker" "start" "-a" "5a18633374eadcf714d2082d0a3123e89b85141b05b3ec0b1854c822b4270642", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5a18633374eadcf714d2082d0a3123e89b85141b05b3ec0b1854c822b4270642", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a18633374eadcf714d2082d0a3123e89b85141b05b3ec0b1854c822b4270642", kill_on_drop: false }` [INFO] [stdout] 5a18633374eadcf714d2082d0a3123e89b85141b05b3ec0b1854c822b4270642 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 519d92cbe465ada3d5f25d8fef995f9f424358a88bedee9f94756ba1a084e69a [INFO] running `Command { std: "docker" "start" "-a" "519d92cbe465ada3d5f25d8fef995f9f424358a88bedee9f94756ba1a084e69a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling rustix v0.38.35 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling unicode-width v0.1.13 [INFO] [stderr] Compiling is_ci v1.2.0 [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 smawk v0.3.2 [INFO] [stderr] Compiling unicode-linebreak v0.1.5 [INFO] [stderr] Compiling supports-hyperlinks v3.0.0 [INFO] [stderr] Compiling supports-unicode v3.0.0 [INFO] [stderr] Compiling owo-colors v4.0.0 [INFO] [stderr] Compiling quote v1.0.37 [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 syn v2.0.87 [INFO] [stderr] Compiling textwrap v0.16.1 [INFO] [stderr] Compiling library v0.0.0 (/opt/rustwide/workdir/library) [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 clap_lex v0.7.2 [INFO] [stderr] Compiling target-lexicon v0.13.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 wasm-bindgen-shared v0.2.100 [INFO] [stderr] Compiling qsc v0.0.0 (/opt/rustwide/workdir/source/compiler/qsc) [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling ndarray v0.15.6 [INFO] [stderr] Compiling clap_builder v4.5.15 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling env_filter v0.1.2 [INFO] [stderr] Compiling terminal_size v0.3.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Compiling bytemuck v1.17.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling env_logger v0.11.5 [INFO] [stderr] Compiling pyo3-build-config v0.24.1 [INFO] [stderr] Compiling safe_arch v0.7.2 [INFO] [stderr] Compiling special v0.10.3 [INFO] [stderr] Compiling approx v0.5.1 [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 fasteval v0.2.4 [INFO] [stderr] Compiling probability v0.20.3 [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 qsc_wasm v0.0.0 (/opt/rustwide/workdir/source/wasm) [INFO] [stderr] Compiling wide v0.7.28 [INFO] [stderr] Compiling samples_test v0.0.0 (/opt/rustwide/workdir/source/samples_test) [INFO] [stderr] Compiling unindent v0.2.3 [INFO] [stderr] Compiling indoc v2.0.5 [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' (1099) 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: 0x581caa0917a2 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stderr] 1: 0x581caa0917a2 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stderr] 2: 0x581caa0917a2 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stderr] 3: 0x581caa0917a2 - ::fmt::h52160e9da139e442 [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stderr] 4: 0x581caa0a132f - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stderr] 5: 0x581caa0a132f - core::fmt::write::hf09a056a304e021a [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stderr] 6: 0x581caa06e1b1 - std::io::default_write_fmt::h7567c5950fb0173c [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stderr] 7: 0x581caa06e1b1 - std::io::Write::write_fmt::h361c7127187cda65 [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stderr] 8: 0x581caa073cd2 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stderr] 9: 0x581caa07598c - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stderr] 10: 0x581caa0757e6 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:328:9 [INFO] [stderr] 11: 0x581caa076015 - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:834:13 [INFO] [stderr] 12: 0x581caa075eaa - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stderr] 13: 0x581caa073e09 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stderr] 14: 0x581caa062c0d - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stderr] 15: 0x581caa0a4950 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stderr] 16: 0x581caa0a4066 - core::result::unwrap_failed::h91bd1e1731f928fc [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1855:5 [INFO] [stderr] 17: 0x581caa0592d2 - core::result::Result::expect::hc68fd12613c5b7f7 [INFO] [stderr] 18: 0x581caa05ab9a - build_script_build::create_tests_for_files::hf4970e144843b693 [INFO] [stderr] 19: 0x581caa05d9a2 - build_script_build::main::h9eaccdf25d0e835c [INFO] [stderr] 20: 0x581caa057d33 - core::ops::function::FnOnce::call_once::h084c832932751e5f [INFO] [stderr] 21: 0x581caa05e366 - std::sys::backtrace::__rust_begin_short_backtrace::h20f1106a85f4d25c [INFO] [stderr] 22: 0x581caa05e2a9 - std::rt::lang_start::{{closure}}::h5b0a89c020b5901c [INFO] [stderr] 23: 0x581caa06fa20 - core::ops::function::impls:: for &F>::call_once::h92f7271baace0227 [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:287:21 [INFO] [stderr] 24: 0x581caa06fa20 - std::panicking::catch_unwind::do_call::hab80bc7615f9a56f [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stderr] 25: 0x581caa06fa20 - std::panicking::catch_unwind::h44920ff533ed11dd [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stderr] 26: 0x581caa06fa20 - std::panic::catch_unwind::hbc4760794652046f [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stderr] 27: 0x581caa06fa20 - std::rt::lang_start_internal::{{closure}}::h017b9ee7d9dfccf2 [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/rt.rs:175:24 [INFO] [stderr] 28: 0x581caa06fa20 - std::panicking::catch_unwind::do_call::h5c448dae61c3a22b [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stderr] 29: 0x581caa06fa20 - std::panicking::catch_unwind::ha3a2750d16137715 [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stderr] 30: 0x581caa06fa20 - std::panic::catch_unwind::ha56344eb931bca1a [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stderr] 31: 0x581caa06fa20 - std::rt::lang_start_internal::h4e6c18fadc4e7470 [INFO] [stderr] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/rt.rs:171:5 [INFO] [stderr] 32: 0x581caa05e291 - std::rt::lang_start::hc4bd0e8aff6a5760 [INFO] [stderr] 33: 0x581caa0604c5 - main [INFO] [stderr] 34: 0x7e98711151ca - [INFO] [stderr] 35: 0x7e987111528b - __libc_start_main [INFO] [stderr] 36: 0x581caa056c15 - _start [INFO] [stderr] 37: 0x0 - [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "519d92cbe465ada3d5f25d8fef995f9f424358a88bedee9f94756ba1a084e69a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "519d92cbe465ada3d5f25d8fef995f9f424358a88bedee9f94756ba1a084e69a", kill_on_drop: false }` [INFO] [stdout] 519d92cbe465ada3d5f25d8fef995f9f424358a88bedee9f94756ba1a084e69a