[INFO] fetching crate avanza 0.1.3... [INFO] testing avanza-0.1.3 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate avanza 0.1.3 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate avanza 0.1.3 [INFO] finished tweaking crates.io crate avanza 0.1.3 [INFO] tweaked toml for crates.io crate avanza 0.1.3 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate avanza 0.1.3 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 209 packages to latest compatible versions [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.23) [INFO] [stderr] Adding wiremock v0.5.22 (available: v0.6.5) [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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] f3cadfe37b2b8776c1392555d589ea5f8f1c3475822e37b665fcdf5e2ef3ec5e [INFO] running `Command { std: "docker" "start" "-a" "f3cadfe37b2b8776c1392555d589ea5f8f1c3475822e37b665fcdf5e2ef3ec5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f3cadfe37b2b8776c1392555d589ea5f8f1c3475822e37b665fcdf5e2ef3ec5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3cadfe37b2b8776c1392555d589ea5f8f1c3475822e37b665fcdf5e2ef3ec5e", kill_on_drop: false }` [INFO] [stdout] f3cadfe37b2b8776c1392555d589ea5f8f1c3475822e37b665fcdf5e2ef3ec5e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 66680c6bf1cc72cb402aa50c40a8869fd494599b6f9d70fd410a30860820813f [INFO] running `Command { std: "docker" "start" "-a" "66680c6bf1cc72cb402aa50c40a8869fd494599b6f9d70fd410a30860820813f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling waker-fn v1.2.0 [INFO] [stderr] Compiling http-types v2.12.0 [INFO] [stderr] Compiling retain_mut v0.1.9 [INFO] [stderr] Compiling infer v0.2.3 [INFO] [stderr] Compiling deadpool-runtime v0.1.4 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling deadpool v0.9.5 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling serde_qs v0.8.5 [INFO] [stderr] Compiling envy v0.4.2 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling wiremock v0.5.22 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling avanza v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `is_authenticated` is never used [INFO] [stdout] --> src/client.rs:90:19 [INFO] [stdout] | [INFO] [stdout] 49 | impl Client { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 90 | pub(crate) fn is_authenticated(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_positions` is never used [INFO] [stdout] --> src/portfolio/positions.rs:52:14 [INFO] [stdout] | [INFO] [stdout] 51 | impl Client { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 52 | async fn get_positions(mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 01s [INFO] running `Command { std: "docker" "inspect" "66680c6bf1cc72cb402aa50c40a8869fd494599b6f9d70fd410a30860820813f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66680c6bf1cc72cb402aa50c40a8869fd494599b6f9d70fd410a30860820813f", kill_on_drop: false }` [INFO] [stdout] 66680c6bf1cc72cb402aa50c40a8869fd494599b6f9d70fd410a30860820813f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 2ed75ae888b40a0cbe8946ef293b1c9a4e8b3904ae161be3ce4a3b8c1b8d39bb [INFO] running `Command { std: "docker" "start" "-a" "2ed75ae888b40a0cbe8946ef293b1c9a4e8b3904ae161be3ce4a3b8c1b8d39bb", kill_on_drop: false }` [INFO] [stdout] warning: method `is_authenticated` is never used [INFO] [stdout] --> src/client.rs:90:19 [INFO] [stdout] | [INFO] [stdout] 49 | impl Client { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 90 | pub(crate) fn is_authenticated(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling avanza v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `get_positions` is never used [INFO] [stdout] --> src/portfolio/positions.rs:52:14 [INFO] [stdout] | [INFO] [stdout] 51 | impl Client { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 52 | async fn get_positions(mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.51s [INFO] running `Command { std: "docker" "inspect" "2ed75ae888b40a0cbe8946ef293b1c9a4e8b3904ae161be3ce4a3b8c1b8d39bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ed75ae888b40a0cbe8946ef293b1c9a4e8b3904ae161be3ce4a3b8c1b8d39bb", kill_on_drop: false }` [INFO] [stdout] 2ed75ae888b40a0cbe8946ef293b1c9a4e8b3904ae161be3ce4a3b8c1b8d39bb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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", kill_on_drop: false }` [INFO] [stdout] 2bc95a9bb0980c1685a089d4991e460d028e38459a0fe7bd16249c2fa428370b [INFO] running `Command { std: "docker" "start" "-a" "2bc95a9bb0980c1685a089d4991e460d028e38459a0fe7bd16249c2fa428370b", kill_on_drop: false }` [INFO] [stderr] warning: method `is_authenticated` is never used [INFO] [stderr] --> src/client.rs:90:19 [INFO] [stderr] | [INFO] [stderr] 49 | impl Client { [INFO] [stderr] | ----------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 90 | pub(crate) fn is_authenticated(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: method `get_positions` is never used [INFO] [stderr] --> src/portfolio/positions.rs:52:14 [INFO] [stderr] | [INFO] [stderr] 51 | impl Client { [INFO] [stderr] | ----------- method in this implementation [INFO] [stderr] 52 | async fn get_positions(mut self) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `avanza` (lib) generated 2 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/avanza-a352a9b855fcd59c) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test client::tests::correct_default_values ... ok [INFO] [stdout] test client::tests::can_set_api_url ... ok [INFO] [stdout] test client::tests::can_set_user_agent ... ok [INFO] [stdout] test portfolio::positions::tests::require_auth ... ok [INFO] [stdout] test client::tests::authentication_totp_set_auth ... ok [INFO] [stdout] test client::tests::raises_error_on_unknown_authentication_method ... ok [INFO] [stdout] test portfolio::positions::tests::can_get_positions ... ok [INFO] [stdout] test client::tests::authentication_success ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.51s [INFO] [stdout] [INFO] [stderr] Doc-tests avanza [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2bc95a9bb0980c1685a089d4991e460d028e38459a0fe7bd16249c2fa428370b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2bc95a9bb0980c1685a089d4991e460d028e38459a0fe7bd16249c2fa428370b", kill_on_drop: false }` [INFO] [stdout] 2bc95a9bb0980c1685a089d4991e460d028e38459a0fe7bd16249c2fa428370b