[INFO] fetching crate hugr-core 0.20.2... [INFO] checking hugr-core-0.20.2 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate hugr-core 0.20.2 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate hugr-core 0.20.2 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate hugr-core 0.20.2 [INFO] tweaked toml for crates.io crate hugr-core 0.20.2 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate hugr-core 0.20.2 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate hugr-core 0.20.2 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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded uuid-simd v0.8.0 [INFO] [stderr] Downloaded borrow-or-share v0.2.2 [INFO] [stderr] Downloaded delegate v0.13.3 [INFO] [stderr] Downloaded cool_asserts v2.0.3 [INFO] [stderr] Downloaded rstest_macros v0.24.0 [INFO] [stderr] Downloaded relrc v0.4.6 [INFO] [stderr] Downloaded hugr-model v0.20.2 [INFO] [stderr] Downloaded fluent-uri v0.3.2 [INFO] [stderr] Downloaded jsonschema v0.29.1 [INFO] [stderr] Downloaded capnp v0.20.6 [INFO] [stderr] Downloaded referencing v0.29.1 [INFO] [stderr] Downloaded portgraph v0.14.1 [INFO] [stderr] Downloaded proptest-derive v0.5.1 [INFO] [stderr] Downloaded rstest v0.24.0 [INFO] [stderr] Downloaded email_address v0.2.9 [INFO] [stderr] Downloaded num-cmp v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fdc1b22610d4be45f2f070c1c9d480ca48738a2e599f82b09ac2e61604adb30d [INFO] running `Command { std: "docker" "start" "-a" "fdc1b22610d4be45f2f070c1c9d480ca48738a2e599f82b09ac2e61604adb30d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fdc1b22610d4be45f2f070c1c9d480ca48738a2e599f82b09ac2e61604adb30d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fdc1b22610d4be45f2f070c1c9d480ca48738a2e599f82b09ac2e61604adb30d", kill_on_drop: false }` [INFO] [stdout] fdc1b22610d4be45f2f070c1c9d480ca48738a2e599f82b09ac2e61604adb30d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 34b4c8d742d82d18792f802ef344ced95fda7323d0f57a7fc5349c6dd8e7740c [INFO] running `Command { std: "docker" "start" "-a" "34b4c8d742d82d18792f802ef344ced95fda7323d0f57a7fc5349c6dd8e7740c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.173 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Compiling syn v2.0.103 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling typeid v1.0.3 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Checking hashbrown v0.15.4 [INFO] [stderr] Checking bit-vec v0.8.0 [INFO] [stderr] Checking fixedbitset v0.5.7 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Compiling rstest_macros v0.24.0 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking bit-set v0.8.0 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Checking typed-arena v2.0.2 [INFO] [stderr] Checking borrow-or-share v0.2.2 [INFO] [stderr] Checking iri-string v0.7.8 [INFO] [stderr] Checking pretty v0.12.4 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking ordered-float v5.0.0 [INFO] [stderr] Checking uuid v1.17.0 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Checking vsimd v0.8.0 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Checking bumpalo v3.18.1 [INFO] [stderr] Checking inventory v0.3.20 [INFO] [stderr] Checking utf8-width v0.1.7 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Checking capnp v0.20.6 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking wait-timeout v0.2.1 [INFO] [stderr] Checking outref v0.5.2 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking uuid-simd v0.8.0 [INFO] [stderr] Checking tokio v1.45.1 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Checking rand_xorshift v0.4.0 [INFO] [stderr] Checking petgraph v0.8.2 [INFO] [stderr] Checking console v0.15.11 [INFO] [stderr] Checking html-escape v0.2.13 [INFO] [stderr] Checking num-cmp v0.1.0 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking fraction v0.15.3 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Checking bytecount v0.6.9 [INFO] [stderr] Checking indent_write v2.2.0 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking downcast-rs v2.0.1 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking similar v2.7.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking cool_asserts v2.0.3 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking tempfile v3.20.0 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking proptest v1.7.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling delegate v0.13.3 [INFO] [stderr] Compiling typetag-impl v0.2.20 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling derive-where v1.5.0 [INFO] [stderr] Compiling strum_macros v0.27.1 [INFO] [stderr] Checking fancy-regex v0.14.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling enum_dispatch v0.3.13 [INFO] [stderr] Compiling proptest-derive v0.5.1 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling pest v2.8.1 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling serde_with_macros v3.13.0 [INFO] [stderr] Checking derive_more v1.0.0 [INFO] [stderr] Checking strum v0.27.1 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking rstest v0.24.0 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Checking hyper-util v0.1.14 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking erased-serde v0.4.6 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking fluent-uri v0.3.2 [INFO] [stderr] Checking smol_str v0.3.2 [INFO] [stderr] Checking relrc v0.4.6 [INFO] [stderr] Checking email_address v0.2.9 [INFO] [stderr] Checking serde_with v3.13.0 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking insta v1.43.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking hugr-model v0.20.2 [INFO] [stderr] Checking typetag v0.2.20 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking referencing v0.29.1 [INFO] [stderr] Checking reqwest v0.12.20 [INFO] [stderr] Checking portgraph v0.14.1 [INFO] [stderr] Checking jsonschema v0.29.1 [INFO] [stderr] Checking hugr-core v0.20.2 (/opt/rustwide/workdir) [INFO] [stdout] error: couldn't read `src/hugr/serialize/../../../../specification/schema/hugr_schema_live.json`: No such file or directory (os error 2) [INFO] [stdout] --> src/hugr/serialize/test.rs:93:78 [INFO] [stdout] | [INFO] [stdout] 93 | let schema_val: serde_json::Value = serde_json::from_str(include_str!( [INFO] [stdout] | ______________________________________________________________________________^ [INFO] [stdout] 94 | | concat!("../../../../specification/schema/", $path, "_live.json") [INFO] [stdout] 95 | | )) [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 106 | include_schema!(SCHEMA, "hugr_schema"); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `include_schema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/hugr/serialize/../../../../specification/schema/hugr_schema_strict_live.json`: No such file or directory (os error 2) [INFO] [stdout] --> src/hugr/serialize/test.rs:93:78 [INFO] [stdout] | [INFO] [stdout] 93 | let schema_val: serde_json::Value = serde_json::from_str(include_str!( [INFO] [stdout] | ______________________________________________________________________________^ [INFO] [stdout] 94 | | concat!("../../../../specification/schema/", $path, "_live.json") [INFO] [stdout] 95 | | )) [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 107 | include_schema!(SCHEMA_STRICT, "hugr_schema_strict"); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `include_schema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/hugr/serialize/../../../../specification/schema/testing_hugr_schema_live.json`: No such file or directory (os error 2) [INFO] [stdout] --> src/hugr/serialize/test.rs:93:78 [INFO] [stdout] | [INFO] [stdout] 93 | let schema_val: serde_json::Value = serde_json::from_str(include_str!( [INFO] [stdout] | ______________________________________________________________________________^ [INFO] [stdout] 94 | | concat!("../../../../specification/schema/", $path, "_live.json") [INFO] [stdout] 95 | | )) [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 108 | include_schema!(TESTING_SCHEMA, "testing_hugr_schema"); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `include_schema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/hugr/serialize/../../../../specification/schema/testing_hugr_schema_strict_live.json`: No such file or directory (os error 2) [INFO] [stdout] --> src/hugr/serialize/test.rs:93:78 [INFO] [stdout] | [INFO] [stdout] 93 | let schema_val: serde_json::Value = serde_json::from_str(include_str!( [INFO] [stdout] | ______________________________________________________________________________^ [INFO] [stdout] 94 | | concat!("../../../../specification/schema/", $path, "_live.json") [INFO] [stdout] 95 | | )) [INFO] [stdout] | |_____________________^ [INFO] [stdout] ... [INFO] [stdout] 109 | include_schema!(TESTING_SCHEMA_STRICT, "testing_hugr_schema_strict"); [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_str` which comes from the expansion of the macro `include_schema` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/builder/build_traits.rs:638:19 [INFO] [stdout] | [INFO] [stdout] 638 | fn as_circuit(&mut self, wires: impl IntoIterator) -> CircuitBuilder { [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output -------------------- the lifetime gets resolved as `'_` [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] 638 | fn as_circuit(&mut self, wires: impl IntoIterator) -> CircuitBuilder<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/hugr/views.rs:441:23 [INFO] [stdout] | [INFO] [stdout] 441 | fn mermaid_format(&self) -> MermaidFormatter { [INFO] [stdout] | ^^^^^ ---------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 441 | fn mermaid_format(&self) -> MermaidFormatter<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `tests/../../hugr-model/tests/fixtures/model-add.edn`: No such file or directory (os error 2) [INFO] [stdout] --> tests/model.rs:22:39 [INFO] [stdout] | [INFO] [stdout] 22 | insta::assert_snapshot!(roundtrip(include_str!( [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 23 | | "../../hugr-model/tests/fixtures/model-add.edn" [INFO] [stdout] 24 | | ))); [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `tests/../../hugr-model/tests/fixtures/model-call.edn`: No such file or directory (os error 2) [INFO] [stdout] --> tests/model.rs:30:39 [INFO] [stdout] | [INFO] [stdout] 30 | insta::assert_snapshot!(roundtrip(include_str!( [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 31 | | "../../hugr-model/tests/fixtures/model-call.edn" [INFO] [stdout] 32 | | ))); [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `tests/../../hugr-model/tests/fixtures/model-alias.edn`: No such file or directory (os error 2) [INFO] [stdout] --> tests/model.rs:38:39 [INFO] [stdout] | [INFO] [stdout] 38 | insta::assert_snapshot!(roundtrip(include_str!( [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 39 | | "../../hugr-model/tests/fixtures/model-alias.edn" [INFO] [stdout] 40 | | ))); [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `tests/../../hugr-model/tests/fixtures/model-cfg.edn`: No such file or directory (os error 2) [INFO] [stdout] --> tests/model.rs:46:39 [INFO] [stdout] | [INFO] [stdout] 46 | insta::assert_snapshot!(roundtrip(include_str!( [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 47 | | "../../hugr-model/tests/fixtures/model-cfg.edn" [INFO] [stdout] 48 | | ))); [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hugr` [INFO] [stdout] --> tests/persistent_walker_example.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use hugr::types::EdgeKind; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `hugr` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hugr`, use `cargo add hugr` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `tests/../../hugr-model/tests/fixtures/model-cond.edn`: No such file or directory (os error 2) [INFO] [stdout] --> tests/model.rs:54:39 [INFO] [stdout] | [INFO] [stdout] 54 | insta::assert_snapshot!(roundtrip(include_str!( [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 55 | | "../../hugr-model/tests/fixtures/model-cond.edn" [INFO] [stdout] 56 | | ))); [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `tests/../../hugr-model/tests/fixtures/model-loop.edn`: No such file or directory (os error 2) [INFO] [stdout] --> tests/model.rs:62:39 [INFO] [stdout] | [INFO] [stdout] 62 | insta::assert_snapshot!(roundtrip(include_str!( [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 63 | | "../../hugr-model/tests/fixtures/model-loop.edn" [INFO] [stdout] 64 | | ))); [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `tests/../../hugr-model/tests/fixtures/model-params.edn`: No such file or directory (os error 2) [INFO] [stdout] --> tests/model.rs:70:39 [INFO] [stdout] | [INFO] [stdout] 70 | insta::assert_snapshot!(roundtrip(include_str!( [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 71 | | "../../hugr-model/tests/fixtures/model-params.edn" [INFO] [stdout] 72 | | ))); [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `tests/../../hugr-model/tests/fixtures/model-constraints.edn`: No such file or directory (os error 2) [INFO] [stdout] --> tests/model.rs:78:39 [INFO] [stdout] | [INFO] [stdout] 78 | insta::assert_snapshot!(roundtrip(include_str!( [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 79 | | "../../hugr-model/tests/fixtures/model-constraints.edn" [INFO] [stdout] 80 | | ))); [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `tests/../../hugr-model/tests/fixtures/model-const.edn`: No such file or directory (os error 2) [INFO] [stdout] --> tests/model.rs:86:39 [INFO] [stdout] | [INFO] [stdout] 86 | insta::assert_snapshot!(roundtrip(include_str!( [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 87 | | "../../hugr-model/tests/fixtures/model-const.edn" [INFO] [stdout] 88 | | ))); [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `tests/../../hugr-model/tests/fixtures/model-order.edn`: No such file or directory (os error 2) [INFO] [stdout] --> tests/model.rs:94:39 [INFO] [stdout] | [INFO] [stdout] 94 | insta::assert_snapshot!(roundtrip(include_str!( [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 95 | | "../../hugr-model/tests/fixtures/model-order.edn" [INFO] [stdout] 96 | | ))); [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `tests/../../hugr-model/tests/fixtures/model-entrypoint.edn`: No such file or directory (os error 2) [INFO] [stdout] --> tests/model.rs:102:39 [INFO] [stdout] | [INFO] [stdout] 102 | insta::assert_snapshot!(roundtrip(include_str!( [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 103 | | "../../hugr-model/tests/fixtures/model-entrypoint.edn" [INFO] [stdout] 104 | | ))); [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hugr` [INFO] [stdout] --> tests/model.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use hugr::std_extensions::std_reg; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `hugr` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hugr`, use `cargo add hugr` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hugr` [INFO] [stdout] --> tests/persistent_walker_example.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | use hugr::extension::ExtensionId; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `hugr` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hugr`, use `cargo add hugr` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hugr` [INFO] [stdout] --> tests/persistent_walker_example.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | use hugr::ops::{ExtensionOp, OpName}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `hugr` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hugr`, use `cargo add hugr` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hugr` [INFO] [stdout] --> tests/persistent_walker_example.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | use hugr::types::{FuncValueType, PolyFuncTypeRV}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `hugr` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hugr`, use `cargo add hugr` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hugr` [INFO] [stdout] --> tests/persistent_walker_example.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | use hugr::Extension; [INFO] [stdout] | ^^^^ help: a similar path exists: `hugr_core::hugr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hugr-core` (test "model") due to 12 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `instantiate_extension_op` found for struct `walker_example_extension::EXTENSION` in the current scope [INFO] [stdout] --> tests/persistent_walker_example.rs:79:19 [INFO] [stdout] | [INFO] [stdout] 73 | / lazy_static! { [INFO] [stdout] 74 | | /// Quantum extension definition. [INFO] [stdout] 75 | | static ref EXTENSION: Arc = extension(); [INFO] [stdout] 76 | | } [INFO] [stdout] | |_____- method `instantiate_extension_op` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 79 | EXTENSION.instantiate_extension_op("H", []).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `walker_example_extension::EXTENSION` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `instantiate_extension_op` found for struct `walker_example_extension::EXTENSION` in the current scope [INFO] [stdout] --> tests/persistent_walker_example.rs:83:19 [INFO] [stdout] | [INFO] [stdout] 73 | / lazy_static! { [INFO] [stdout] 74 | | /// Quantum extension definition. [INFO] [stdout] 75 | | static ref EXTENSION: Arc = extension(); [INFO] [stdout] 76 | | } [INFO] [stdout] | |_____- method `instantiate_extension_op` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 83 | EXTENSION.instantiate_extension_op("CZ", []).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `walker_example_extension::EXTENSION` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hugr-core` (test "persistent_walker_example") due to 7 previous errors [INFO] [stderr] error: could not compile `hugr-core` (lib test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "34b4c8d742d82d18792f802ef344ced95fda7323d0f57a7fc5349c6dd8e7740c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34b4c8d742d82d18792f802ef344ced95fda7323d0f57a7fc5349c6dd8e7740c", kill_on_drop: false }` [INFO] [stdout] 34b4c8d742d82d18792f802ef344ced95fda7323d0f57a7fc5349c6dd8e7740c