[INFO] cloning repository https://github.com/melinan02/DS210_FINALPROJECT [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/melinan02/DS210_FINALPROJECT" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmelinan02%2FDS210_FINALPROJECT", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmelinan02%2FDS210_FINALPROJECT'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 80d204800536c11195d47506b2808adbd52bcaef [INFO] building melinan02/DS210_FINALPROJECT against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmelinan02%2FDS210_FINALPROJECT" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/melinan02/DS210_FINALPROJECT [INFO] finished tweaking git repo https://github.com/melinan02/DS210_FINALPROJECT [INFO] tweaked toml for git repo https://github.com/melinan02/DS210_FINALPROJECT written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/melinan02/DS210_FINALPROJECT on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/melinan02/DS210_FINALPROJECT 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde v1.0.200 [INFO] [stderr] Downloaded getrandom v0.2.14 [INFO] [stderr] Downloaded csv-core v0.1.11 [INFO] [stderr] Downloaded serde_derive v1.0.200 [INFO] [stderr] Downloaded cc v1.0.96 [INFO] [stderr] Downloaded proc-macro2 v1.0.81 [INFO] [stderr] Downloaded git2 v0.18.3 [INFO] [stderr] Downloaded petgraph v0.6.4 [INFO] [stderr] Downloaded syn v2.0.60 [INFO] [stderr] Downloaded libc v0.2.154 [INFO] [stderr] Downloaded csv v1.3.0 [INFO] [stderr] Downloaded libgit2-sys v0.16.2+1.7.2 [INFO] [stderr] Downloaded libz-sys v1.1.16 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7040a9913a9cae3c858d502b2f8ef2d0771994a502966924d76d947b2f7a6436 [INFO] running `Command { std: "docker" "start" "-a" "7040a9913a9cae3c858d502b2f8ef2d0771994a502966924d76d947b2f7a6436", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7040a9913a9cae3c858d502b2f8ef2d0771994a502966924d76d947b2f7a6436", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7040a9913a9cae3c858d502b2f8ef2d0771994a502966924d76d947b2f7a6436", kill_on_drop: false }` [INFO] [stdout] 7040a9913a9cae3c858d502b2f8ef2d0771994a502966924d76d947b2f7a6436 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4d32cf7dce04922a6aed19b1a6569e157f940442b544daa6ca26f3749ddbead7 [INFO] running `Command { std: "docker" "start" "-a" "4d32cf7dce04922a6aed19b1a6569e157f940442b544daa6ca26f3749ddbead7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling serde v1.0.200 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling csv-core v0.1.11 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Compiling getrandom v0.2.14 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_pcg v0.3.1 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling cc v1.0.96 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling libz-sys v1.1.16 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling libssh2-sys v0.3.0 [INFO] [stderr] Compiling libgit2-sys v0.16.2+1.7.2 [INFO] [stderr] Compiling csv v1.3.0 [INFO] [stderr] Compiling git2 v0.18.3 [INFO] [stderr] Compiling ds210_finalproject v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.89s [INFO] running `Command { std: "docker" "inspect" "4d32cf7dce04922a6aed19b1a6569e157f940442b544daa6ca26f3749ddbead7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d32cf7dce04922a6aed19b1a6569e157f940442b544daa6ca26f3749ddbead7", kill_on_drop: false }` [INFO] [stdout] 4d32cf7dce04922a6aed19b1a6569e157f940442b544daa6ca26f3749ddbead7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1b66b829010136da503d41b7a2130520fae0e4576013589d0741abf73125dda4 [INFO] running `Command { std: "docker" "start" "-a" "1b66b829010136da503d41b7a2130520fae0e4576013589d0741abf73125dda4", kill_on_drop: false }` [INFO] [stderr] Compiling ds210_finalproject v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0599]: no function or associated item named `new_undirected` found for struct `Graph` in the current scope [INFO] [stdout] --> src/calculate_metrics.rs:91:50 [INFO] [stdout] | [INFO] [stdout] 91 | let mut graph = Graph::::new_undirected(); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `Graph` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Graph` consider using one of the following associated functions: [INFO] [stdout] Graph::::new [INFO] [stdout] Graph::::with_capacity [INFO] [stdout] Graph::::from_edges [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/petgraph-0.6.4/src/graph_impl/mod.rs:458:5 [INFO] [stdout] | [INFO] [stdout] 458 | pub fn new() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 487 | pub fn with_capacity(nodes: usize, edges: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1309 | / pub fn from_edges(iterable: I) -> Self [INFO] [stdout] 1310 | | where [INFO] [stdout] 1311 | | I: IntoIterator, [INFO] [stdout] 1312 | | I::Item: IntoWeightedEdge, [INFO] [stdout] 1313 | | >::NodeId: Into>, [INFO] [stdout] 1314 | | N: Default, [INFO] [stdout] | |___________________^ [INFO] [stdout] = note: the function or associated item was found for [INFO] [stdout] - `Graph` [INFO] [stdout] help: there is a method `is_directed` with a similar name [INFO] [stdout] | [INFO] [stdout] 91 - let mut graph = Graph::::new_undirected(); [INFO] [stdout] 91 + let mut graph = Graph::::is_directed(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Embedding` in the current scope [INFO] [stdout] --> src/calculate_metrics.rs:94:43 [INFO] [stdout] | [INFO] [stdout] 94 | graph.add_node(Embedding::new(vec![0.0, 0.0])) [INFO] [stdout] | ^^^ function or associated item not found in `Embedding` [INFO] [stdout] | [INFO] [stdout] ::: src/load_embeddings.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Embedding { [INFO] [stdout] | -------------------- function or associated item `new` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `new`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `IndexType` [INFO] [stdout] candidate #2: `Nullable` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ds210_finalproject` (bin "ds210_finalproject" test) due to 2 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1b66b829010136da503d41b7a2130520fae0e4576013589d0741abf73125dda4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b66b829010136da503d41b7a2130520fae0e4576013589d0741abf73125dda4", kill_on_drop: false }` [INFO] [stdout] 1b66b829010136da503d41b7a2130520fae0e4576013589d0741abf73125dda4