[INFO] fetching crate qdk_sim_experimental 0.24.216270-beta... [INFO] crate qdk_sim_experimental 0.24.216270-beta is already in cache [INFO] crate qdk_sim_experimental 0.24.216270-beta is already in cache [INFO] crate qdk_sim_experimental 0.24.216270-beta is already in cache [INFO] crate qdk_sim_experimental 0.24.216270-beta is already in cache [INFO] crate qdk_sim_experimental 0.24.216270-beta is already in cache [INFO] crate qdk_sim_experimental 0.24.216270-beta is already in cache [INFO] crate qdk_sim_experimental 0.24.216270-beta is already in cache [INFO] crate qdk_sim_experimental 0.24.216270-beta is already in cache [INFO] crate qdk_sim_experimental 0.24.216270-beta is already in cache [INFO] crate qdk_sim_experimental 0.24.216270-beta is already in cache [INFO] crate qdk_sim_experimental 0.24.216270-beta is already in cache [INFO] crate qdk_sim_experimental 0.24.216270-beta is already in cache [INFO] crate qdk_sim_experimental 0.24.216270-beta is already in cache [INFO] crate qdk_sim_experimental 0.24.216270-beta is already in cache [INFO] checking qdk_sim_experimental-0.24.216270-beta against master#7308c22c6a8d77e82187e290e1f7459870e48d12 for pr-99447 [INFO] extracting crate qdk_sim_experimental 0.24.216270-beta into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate qdk_sim_experimental 0.24.216270-beta on toolchain 7308c22c6a8d77e82187e290e1f7459870e48d12 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7308c22c6a8d77e82187e290e1f7459870e48d12" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate qdk_sim_experimental 0.24.216270-beta [INFO] finished tweaking crates.io crate qdk_sim_experimental 0.24.216270-beta [INFO] tweaked toml for crates.io crate qdk_sim_experimental 0.24.216270-beta written to /workspace/builds/worker-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7308c22c6a8d77e82187e290e1f7459870e48d12" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7308c22c6a8d77e82187e290e1f7459870e48d12" "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 numpy v0.13.2 [INFO] [stderr] Downloaded ndarray v0.15.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+7308c22c6a8d77e82187e290e1f7459870e48d12" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8cf65553de0c6ade6ae8ea1eaf965534b13d81191652739b39027674d1b467c4 [INFO] running `Command { std: "docker" "start" "-a" "8cf65553de0c6ade6ae8ea1eaf965534b13d81191652739b39027674d1b467c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8cf65553de0c6ade6ae8ea1eaf965534b13d81191652739b39027674d1b467c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8cf65553de0c6ade6ae8ea1eaf965534b13d81191652739b39027674d1b467c4", kill_on_drop: false }` [INFO] [stdout] 8cf65553de0c6ade6ae8ea1eaf965534b13d81191652739b39027674d1b467c4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+7308c22c6a8d77e82187e290e1f7459870e48d12" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6105731b21ccc7cb1dcb2c6b63395d6470d7f8589352e5ffe65f5145246bb813 [INFO] running `Command { std: "docker" "start" "-a" "6105731b21ccc7cb1dcb2c6b63395d6470d7f8589352e5ffe65f5145246bb813", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling serde_derive v1.0.143 [INFO] [stderr] Compiling serde v1.0.143 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.129 [INFO] [stderr] Compiling semver v1.0.13 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.11 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Checking once_cell v1.13.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling serde_json v1.0.83 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking either v1.7.0 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking plotters-backend v0.3.4 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking matrixmultiply v0.3.2 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking plotters-svg v0.3.2 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.10 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking unicode-normalization v0.1.21 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking crossbeam-channel v0.5.6 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking criterion-plot v0.4.5 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking crossbeam-deque v0.8.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking plotters v0.3.2 [INFO] [stderr] Compiling thiserror-impl v1.0.32 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling thiserror v1.0.32 [INFO] [stderr] Checking toml v0.5.9 [INFO] [stderr] Checking num-complex v0.4.2 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking assert-json-diff v2.0.2 [INFO] [stderr] Checking cargo-lock v7.1.0 [INFO] [stderr] Checking criterion v0.3.6 [INFO] [stderr] Compiling proc-macro-crate v1.2.1 [INFO] [stderr] Compiling num_enum_derive v0.5.7 [INFO] [stderr] Checking built v0.5.1 [INFO] [stderr] Compiling qdk_sim_experimental v0.24.216270-beta (/opt/rustwide/workdir) [INFO] [stderr] Checking num_enum v0.5.7 [INFO] [stdout] warning: unused import: `Tableau` [INFO] [stdout] --> tests/chp_simulation_tests.rs:4:38 [INFO] [stdout] | [INFO] [stdout] 4 | use qdk_sim::{Pauli, Process, State, Tableau}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> benches/c_api_benchmark.rs:49:66 [INFO] [stdout] | [INFO] [stdout] 49 | let _err = c_api::init(3, CString::new("mixed").unwrap().as_ptr(), &mut sim_id); [INFO] [stdout] | ------------------------------ ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> benches/c_api_benchmark.rs:60:66 [INFO] [stdout] | [INFO] [stdout] 60 | let _err = c_api::init(3, CString::new("mixed").unwrap().as_ptr(), &mut sim_id); [INFO] [stdout] | ------------------------------ ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> benches/c_api_benchmark.rs:66:63 [INFO] [stdout] | [INFO] [stdout] 66 | CString::new(BENCHMARK_NOISE_MODEL_JSON).unwrap().as_ptr(), [INFO] [stdout] | ------------------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 28.38s [INFO] running `Command { std: "docker" "inspect" "6105731b21ccc7cb1dcb2c6b63395d6470d7f8589352e5ffe65f5145246bb813", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6105731b21ccc7cb1dcb2c6b63395d6470d7f8589352e5ffe65f5145246bb813", kill_on_drop: false }` [INFO] [stdout] 6105731b21ccc7cb1dcb2c6b63395d6470d7f8589352e5ffe65f5145246bb813