[INFO] fetching crate nargo-resolver 0.0.0... [INFO] testing nargo-resolver-0.0.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate nargo-resolver 0.0.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate nargo-resolver 0.0.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate nargo-resolver 0.0.0 [INFO] tweaked toml for crates.io crate nargo-resolver 0.0.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate nargo-resolver 0.0.0 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate nargo-resolver 0.0.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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8d7449e5d415245169b36438717f1a5d396f91c34f569021065767e26ac6d61f [INFO] running `Command { std: "docker" "start" "-a" "8d7449e5d415245169b36438717f1a5d396f91c34f569021065767e26ac6d61f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8d7449e5d415245169b36438717f1a5d396f91c34f569021065767e26ac6d61f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d7449e5d415245169b36438717f1a5d396f91c34f569021065767e26ac6d61f", kill_on_drop: false }` [INFO] [stdout] 8d7449e5d415245169b36438717f1a5d396f91c34f569021065767e26ac6d61f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 44ce9595c5dbeef7df001a3321f2509fff04ac148ef8853a6f9abdb4b4be1c60 [INFO] running `Command { std: "docker" "start" "-a" "44ce9595c5dbeef7df001a3321f2509fff04ac148ef8853a6f9abdb4b4be1c60", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.182 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling zerocopy v0.8.40 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.6.1 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling linux-raw-sys v0.12.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling openssl-probe v0.2.1 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling winnow v0.7.14 [INFO] [stderr] Compiling ipnet v2.12.0 [INFO] [stderr] Compiling shell-words v1.1.1 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling iri-string v0.7.10 [INFO] [stderr] Compiling toml_writer v1.0.6+spec-1.1.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling rustls-pki-types v1.14.0 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling flate2 v1.1.9 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling fixedbitset v0.5.7 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling socket2 v0.6.2 [INFO] [stderr] Compiling cc v1.2.56 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling rand_core v0.9.5 [INFO] [stderr] Compiling tokio v1.50.0 [INFO] [stderr] Compiling tempfile v3.26.0 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling xattr v1.6.1 [INFO] [stderr] Compiling filetime v0.2.27 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling tar v0.4.44 [INFO] [stderr] Compiling petgraph v0.8.3 [INFO] [stderr] Compiling dialoguer v0.11.0 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling toml_parser v1.0.9+spec-1.1.0 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling libz-sys v1.1.24 [INFO] [stderr] Compiling libssh2-sys v0.3.1 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling libgit2-sys v0.18.3+1.9.2 [INFO] [stderr] Compiling serde_spanned v1.0.4 [INFO] [stderr] Compiling toml_datetime v1.0.0+spec-1.1.0 [INFO] [stderr] Compiling triomphe v0.1.15 [INFO] [stderr] Compiling toml v1.0.4+spec-1.1.0 [INFO] [stderr] Compiling futures-executor v0.3.32 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling futures v0.3.32 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling nargo-types v0.0.0 [INFO] [stderr] Compiling twox-hash v2.1.2 [INFO] [stderr] Compiling oak-core v0.0.7 [INFO] [stderr] Compiling oak-yaml v0.0.7 [INFO] [stderr] Compiling oak-toml v0.0.7 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling nargo-config v0.0.0 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper-util v0.1.20 [INFO] [stderr] Compiling git2 v0.20.4 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.13.2 [INFO] [stderr] Compiling nargo-registry v0.0.0 [INFO] [stderr] Compiling nargo-resolver v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `nargo_types::Result` [INFO] [stdout] --> src/conflict.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use nargo_types::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DependencyEdge` [INFO] [stdout] --> src/resolver.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | graph::{DependencyEdge, DependencyGraph, DependencyNode, PackageSource}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/resolver.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | let mut peer_deps: HashMap)> = HashMap::new(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 19s [INFO] running `Command { std: "docker" "inspect" "44ce9595c5dbeef7df001a3321f2509fff04ac148ef8853a6f9abdb4b4be1c60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44ce9595c5dbeef7df001a3321f2509fff04ac148ef8853a6f9abdb4b4be1c60", kill_on_drop: false }` [INFO] [stdout] 44ce9595c5dbeef7df001a3321f2509fff04ac148ef8853a6f9abdb4b4be1c60 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6d71d30b128c22ba579e9a667b8f0589998c8972314d5ae33699fdc018b4eb89 [INFO] running `Command { std: "docker" "start" "-a" "6d71d30b128c22ba579e9a667b8f0589998c8972314d5ae33699fdc018b4eb89", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `nargo_types::Result` [INFO] [stdout] --> src/conflict.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use nargo_types::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DependencyEdge` [INFO] [stdout] --> src/resolver.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | graph::{DependencyEdge, DependencyGraph, DependencyNode, PackageSource}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/resolver.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | let mut peer_deps: HashMap)> = HashMap::new(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling nargo-resolver v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `node1` [INFO] [stdout] --> tests/graph_test.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let node1 = graph.add_node(DependencyNode::new("lodash", "4.17.21")); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_node1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node2` [INFO] [stdout] --> tests/graph_test.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let node2 = graph.add_node(DependencyNode::new("axios", "1.6.0")); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_node2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nargo_types::Result` [INFO] [stdout] --> src/conflict.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use nargo_types::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DependencyEdge` [INFO] [stdout] --> src/resolver.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | graph::{DependencyEdge, DependencyGraph, DependencyNode, PackageSource}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `DependencyDetail` in crate `nargo_config` [INFO] [stdout] --> tests/resolver_test.rs:30:88 [INFO] [stdout] | [INFO] [stdout] 30 | ...onfig::Dependency::Detailed(nargo_config::DependencyDetail { git: Some("https://github.com/user/lib.git".to_string()), tag: Some(... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `nargo_config` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use nargo_config::prelude::DependencyDetail; [INFO] [stdout] | [INFO] [stdout] help: if you import `DependencyDetail`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 30 - deps.insert("my-lib".to_string(), nargo_config::Dependency::Detailed(nargo_config::DependencyDetail { git: Some("https://github.com/user/lib.git".to_string()), tag: Some("v1.0.0".to_string()), ..Default::default() })); [INFO] [stdout] 30 + deps.insert("my-lib".to_string(), nargo_config::Dependency::Detailed(DependencyDetail { git: Some("https://github.com/user/lib.git".to_string()), tag: Some("v1.0.0".to_string()), ..Default::default() })); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0422`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nargo-resolver` (test "resolver_test") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/resolver.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | let mut peer_deps: HashMap)> = HashMap::new(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `DependencyDetail` in crate `nargo_config` [INFO] [stdout] --> tests/resolver.rs:29:88 [INFO] [stdout] | [INFO] [stdout] 29 | ...onfig::Dependency::Detailed(nargo_config::DependencyDetail { git: Some("https://github.com/user/lib.git".to_string()), tag: Some(... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `nargo_config` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use nargo_config::prelude::DependencyDetail; [INFO] [stdout] | [INFO] [stdout] help: if you import `DependencyDetail`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 29 - deps.insert("my-lib".to_string(), nargo_config::Dependency::Detailed(nargo_config::DependencyDetail { git: Some("https://github.com/user/lib.git".to_string()), tag: Some("v1.0.0".to_string()), ..Default::default() })); [INFO] [stdout] 29 + deps.insert("my-lib".to_string(), nargo_config::Dependency::Detailed(DependencyDetail { git: Some("https://github.com/user/lib.git".to_string()), tag: Some("v1.0.0".to_string()), ..Default::default() })); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `DependencyGraph` in this scope [INFO] [stdout] --> tests/resolver.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 49 | let mut graph = DependencyGraph::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `DependencyGraph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use nargo_resolver::DependencyGraph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `DependencyNode` in this scope [INFO] [stdout] --> tests/resolver.rs:51:30 [INFO] [stdout] | [INFO] [stdout] 51 | let app = graph.add_node(DependencyNode::new("app", "1.0.0")); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `DependencyNode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use nargo_resolver::DependencyNode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `DependencyNode` in this scope [INFO] [stdout] --> tests/resolver.rs:52:33 [INFO] [stdout] | [INFO] [stdout] 52 | let lodash = graph.add_node(DependencyNode::new("lodash", "4.17.21")); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `DependencyNode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use nargo_resolver::DependencyNode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `DependencyNode` in this scope [INFO] [stdout] --> tests/resolver.rs:53:32 [INFO] [stdout] | [INFO] [stdout] 53 | let axios = graph.add_node(DependencyNode::new("axios", "1.6.0")); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `DependencyNode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use nargo_resolver::DependencyNode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `DependencyEdge` in this scope [INFO] [stdout] --> tests/resolver.rs:55:33 [INFO] [stdout] | [INFO] [stdout] 55 | graph.add_edge(app, lodash, DependencyEdge::new("^4.0.0")); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `DependencyEdge` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use nargo_resolver::DependencyEdge; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `DependencyEdge` in this scope [INFO] [stdout] --> tests/resolver.rs:56:32 [INFO] [stdout] | [INFO] [stdout] 56 | graph.add_edge(app, axios, DependencyEdge::new("^1.0.0")); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `DependencyEdge` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use nargo_resolver::DependencyEdge; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nargo-resolver` (test "resolver") due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "6d71d30b128c22ba579e9a667b8f0589998c8972314d5ae33699fdc018b4eb89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d71d30b128c22ba579e9a667b8f0589998c8972314d5ae33699fdc018b4eb89", kill_on_drop: false }` [INFO] [stdout] 6d71d30b128c22ba579e9a667b8f0589998c8972314d5ae33699fdc018b4eb89