[INFO] fetching crate avanza 0.1.3... [INFO] testing avanza-0.1.3 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate avanza 0.1.3 into /workspace/builds/worker-86/source [INFO] validating manifest of crates.io crate avanza 0.1.3 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-86/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-86/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5c7148042b2ae74b9612d82659c8948d655c5900ec4f6c83d4f279efcdcc2f1a [INFO] running `Command { std: "docker" "start" "-a" "5c7148042b2ae74b9612d82659c8948d655c5900ec4f6c83d4f279efcdcc2f1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5c7148042b2ae74b9612d82659c8948d655c5900ec4f6c83d4f279efcdcc2f1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c7148042b2ae74b9612d82659c8948d655c5900ec4f6c83d4f279efcdcc2f1a", kill_on_drop: false }` [INFO] [stdout] 5c7148042b2ae74b9612d82659c8948d655c5900ec4f6c83d4f279efcdcc2f1a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] db10a575c60b8f68f229fdd7c96445ebea0efba1301fa8f6034dac8decffee89 [INFO] running `Command { std: "docker" "start" "-a" "db10a575c60b8f68f229fdd7c96445ebea0efba1301fa8f6034dac8decffee89", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling httparse v1.7.0 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling cache-padded v1.2.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Compiling anyhow v1.0.56 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling http-types v2.12.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling event-listener v2.5.2 [INFO] [stderr] Compiling retain_mut v0.1.7 [INFO] [stderr] Compiling deadpool-runtime v0.1.2 [INFO] [stderr] Compiling infer v0.2.3 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling ipnet v2.4.0 [INFO] [stderr] Compiling futures-timer v3.0.2 [INFO] [stderr] Compiling tracing-core v0.1.25 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling futures-lite v1.12.0 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tracing-attributes v0.1.20 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling async-stream-impl v0.3.3 [INFO] [stderr] Compiling async-stream v0.3.3 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling tracing v0.1.33 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling tokio-util v0.7.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling deadpool v0.9.3 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling tokio-test v0.4.2 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling serde_qs v0.8.5 [INFO] [stderr] Compiling envy v0.4.2 [INFO] [stderr] Compiling hyper v0.14.18 [INFO] [stderr] Compiling assert-json-diff v2.0.1 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling wiremock v0.5.12 [INFO] [stderr] Compiling reqwest v0.11.10 [INFO] [stderr] Compiling avanza v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `is_authenticated` [INFO] [stdout] --> src/client.rs:90:19 [INFO] [stdout] | [INFO] [stdout] 90 | pub(crate) fn is_authenticated(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_positions` [INFO] [stdout] --> src/portfolio/positions.rs:52:14 [INFO] [stdout] | [INFO] [stdout] 52 | async fn get_positions(mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 06s [INFO] running `Command { std: "docker" "inspect" "db10a575c60b8f68f229fdd7c96445ebea0efba1301fa8f6034dac8decffee89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db10a575c60b8f68f229fdd7c96445ebea0efba1301fa8f6034dac8decffee89", kill_on_drop: false }` [INFO] [stdout] db10a575c60b8f68f229fdd7c96445ebea0efba1301fa8f6034dac8decffee89 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 370782a2819eb8da882aaf361f6fb51ac2f7c332c8a42d6a32871bf42b66a8db [INFO] running `Command { std: "docker" "start" "-a" "370782a2819eb8da882aaf361f6fb51ac2f7c332c8a42d6a32871bf42b66a8db", kill_on_drop: false }` [INFO] [stderr] Compiling avanza v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `is_authenticated` [INFO] [stdout] --> src/client.rs:90:19 [INFO] [stdout] | [INFO] [stdout] 90 | pub(crate) fn is_authenticated(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_positions` [INFO] [stdout] --> src/portfolio/positions.rs:52:14 [INFO] [stdout] | [INFO] [stdout] 52 | async fn get_positions(mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 8.82s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/avanza-404720f4de4162ad) [INFO] running `Command { std: "docker" "inspect" "370782a2819eb8da882aaf361f6fb51ac2f7c332c8a42d6a32871bf42b66a8db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "370782a2819eb8da882aaf361f6fb51ac2f7c332c8a42d6a32871bf42b66a8db", kill_on_drop: false }` [INFO] [stdout] 370782a2819eb8da882aaf361f6fb51ac2f7c332c8a42d6a32871bf42b66a8db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3638098e3039581c86b5115f931b3c661639842a090c02e47b84dc64df158860 [INFO] running `Command { std: "docker" "start" "-a" "3638098e3039581c86b5115f931b3c661639842a090c02e47b84dc64df158860", 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] [stdout] [INFO] [stderr] warning: associated function is never used: `is_authenticated` [INFO] [stdout] running 8 tests [INFO] [stderr] --> src/client.rs:90:19 [INFO] [stdout] test client::tests::can_set_api_url ... ok [INFO] [stderr] | [INFO] [stdout] test client::tests::correct_default_values ... ok [INFO] [stderr] 90 | pub(crate) fn is_authenticated(&self) -> bool { [INFO] [stdout] test client::tests::can_set_user_agent ... ok [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] test portfolio::positions::tests::require_auth ... ok [INFO] [stderr] | [INFO] [stdout] test client::tests::raises_error_on_unknown_authentication_method ... ok [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_positions` [INFO] [stderr] --> src/portfolio/positions.rs:52:14 [INFO] [stderr] | [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 [unoptimized + debuginfo] target(s) in 3.68s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/avanza-404720f4de4162ad) [INFO] [stdout] test client::tests::authentication_totp_set_auth ... ok [INFO] [stdout] test client::tests::authentication_success ... ok [INFO] [stdout] test portfolio::positions::tests::can_get_positions ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s [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" "3638098e3039581c86b5115f931b3c661639842a090c02e47b84dc64df158860", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3638098e3039581c86b5115f931b3c661639842a090c02e47b84dc64df158860", kill_on_drop: false }` [INFO] [stdout] 3638098e3039581c86b5115f931b3c661639842a090c02e47b84dc64df158860