[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] efa4d23f94e8e51100ff95a4f78ac444d10b67fa [INFO] testing t-mw/gw2-arbitrage against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ft-mw%2Fgw2-arbitrage" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/t-mw/gw2-arbitrage on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "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-1/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" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_path_to_error v0.1.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 497910875e68c15d010fff9e891034fb5c8d43b80f2708a0bc6d4ece76427aa0 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "497910875e68c15d010fff9e891034fb5c8d43b80f2708a0bc6d4ece76427aa0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "497910875e68c15d010fff9e891034fb5c8d43b80f2708a0bc6d4ece76427aa0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "497910875e68c15d010fff9e891034fb5c8d43b80f2708a0bc6d4ece76427aa0", kill_on_drop: false }` [INFO] [stdout] 497910875e68c15d010fff9e891034fb5c8d43b80f2708a0bc6d4ece76427aa0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0542b9db78c3fe29b0fa031bcc3567bae7f434e5eaa8819fc127a353c6739b27 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0542b9db78c3fe29b0fa031bcc3567bae7f434e5eaa8819fc127a353c6739b27", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [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 serde_derive v1.0.126 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-sink v0.3.15 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling futures-io v0.3.15 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling openssl v0.10.35 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling tokio v1.7.1 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-bigint v0.3.2 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling openssl-sys v0.9.65 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling flate2 v1.0.20 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling colored v1.9.3 [INFO] [stderr] Compiling dirs v3.0.2 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling http-body v0.4.2 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling tokio-macros v1.2.0 [INFO] [stderr] Compiling structopt-derive v0.4.14 [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 serde_urlencoded v0.7.0 [INFO] [stderr] Compiling bstr v0.2.16 [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 3m 00s [INFO] running `Command { std: "docker" "inspect" "0542b9db78c3fe29b0fa031bcc3567bae7f434e5eaa8819fc127a353c6739b27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0542b9db78c3fe29b0fa031bcc3567bae7f434e5eaa8819fc127a353c6739b27", kill_on_drop: false }` [INFO] [stdout] 0542b9db78c3fe29b0fa031bcc3567bae7f434e5eaa8819fc127a353c6739b27 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 12f6450f4afd1648fec51278a023d040755dc575761ca07b424f60b753b537c0 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "12f6450f4afd1648fec51278a023d040755dc575761ca07b424f60b753b537c0", kill_on_drop: false }` [INFO] [stderr] Compiling gw2-arbitrage v0.6.3-alpha.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0412]: cannot find type `RecipeIngredient` in this scope [INFO] [stdout] --> src/crafting.rs:653:23 [INFO] [stdout] | [INFO] [stdout] 653 | 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[E0308]: mismatched types [INFO] [stdout] --> src/crafting.rs:656:13 [INFO] [stdout] | [INFO] [stdout] 656 | 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:664:15 [INFO] [stdout] | [INFO] [stdout] 664 | ..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:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | 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:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | 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:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | 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:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | 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:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | 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:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | 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:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | 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:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | 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:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | 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:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | 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:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | 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:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | 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:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | 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:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | 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:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | 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:217:8 [INFO] [stdout] | [INFO] [stdout] 217 | pub fn calculate_crafting_profit( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 218 | item_id: u32, [INFO] [stdout] | ------------ [INFO] [stdout] 219 | recipes_map: &HashMap, [INFO] [stdout] | ---------------------------------- [INFO] [stdout] 220 | known_recipes: &Option>, [INFO] [stdout] | ------------------------------------ [INFO] [stdout] 221 | items_map: &HashMap, [INFO] [stdout] | ----------------------------------- [INFO] [stdout] 222 | tp_listings_map: &HashMap, [INFO] [stdout] | ------------------------------------------------- [INFO] [stdout] 223 | mut purchased_ingredients: Option<&mut HashMap<(u32, Source), PurchasedIngredient>>, [INFO] [stdout] | ----------------------------------------------------------------------------------- [INFO] [stdout] 224 | opt: &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:217:8 [INFO] [stdout] | [INFO] [stdout] 217 | pub fn calculate_crafting_profit( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 218 | item_id: u32, [INFO] [stdout] | ------------ [INFO] [stdout] 219 | recipes_map: &HashMap, [INFO] [stdout] | ---------------------------------- [INFO] [stdout] 220 | known_recipes: &Option>, [INFO] [stdout] | ------------------------------------ [INFO] [stdout] 221 | items_map: &HashMap, [INFO] [stdout] | ----------------------------------- [INFO] [stdout] 222 | tp_listings_map: &HashMap, [INFO] [stdout] | ------------------------------------------------- [INFO] [stdout] 223 | mut purchased_ingredients: Option<&mut HashMap<(u32, Source), PurchasedIngredient>>, [INFO] [stdout] | ----------------------------------------------------------------------------------- [INFO] [stdout] 224 | opt: &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:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | 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:217:8 [INFO] [stdout] | [INFO] [stdout] 217 | pub fn calculate_crafting_profit( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 218 | item_id: u32, [INFO] [stdout] | ------------ [INFO] [stdout] 219 | recipes_map: &HashMap, [INFO] [stdout] | ---------------------------------- [INFO] [stdout] 220 | known_recipes: &Option>, [INFO] [stdout] | ------------------------------------ [INFO] [stdout] 221 | items_map: &HashMap, [INFO] [stdout] | ----------------------------------- [INFO] [stdout] 222 | tp_listings_map: &HashMap, [INFO] [stdout] | ------------------------------------------------- [INFO] [stdout] 223 | mut purchased_ingredients: Option<&mut HashMap<(u32, Source), PurchasedIngredient>>, [INFO] [stdout] | ----------------------------------------------------------------------------------- [INFO] [stdout] 224 | opt: &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:217:8 [INFO] [stdout] | [INFO] [stdout] 217 | pub fn calculate_crafting_profit( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 218 | item_id: u32, [INFO] [stdout] | ------------ [INFO] [stdout] 219 | recipes_map: &HashMap, [INFO] [stdout] | ---------------------------------- [INFO] [stdout] 220 | known_recipes: &Option>, [INFO] [stdout] | ------------------------------------ [INFO] [stdout] 221 | items_map: &HashMap, [INFO] [stdout] | ----------------------------------- [INFO] [stdout] 222 | tp_listings_map: &HashMap, [INFO] [stdout] | ------------------------------------------------- [INFO] [stdout] 223 | mut purchased_ingredients: Option<&mut HashMap<(u32, Source), PurchasedIngredient>>, [INFO] [stdout] | ----------------------------------------------------------------------------------- [INFO] [stdout] 224 | opt: &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:217:8 [INFO] [stdout] | [INFO] [stdout] 217 | pub fn calculate_crafting_profit( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 218 | item_id: u32, [INFO] [stdout] | ------------ [INFO] [stdout] 219 | recipes_map: &HashMap, [INFO] [stdout] | ---------------------------------- [INFO] [stdout] 220 | known_recipes: &Option>, [INFO] [stdout] | ------------------------------------ [INFO] [stdout] 221 | items_map: &HashMap, [INFO] [stdout] | ----------------------------------- [INFO] [stdout] 222 | tp_listings_map: &HashMap, [INFO] [stdout] | ------------------------------------------------- [INFO] [stdout] 223 | mut purchased_ingredients: Option<&mut HashMap<(u32, Source), PurchasedIngredient>>, [INFO] [stdout] | ----------------------------------------------------------------------------------- [INFO] [stdout] 224 | opt: &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 28 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, 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 29 previous errors [INFO] running `Command { std: "docker" "inspect" "12f6450f4afd1648fec51278a023d040755dc575761ca07b424f60b753b537c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12f6450f4afd1648fec51278a023d040755dc575761ca07b424f60b753b537c0", kill_on_drop: false }` [INFO] [stdout] 12f6450f4afd1648fec51278a023d040755dc575761ca07b424f60b753b537c0