[INFO] cloning repository https://github.com/faressakaan/PropertyNetworkAnalysis [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/faressakaan/PropertyNetworkAnalysis" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffaressakaan%2FPropertyNetworkAnalysis", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffaressakaan%2FPropertyNetworkAnalysis'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f54bee13c95a356b2d96f67a4f7eae7b6bc34f91 [INFO] testing faressakaan/PropertyNetworkAnalysis against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffaressakaan%2FPropertyNetworkAnalysis" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/faressakaan/PropertyNetworkAnalysis [INFO] finished tweaking git repo https://github.com/faressakaan/PropertyNetworkAnalysis [INFO] tweaked toml for git repo https://github.com/faressakaan/PropertyNetworkAnalysis written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/faressakaan/PropertyNetworkAnalysis on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/faressakaan/PropertyNetworkAnalysis 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0b6a5be193c6317bf81743b20497cc1d91554b21eff2ac6b8df72188113e6262 [INFO] running `Command { std: "docker" "start" "-a" "0b6a5be193c6317bf81743b20497cc1d91554b21eff2ac6b8df72188113e6262", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0b6a5be193c6317bf81743b20497cc1d91554b21eff2ac6b8df72188113e6262", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b6a5be193c6317bf81743b20497cc1d91554b21eff2ac6b8df72188113e6262", kill_on_drop: false }` [INFO] [stdout] 0b6a5be193c6317bf81743b20497cc1d91554b21eff2ac6b8df72188113e6262 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 999836544f0af0b7e6b36956a71737c838d93c14974ec72f16ec5aa3170fece1 [INFO] running `Command { std: "docker" "start" "-a" "999836544f0af0b7e6b36956a71737c838d93c14974ec72f16ec5aa3170fece1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling csv-core v0.1.11 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling csv v1.3.0 [INFO] [stderr] Compiling property_value_network v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `id_to_index` [INFO] [stdout] --> src/main.rs:65:50 [INFO] [stdout] | [INFO] [stdout] 65 | fn add_edges_based_on_sale_amount(&mut self, id_to_index: &HashMap, sale_amount_threshold: f64) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_id_to_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 11 | struct Record { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | list_year: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 16 | #[serde(rename = "Date Recorded")] [INFO] [stdout] 17 | date_recorded: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 18 | #[serde(rename = "Town")] [INFO] [stdout] 19 | town: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 20 | #[serde(rename = "Address")] [INFO] [stdout] 21 | address: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 22 | #[serde(rename = "Assessed Value")] [INFO] [stdout] 23 | assessed_value: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | sales_ratio: f64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 28 | #[serde(rename = "Property Type")] [INFO] [stdout] 29 | property_type: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 30 | #[serde(rename = "Residential Type")] [INFO] [stdout] 31 | residential_type: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Record` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `weight` is never read [INFO] [stdout] --> src/main.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 42 | struct Edge { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 45 | weight: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Edge` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Property` is never constructed [INFO] [stdout] --> src/property.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Property { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Graph` is never constructed [INFO] [stdout] --> src/graph.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Graph { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_property`, and `add_edges_based_on_sale_amount` are never used [INFO] [stdout] --> src/graph.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Graph { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 10 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn add_property(&mut self, property: Property) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn add_edges_based_on_sale_amount(&mut self, sale_amount_threshold: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Edge` is never constructed [INFO] [stdout] --> src/edge.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Edge { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.52s [INFO] running `Command { std: "docker" "inspect" "999836544f0af0b7e6b36956a71737c838d93c14974ec72f16ec5aa3170fece1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "999836544f0af0b7e6b36956a71737c838d93c14974ec72f16ec5aa3170fece1", kill_on_drop: false }` [INFO] [stdout] 999836544f0af0b7e6b36956a71737c838d93c14974ec72f16ec5aa3170fece1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 592b286ec0f03c186cf7c06fa84a72ce06a579c5e4792dae35885a07e4572c94 [INFO] running `Command { std: "docker" "start" "-a" "592b286ec0f03c186cf7c06fa84a72ce06a579c5e4792dae35885a07e4572c94", kill_on_drop: false }` [INFO] [stderr] Compiling property_value_network v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0560]: struct `property::Property` has no field named `value` [INFO] [stdout] --> src/property.rs:12:58 [INFO] [stdout] | [INFO] [stdout] 12 | let property = Property { id: "123".to_string(), value: 100000.0 }; [INFO] [stdout] | ^^^^^ `property::Property` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `sale_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `value` on type `property::Property` [INFO] [stdout] --> src/property.rs:14:29 [INFO] [stdout] | [INFO] [stdout] 14 | assert_eq!(property.value, 100000.0); [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `id`, `sale_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `property::Property` has no field named `value` [INFO] [stdout] --> src/graph.rs:45:62 [INFO] [stdout] | [INFO] [stdout] 45 | graph.add_property(Property { id: "123".to_string(), value: 100000.0 }); [INFO] [stdout] | ^^^^^ `property::Property` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `sale_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `property::Property` has no field named `value` [INFO] [stdout] --> src/graph.rs:46:62 [INFO] [stdout] | [INFO] [stdout] 46 | graph.add_property(Property { id: "456".to_string(), value: 105000.0 }); [INFO] [stdout] | ^^^^^ `property::Property` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `sale_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_edges_based_on_value` found for struct `graph::Graph` in the current scope [INFO] [stdout] --> src/graph.rs:48:15 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Graph { [INFO] [stdout] | ---------------- method `add_edges_based_on_value` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 48 | graph.add_edges_based_on_value(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `add_edges_based_on_sale_amount` with a similar name, but with different arguments [INFO] [stdout] --> src/graph.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn add_edges_based_on_sale_amount(&mut self, sale_amount_threshold: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id_to_index` [INFO] [stdout] --> src/main.rs:65:50 [INFO] [stdout] | [INFO] [stdout] 65 | fn add_edges_based_on_sale_amount(&mut self, id_to_index: &HashMap, sale_amount_threshold: f64) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_id_to_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0560, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0560`. [INFO] [stdout] [INFO] [stderr] error: could not compile `property_value_network` (bin "property_value_network" test) due to 5 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "592b286ec0f03c186cf7c06fa84a72ce06a579c5e4792dae35885a07e4572c94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "592b286ec0f03c186cf7c06fa84a72ce06a579c5e4792dae35885a07e4572c94", kill_on_drop: false }` [INFO] [stdout] 592b286ec0f03c186cf7c06fa84a72ce06a579c5e4792dae35885a07e4572c94