[INFO] cloning repository https://github.com/t-mw/gw2-arbitrage [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/t-mw/gw2-arbitrage" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ft-mw%2Fgw2-arbitrage", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ft-mw%2Fgw2-arbitrage'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6b318b57bbe7fba2f130b243344077bef2ae7ccb [INFO] testing t-mw/gw2-arbitrage against master#62efba8a050c64249dab942951bb28f710208bc8 for pr-90799 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ft-mw%2Fgw2-arbitrage" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/t-mw/gw2-arbitrage on toolchain 62efba8a050c64249dab942951bb28f710208bc8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/t-mw/gw2-arbitrage [INFO] finished tweaking git repo https://github.com/t-mw/gw2-arbitrage [INFO] tweaked toml for git repo https://github.com/t-mw/gw2-arbitrage written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/t-mw/gw2-arbitrage already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5053d92d976b71a30d7d548bac156570c7a4047f3ce729644244e3acabd03c94 [INFO] running `Command { std: "docker" "start" "-a" "5053d92d976b71a30d7d548bac156570c7a4047f3ce729644244e3acabd03c94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5053d92d976b71a30d7d548bac156570c7a4047f3ce729644244e3acabd03c94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5053d92d976b71a30d7d548bac156570c7a4047f3ce729644244e3acabd03c94", kill_on_drop: false }` [INFO] [stdout] 5053d92d976b71a30d7d548bac156570c7a4047f3ce729644244e3acabd03c94 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] efb250ce2275390a8935f4c404bd395e54d3a3a3840e66e23649069fe5d7398e [INFO] running `Command { std: "docker" "start" "-a" "efb250ce2275390a8935f4c404bd395e54d3a3a3840e66e23649069fe5d7398e", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling futures-sink v0.3.15 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling futures-io v0.3.15 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling openssl v0.10.35 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling siphasher v0.3.7 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling tokio v1.7.1 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.3.2 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling phf_shared v0.9.0 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling openssl-sys v0.9.65 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling http-body v0.4.2 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling flate2 v1.0.20 [INFO] [stderr] Compiling dirs v3.0.2 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling colored v1.9.3 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling phf_generator v0.9.1 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling tokio-macros v1.2.0 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Compiling phf_macros v0.9.0 [INFO] [stderr] Compiling phf v0.9.0 [INFO] [stderr] Compiling structopt v0.3.21 [INFO] [stderr] Compiling futures-executor v0.3.15 [INFO] [stderr] Compiling futures v0.3.15 [INFO] [stderr] Compiling tokio-util v0.6.7 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.3.3 [INFO] [stderr] Compiling bstr v0.2.16 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling serde_path_to_error v0.1.4 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling hyper v0.14.9 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.4 [INFO] [stderr] Compiling gw2-arbitrage v0.6.3-alpha.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 24s [INFO] running `Command { std: "docker" "inspect" "efb250ce2275390a8935f4c404bd395e54d3a3a3840e66e23649069fe5d7398e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "efb250ce2275390a8935f4c404bd395e54d3a3a3840e66e23649069fe5d7398e", kill_on_drop: false }` [INFO] [stdout] efb250ce2275390a8935f4c404bd395e54d3a3a3840e66e23649069fe5d7398e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a74fa9ea39e18319c35e5aae10c58b04e04f88bd9816c37f8e94194666f7dd3e [INFO] running `Command { std: "docker" "start" "-a" "a74fa9ea39e18319c35e5aae10c58b04e04f88bd9816c37f8e94194666f7dd3e", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling gw2-arbitrage v0.6.3-alpha.0 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find macro `Vec` in this scope [INFO] [stdout] --> src/api.rs:209:27 [INFO] [stdout] | [INFO] [stdout] 209 | restrictions: Vec![], [INFO] [stdout] | ^^^ help: a macro with a similar name exists (notice the capitalization): `vec` [INFO] [stdout] | [INFO] [stdout] = note: `Vec` is in scope, but it is a struct, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `Vec` in this scope [INFO] [stdout] --> src/api.rs:208:20 [INFO] [stdout] | [INFO] [stdout] 208 | flags: Vec![], [INFO] [stdout] | ^^^ help: a macro with a similar name exists (notice the capitalization): `vec` [INFO] [stdout] | [INFO] [stdout] = note: `Vec` is in scope, but it is a struct, not a macro [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RecipeIngredient` in this scope [INFO] [stdout] --> src/crafting.rs:650:23 [INFO] [stdout] | [INFO] [stdout] 650 | ingredients: [RecipeIngredient; A2], [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::api::RecipeIngredient; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0062]: field `vendor_value` specified more than once [INFO] [stdout] --> src/api.rs:207:13 [INFO] [stdout] | [INFO] [stdout] 203 | vendor_value, [INFO] [stdout] | ------------ first use of `vendor_value` [INFO] [stdout] ... [INFO] [stdout] 207 | vendor_value: 0, [INFO] [stdout] | ^^^^^^^^^^^^ used more than once [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/crafting.rs:653:13 [INFO] [stdout] | [INFO] [stdout] 653 | id, [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | expected enum `std::option::Option`, found `u32` [INFO] [stdout] | help: try using a variant of the expected enum: `_::_serde::__private::Some(id)` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option` [INFO] [stdout] found type `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `crafting::Recipe: Default` is not satisfied [INFO] [stdout] --> src/crafting.rs:661:15 [INFO] [stdout] | [INFO] [stdout] 661 | ..Default::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `Default` is not implemented for `crafting::Recipe` [INFO] [stdout] | [INFO] [stdout] note: required by `std::default::Default::default` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `mock` found for struct `api::Recipe` in the current scope [INFO] [stdout] --> src/tests.rs:291:21 [INFO] [stdout] | [INFO] [stdout] 291 | Recipe::mock( [INFO] [stdout] | ^^^^ function or associated item not found in `api::Recipe` [INFO] [stdout] | [INFO] [stdout] ::: src/api.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Recipe { [INFO] [stdout] | ----------------- function or associated item `mock` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `mock` found for struct `api::Recipe` in the current scope [INFO] [stdout] --> src/tests.rs:310:21 [INFO] [stdout] | [INFO] [stdout] 310 | Recipe::mock( [INFO] [stdout] | ^^^^ function or associated item not found in `api::Recipe` [INFO] [stdout] | [INFO] [stdout] ::: src/api.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Recipe { [INFO] [stdout] | ----------------- function or associated item `mock` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `mock` found for struct `api::Recipe` in the current scope [INFO] [stdout] --> src/tests.rs:329:21 [INFO] [stdout] | [INFO] [stdout] 329 | Recipe::mock( [INFO] [stdout] | ^^^^ function or associated item not found in `api::Recipe` [INFO] [stdout] | [INFO] [stdout] ::: src/api.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Recipe { [INFO] [stdout] | ----------------- function or associated item `mock` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `mock` found for struct `api::Recipe` in the current scope [INFO] [stdout] --> src/tests.rs:348:21 [INFO] [stdout] | [INFO] [stdout] 348 | Recipe::mock( [INFO] [stdout] | ^^^^ function or associated item not found in `api::Recipe` [INFO] [stdout] | [INFO] [stdout] ::: src/api.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Recipe { [INFO] [stdout] | ----------------- function or associated item `mock` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `mock` found for struct `api::Recipe` in the current scope [INFO] [stdout] --> src/tests.rs:367:21 [INFO] [stdout] | [INFO] [stdout] 367 | Recipe::mock( [INFO] [stdout] | ^^^^ function or associated item not found in `api::Recipe` [INFO] [stdout] | [INFO] [stdout] ::: src/api.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Recipe { [INFO] [stdout] | ----------------- function or associated item `mock` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `mock` found for struct `api::Recipe` in the current scope [INFO] [stdout] --> src/tests.rs:386:21 [INFO] [stdout] | [INFO] [stdout] 386 | Recipe::mock( [INFO] [stdout] | ^^^^ function or associated item not found in `api::Recipe` [INFO] [stdout] | [INFO] [stdout] ::: src/api.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Recipe { [INFO] [stdout] | ----------------- function or associated item `mock` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `mock` found for struct `api::Recipe` in the current scope [INFO] [stdout] --> src/tests.rs:405:21 [INFO] [stdout] | [INFO] [stdout] 405 | Recipe::mock( [INFO] [stdout] | ^^^^ function or associated item not found in `api::Recipe` [INFO] [stdout] | [INFO] [stdout] ::: src/api.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Recipe { [INFO] [stdout] | ----------------- function or associated item `mock` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `mock` found for struct `api::Recipe` in the current scope [INFO] [stdout] --> src/tests.rs:424:21 [INFO] [stdout] | [INFO] [stdout] 424 | Recipe::mock( [INFO] [stdout] | ^^^^ function or associated item not found in `api::Recipe` [INFO] [stdout] | [INFO] [stdout] ::: src/api.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Recipe { [INFO] [stdout] | ----------------- function or associated item `mock` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `mock` found for struct `api::Recipe` in the current scope [INFO] [stdout] --> src/tests.rs:443:21 [INFO] [stdout] | [INFO] [stdout] 443 | Recipe::mock( [INFO] [stdout] | ^^^^ function or associated item not found in `api::Recipe` [INFO] [stdout] | [INFO] [stdout] ::: src/api.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Recipe { [INFO] [stdout] | ----------------- function or associated item `mock` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `mock` found for struct `api::Recipe` in the current scope [INFO] [stdout] --> src/tests.rs:462:21 [INFO] [stdout] | [INFO] [stdout] 462 | Recipe::mock( [INFO] [stdout] | ^^^^ function or associated item not found in `api::Recipe` [INFO] [stdout] | [INFO] [stdout] ::: src/api.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Recipe { [INFO] [stdout] | ----------------- function or associated item `mock` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `mock` found for struct `api::Recipe` in the current scope [INFO] [stdout] --> src/tests.rs:481:21 [INFO] [stdout] | [INFO] [stdout] 481 | Recipe::mock( [INFO] [stdout] | ^^^^ function or associated item not found in `api::Recipe` [INFO] [stdout] | [INFO] [stdout] ::: src/api.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Recipe { [INFO] [stdout] | ----------------- function or associated item `mock` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `mock` found for struct `api::Recipe` in the current scope [INFO] [stdout] --> src/tests.rs:500:21 [INFO] [stdout] | [INFO] [stdout] 500 | Recipe::mock( [INFO] [stdout] | ^^^^ function or associated item not found in `api::Recipe` [INFO] [stdout] | [INFO] [stdout] ::: src/api.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Recipe { [INFO] [stdout] | ----------------- function or associated item `mock` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `mock` found for struct `api::Recipe` in the current scope [INFO] [stdout] --> src/tests.rs:519:21 [INFO] [stdout] | [INFO] [stdout] 519 | Recipe::mock( [INFO] [stdout] | ^^^^ function or associated item not found in `api::Recipe` [INFO] [stdout] | [INFO] [stdout] ::: src/api.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Recipe { [INFO] [stdout] | ----------------- function or associated item `mock` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `mock` found for struct `api::Recipe` in the current scope [INFO] [stdout] --> src/tests.rs:538:21 [INFO] [stdout] | [INFO] [stdout] 538 | Recipe::mock( [INFO] [stdout] | ^^^^ function or associated item not found in `api::Recipe` [INFO] [stdout] | [INFO] [stdout] ::: src/api.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Recipe { [INFO] [stdout] | ----------------- function or associated item `mock` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `mock` found for struct `api::Recipe` in the current scope [INFO] [stdout] --> src/tests.rs:557:21 [INFO] [stdout] | [INFO] [stdout] 557 | Recipe::mock( [INFO] [stdout] | ^^^^ function or associated item not found in `api::Recipe` [INFO] [stdout] | [INFO] [stdout] ::: src/api.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Recipe { [INFO] [stdout] | ----------------- function or associated item `mock` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 7 arguments but 6 arguments were supplied [INFO] [stdout] --> src/tests.rs:19:27 [INFO] [stdout] | [INFO] [stdout] 19 | let profitable_item = crafting::calculate_crafting_profit( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 7 arguments [INFO] [stdout] 20 | item_id, [INFO] [stdout] | ------- [INFO] [stdout] 21 | &recipes_map, [INFO] [stdout] | ------------ [INFO] [stdout] 22 | &items_map, [INFO] [stdout] | ---------- [INFO] [stdout] 23 | &tp_listings_map, [INFO] [stdout] | ---------------- [INFO] [stdout] 24 | None, [INFO] [stdout] | ---- [INFO] [stdout] 25 | &Default::default(), [INFO] [stdout] | ------------------- supplied 6 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/crafting.rs:212:8 [INFO] [stdout] | [INFO] [stdout] 212 | pub fn calculate_crafting_profit( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 213 | item_id: u32, [INFO] [stdout] | ------------ [INFO] [stdout] 214 | recipes_map: &HashMap, [INFO] [stdout] | ---------------------------------- [INFO] [stdout] 215 | known_recipes: &Option>, [INFO] [stdout] | ------------------------------------ [INFO] [stdout] 216 | items_map: &HashMap, [INFO] [stdout] | ----------------------------------- [INFO] [stdout] 217 | tp_listings_map: &HashMap, [INFO] [stdout] | ------------------------------------------------- [INFO] [stdout] 218 | mut purchased_ingredients: Option<&mut HashMap<(u32, Source), PurchasedIngredient>>, [INFO] [stdout] | ----------------------------------------------------------------------------------- [INFO] [stdout] 219 | opt: &config::CraftingOptions, [INFO] [stdout] | ----------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 7 arguments but 6 arguments were supplied [INFO] [stdout] --> src/tests.rs:93:27 [INFO] [stdout] | [INFO] [stdout] 93 | let profitable_item = crafting::calculate_crafting_profit( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 7 arguments [INFO] [stdout] 94 | plus_16_item_id, [INFO] [stdout] | --------------- [INFO] [stdout] 95 | &recipes_map, [INFO] [stdout] | ------------ [INFO] [stdout] 96 | &items_map, [INFO] [stdout] | ---------- [INFO] [stdout] 97 | &tp_listings_map, [INFO] [stdout] | ---------------- [INFO] [stdout] 98 | Some(&mut purchased_ingredients), [INFO] [stdout] | -------------------------------- [INFO] [stdout] 99 | &Default::default(), [INFO] [stdout] | ------------------- supplied 6 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/crafting.rs:212:8 [INFO] [stdout] | [INFO] [stdout] 212 | pub fn calculate_crafting_profit( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 213 | item_id: u32, [INFO] [stdout] | ------------ [INFO] [stdout] 214 | recipes_map: &HashMap, [INFO] [stdout] | ---------------------------------- [INFO] [stdout] 215 | known_recipes: &Option>, [INFO] [stdout] | ------------------------------------ [INFO] [stdout] 216 | items_map: &HashMap, [INFO] [stdout] | ----------------------------------- [INFO] [stdout] 217 | tp_listings_map: &HashMap, [INFO] [stdout] | ------------------------------------------------- [INFO] [stdout] 218 | mut purchased_ingredients: Option<&mut HashMap<(u32, Source), PurchasedIngredient>>, [INFO] [stdout] | ----------------------------------------------------------------------------------- [INFO] [stdout] 219 | opt: &config::CraftingOptions, [INFO] [stdout] | ----------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `breakeven`, `max_sell`, `min_sell` and 1 other field in initializer of `ProfitableItem` [INFO] [stdout] --> src/tests.rs:120:14 [INFO] [stdout] | [INFO] [stdout] 120 | Some(crafting::ProfitableItem { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ missing `breakeven`, `max_sell`, `min_sell` and 1 other field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `mock` found for struct `api::Recipe` in the current scope [INFO] [stdout] --> src/tests.rs:143:17 [INFO] [stdout] | [INFO] [stdout] 143 | Recipe::mock( [INFO] [stdout] | ^^^^ function or associated item not found in `api::Recipe` [INFO] [stdout] | [INFO] [stdout] ::: src/api.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Recipe { [INFO] [stdout] | ----------------- function or associated item `mock` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `output_item_count` on type `&mut _` [INFO] [stdout] --> src/tests.rs:167:44 [INFO] [stdout] | [INFO] [stdout] 167 | recipes_map.get_mut(&item_id).unwrap().output_item_count = 99; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 7 arguments but 6 arguments were supplied [INFO] [stdout] --> src/tests.rs:168:27 [INFO] [stdout] | [INFO] [stdout] 168 | let profitable_item = crafting::calculate_crafting_profit( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 7 arguments [INFO] [stdout] 169 | item_id, [INFO] [stdout] | ------- [INFO] [stdout] 170 | &recipes_map, [INFO] [stdout] | ------------ [INFO] [stdout] 171 | &items_map, [INFO] [stdout] | ---------- [INFO] [stdout] 172 | &tp_listings_map, [INFO] [stdout] | ---------------- [INFO] [stdout] 173 | None, [INFO] [stdout] | ---- [INFO] [stdout] 174 | &Default::default(), [INFO] [stdout] | ------------------- supplied 6 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/crafting.rs:212:8 [INFO] [stdout] | [INFO] [stdout] 212 | pub fn calculate_crafting_profit( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 213 | item_id: u32, [INFO] [stdout] | ------------ [INFO] [stdout] 214 | recipes_map: &HashMap, [INFO] [stdout] | ---------------------------------- [INFO] [stdout] 215 | known_recipes: &Option>, [INFO] [stdout] | ------------------------------------ [INFO] [stdout] 216 | items_map: &HashMap, [INFO] [stdout] | ----------------------------------- [INFO] [stdout] 217 | tp_listings_map: &HashMap, [INFO] [stdout] | ------------------------------------------------- [INFO] [stdout] 218 | mut purchased_ingredients: Option<&mut HashMap<(u32, Source), PurchasedIngredient>>, [INFO] [stdout] | ----------------------------------------------------------------------------------- [INFO] [stdout] 219 | opt: &config::CraftingOptions, [INFO] [stdout] | ----------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 7 arguments but 6 arguments were supplied [INFO] [stdout] --> src/tests.rs:179:27 [INFO] [stdout] | [INFO] [stdout] 179 | let profitable_item = crafting::calculate_crafting_profit( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 7 arguments [INFO] [stdout] 180 | item_id, [INFO] [stdout] | ------- [INFO] [stdout] 181 | &recipes_map, [INFO] [stdout] | ------------ [INFO] [stdout] 182 | &items_map, [INFO] [stdout] | ---------- [INFO] [stdout] 183 | &tp_listings_map, [INFO] [stdout] | ---------------- [INFO] [stdout] 184 | None, [INFO] [stdout] | ---- [INFO] [stdout] 185 | &Default::default(), [INFO] [stdout] | ------------------- supplied 6 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/crafting.rs:212:8 [INFO] [stdout] | [INFO] [stdout] 212 | pub fn calculate_crafting_profit( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 213 | item_id: u32, [INFO] [stdout] | ------------ [INFO] [stdout] 214 | recipes_map: &HashMap, [INFO] [stdout] | ---------------------------------- [INFO] [stdout] 215 | known_recipes: &Option>, [INFO] [stdout] | ------------------------------------ [INFO] [stdout] 216 | items_map: &HashMap, [INFO] [stdout] | ----------------------------------- [INFO] [stdout] 217 | tp_listings_map: &HashMap, [INFO] [stdout] | ------------------------------------------------- [INFO] [stdout] 218 | mut purchased_ingredients: Option<&mut HashMap<(u32, Source), PurchasedIngredient>>, [INFO] [stdout] | ----------------------------------------------------------------------------------- [INFO] [stdout] 219 | opt: &config::CraftingOptions, [INFO] [stdout] | ----------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `breakeven`, `max_sell`, `min_sell` and 1 other field in initializer of `ProfitableItem` [INFO] [stdout] --> src/tests.rs:189:14 [INFO] [stdout] | [INFO] [stdout] 189 | Some(crafting::ProfitableItem { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ missing `breakeven`, `max_sell`, `min_sell` and 1 other field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 7 arguments but 6 arguments were supplied [INFO] [stdout] --> src/tests.rs:200:27 [INFO] [stdout] | [INFO] [stdout] 200 | let profitable_item = crafting::calculate_crafting_profit( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 7 arguments [INFO] [stdout] 201 | item_id, [INFO] [stdout] | ------- [INFO] [stdout] 202 | &recipes_map, [INFO] [stdout] | ------------ [INFO] [stdout] 203 | &items_map, [INFO] [stdout] | ---------- [INFO] [stdout] 204 | &tp_listings_map, [INFO] [stdout] | ---------------- [INFO] [stdout] 205 | None, [INFO] [stdout] | ---- [INFO] [stdout] 206 | &Default::default(), [INFO] [stdout] | ------------------- supplied 6 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/crafting.rs:212:8 [INFO] [stdout] | [INFO] [stdout] 212 | pub fn calculate_crafting_profit( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 213 | item_id: u32, [INFO] [stdout] | ------------ [INFO] [stdout] 214 | recipes_map: &HashMap, [INFO] [stdout] | ---------------------------------- [INFO] [stdout] 215 | known_recipes: &Option>, [INFO] [stdout] | ------------------------------------ [INFO] [stdout] 216 | items_map: &HashMap, [INFO] [stdout] | ----------------------------------- [INFO] [stdout] 217 | tp_listings_map: &HashMap, [INFO] [stdout] | ------------------------------------------------- [INFO] [stdout] 218 | mut purchased_ingredients: Option<&mut HashMap<(u32, Source), PurchasedIngredient>>, [INFO] [stdout] | ----------------------------------------------------------------------------------- [INFO] [stdout] 219 | opt: &config::CraftingOptions, [INFO] [stdout] | ----------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `breakeven`, `max_sell`, `min_sell` and 1 other field in initializer of `ProfitableItem` [INFO] [stdout] --> src/tests.rs:211:14 [INFO] [stdout] | [INFO] [stdout] 211 | Some(crafting::ProfitableItem { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ missing `breakeven`, `max_sell`, `min_sell` and 1 other field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 31 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0062, E0063, E0277, E0308, E0412, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `gw2-arbitrage` due to 32 previous errors [INFO] running `Command { std: "docker" "inspect" "a74fa9ea39e18319c35e5aae10c58b04e04f88bd9816c37f8e94194666f7dd3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a74fa9ea39e18319c35e5aae10c58b04e04f88bd9816c37f8e94194666f7dd3e", kill_on_drop: false }` [INFO] [stdout] a74fa9ea39e18319c35e5aae10c58b04e04f88bd9816c37f8e94194666f7dd3e