[INFO] cloning repository https://github.com/leefordjudes/sms-client-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/leefordjudes/sms-client-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleefordjudes%2Fsms-client-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleefordjudes%2Fsms-client-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4dff573dcc222b6a10c8da87eb9f580c3a256cdd [INFO] testing leefordjudes/sms-client-rust against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleefordjudes%2Fsms-client-rust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/leefordjudes/sms-client-rust [INFO] finished tweaking git repo https://github.com/leefordjudes/sms-client-rust [INFO] tweaked toml for git repo https://github.com/leefordjudes/sms-client-rust written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/leefordjudes/sms-client-rust on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/leefordjudes/sms-client-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a90c7c84e3f5f09f6015f9b5c7c5669fddcbe013c08c6630e37d8e6e10c1d8c6 [INFO] running `Command { std: "docker" "start" "-a" "a90c7c84e3f5f09f6015f9b5c7c5669fddcbe013c08c6630e37d8e6e10c1d8c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a90c7c84e3f5f09f6015f9b5c7c5669fddcbe013c08c6630e37d8e6e10c1d8c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a90c7c84e3f5f09f6015f9b5c7c5669fddcbe013c08c6630e37d8e6e10c1d8c6", kill_on_drop: false }` [INFO] [stdout] a90c7c84e3f5f09f6015f9b5c7c5669fddcbe013c08c6630e37d8e6e10c1d8c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3ca97bd387d30163c757248364a610e87df7ed503d77cfcd63e683b34082d061 [INFO] running `Command { std: "docker" "start" "-a" "3ca97bd387d30163c757248364a610e87df7ed503d77cfcd63e683b34082d061", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling pkg-config v0.3.22 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling futures-core v0.3.18 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling futures-task v0.3.18 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling futures-util v0.3.18 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling ryu v1.0.6 [INFO] [stderr] Compiling futures-channel v0.3.18 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling futures-sink v0.3.18 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling encoding_rs v0.8.29 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling openssl-sys v0.9.71 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling tokio-macros v1.6.0 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.3.7 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling serde_path_to_error v0.1.5 [INFO] [stderr] Compiling hyper v0.14.15 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.6 [INFO] [stderr] Compiling sms-client-rust v0.1.0-beta.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `SmsInput` is never constructed [INFO] [stdout] --> src/api.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct SmsInput { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SmsData` is never constructed [INFO] [stdout] --> src/api.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct SmsData { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Handler` is never constructed [INFO] [stdout] --> src/api.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Handler<'client> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `send_otp` are never used [INFO] [stdout] --> src/api.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 25 | impl<'client> Handler<'client> { [INFO] [stdout] | ------------------------------ associated items in this implementation [INFO] [stdout] 26 | pub(crate) fn new(client: &'client Client) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub async fn send_otp(&self, data: SmsInput) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MobileNumber` is never constructed [INFO] [stdout] --> src/types.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct MobileNumber(String); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with_context` is never used [INFO] [stdout] --> src/error.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 76 | pub trait Context { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 79 | fn with_context(self, cb: F) -> Result [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 44.74s [INFO] running `Command { std: "docker" "inspect" "3ca97bd387d30163c757248364a610e87df7ed503d77cfcd63e683b34082d061", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ca97bd387d30163c757248364a610e87df7ed503d77cfcd63e683b34082d061", kill_on_drop: false }` [INFO] [stdout] 3ca97bd387d30163c757248364a610e87df7ed503d77cfcd63e683b34082d061 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 981aa8159dec39dd627112232332ec032fa3b3b94709bef639fbd571f9e079fa [INFO] running `Command { std: "docker" "start" "-a" "981aa8159dec39dd627112232332ec032fa3b3b94709bef639fbd571f9e079fa", kill_on_drop: false }` [INFO] [stderr] Compiling actix-macros v0.2.3 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stdout] warning: struct `SmsInput` is never constructed [INFO] [stdout] --> src/api.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct SmsInput { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SmsData` is never constructed [INFO] [stdout] --> src/api.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct SmsData { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Handler` is never constructed [INFO] [stdout] --> src/api.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Handler<'client> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `send_otp` are never used [INFO] [stdout] --> src/api.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 25 | impl<'client> Handler<'client> { [INFO] [stdout] | ------------------------------ associated items in this implementation [INFO] [stdout] 26 | pub(crate) fn new(client: &'client Client) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub async fn send_otp(&self, data: SmsInput) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MobileNumber` is never constructed [INFO] [stdout] --> src/types.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct MobileNumber(String); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with_context` is never used [INFO] [stdout] --> src/error.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 76 | pub trait Context { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 79 | fn with_context(self, cb: F) -> Result [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling actix-rt v2.5.0 [INFO] [stderr] Compiling sms-client-rust v0.1.0-beta.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `with_context` is never used [INFO] [stdout] --> src/error.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 76 | pub trait Context { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 79 | fn with_context(self, cb: F) -> Result [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.14s [INFO] running `Command { std: "docker" "inspect" "981aa8159dec39dd627112232332ec032fa3b3b94709bef639fbd571f9e079fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "981aa8159dec39dd627112232332ec032fa3b3b94709bef639fbd571f9e079fa", kill_on_drop: false }` [INFO] [stdout] 981aa8159dec39dd627112232332ec032fa3b3b94709bef639fbd571f9e079fa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c68da8e79927b6f4329eff796c8b2bf413d48a4b8ffbe61d19824a8e4118521b [INFO] running `Command { std: "docker" "start" "-a" "c68da8e79927b6f4329eff796c8b2bf413d48a4b8ffbe61d19824a8e4118521b", kill_on_drop: false }` [INFO] [stderr] warning: struct `SmsInput` is never constructed [INFO] [stderr] --> src/api.rs:7:12 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct SmsInput { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `SmsData` is never constructed [INFO] [stderr] --> src/api.rs:13:12 [INFO] [stderr] | [INFO] [stderr] 13 | pub struct SmsData { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Handler` is never constructed [INFO] [stderr] --> src/api.rs:21:12 [INFO] [stderr] | [INFO] [stderr] 21 | pub struct Handler<'client> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new` and `send_otp` are never used [INFO] [stderr] --> src/api.rs:26:19 [INFO] [stderr] | [INFO] [stderr] 25 | impl<'client> Handler<'client> { [INFO] [stderr] | ------------------------------ associated items in this implementation [INFO] [stderr] 26 | pub(crate) fn new(client: &'client Client) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 30 | pub async fn send_otp(&self, data: SmsInput) -> Result { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `MobileNumber` is never constructed [INFO] [stderr] --> src/types.rs:14:12 [INFO] [stderr] | [INFO] [stderr] 14 | pub struct MobileNumber(String); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `with_context` is never used [INFO] [stderr] --> src/error.rs:79:8 [INFO] [stderr] | [INFO] [stderr] 76 | pub trait Context { [INFO] [stderr] | ------- method in this trait [INFO] [stderr] ... [INFO] [stderr] 79 | fn with_context(self, cb: F) -> Result [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `with_context` is never used [INFO] [stderr] --> src/error.rs:79:8 [INFO] [stderr] | [INFO] [stderr] 76 | pub trait Context { [INFO] [stderr] | ------- method in this trait [INFO] [stderr] ... [INFO] [stderr] 79 | fn with_context(self, cb: F) -> Result [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `sms-client-rust` (lib) generated 6 warnings [INFO] [stderr] warning: `sms-client-rust` (lib test) generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/sms_client_rust-6028f21dbf56bb33) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::test_send_otp ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- tests::test_send_otp stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'tests::test_send_otp' (17) panicked at src/lib.rs:25:44: [INFO] [stdout] API URL not set: NotPresent [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5de36c5523ca - std[e72de78501789eb0]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5de36c5523ca - std[e72de78501789eb0]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5de36c5523ca - std[e72de78501789eb0]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x5de36c5523ca - <::print::DisplayBacktrace as core[6aaeda2c7ad07a48]::fmt::Display>::fmt [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x5de36c56935a - ::fmt [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x5de36c56935a - core[6aaeda2c7ad07a48]::fmt::write [INFO] [stdout] 6: 0x5de36c557232 - std[e72de78501789eb0]::io::default_write_fmt::> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5de36c557232 - as std[e72de78501789eb0]::io::Write>::write_fmt [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/io/mod.rs:1994:13 [INFO] [stdout] 8: 0x5de36c5307df - ::print [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x5de36c5307df - std[e72de78501789eb0]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x5de36c54a329 - std[e72de78501789eb0]::panicking::default_hook [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x5de36c05ce1c - core[6aaeda2c7ad07a48]::ops::function::Fn<(&'a std[e72de78501789eb0]::panic::PanicHookInfo<'b>,), Output = ()> + core[6aaeda2c7ad07a48]::marker::Sync + core[6aaeda2c7ad07a48]::marker::Send> as core[6aaeda2c7ad07a48]::ops::function::Fn<(&std[e72de78501789eb0]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/alloc/src/boxed.rs:2254:9 [INFO] [stdout] 12: 0x5de36c05ce1c - test[4f12b380f1fb68c5]::test_main_with_exit_callback::::{closure#0} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5de36c54a5a2 - core[6aaeda2c7ad07a48]::ops::function::Fn<(&'a std[e72de78501789eb0]::panic::PanicHookInfo<'b>,), Output = ()> + core[6aaeda2c7ad07a48]::marker::Sync + core[6aaeda2c7ad07a48]::marker::Send> as core[6aaeda2c7ad07a48]::ops::function::Fn<(&std[e72de78501789eb0]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/alloc/src/boxed.rs:2254:9 [INFO] [stdout] 14: 0x5de36c54a5a2 - std[e72de78501789eb0]::panicking::panic_with_hook [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x5de36c530898 - std[e72de78501789eb0]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x5de36c527f79 - std[e72de78501789eb0]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x5de36c53180d - __rustc[78a4cf188af856fc]::rust_begin_unwind [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x5de36c569b1c - core[6aaeda2c7ad07a48]::panicking::panic_fmt [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x5de36c569892 - core[6aaeda2c7ad07a48]::result::unwrap_failed [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/result.rs:1867:5 [INFO] [stdout] 20: 0x5de36c03288e - >::expect [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/result.rs:1185:23 [INFO] [stdout] 21: 0x5de36c03b646 - ::from_env [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:25:44 [INFO] [stdout] 22: 0x5de36c03b4b4 - ::initialize_from_env [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:36:22 [INFO] [stdout] 23: 0x5de36c03acbd - sms_client_rust[e0532fc655eedbf0]::tests::test_send_otp::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:92:9 [INFO] [stdout] 24: 0x5de36c03e3bb - as core[6aaeda2c7ad07a48]::future::future::Future>::poll [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/future/future.rs:133:9 [INFO] [stdout] 25: 0x5de36c03178b - >::block_on::>::{closure#0}::{closure#0} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.14.0/src/runtime/basic_scheduler.rs:240:78 [INFO] [stdout] 26: 0x5de36c038a6a - tokio[65814e941a9323b0]::coop::with_budget::>, >::block_on>::{closure#0}::{closure#0}>::{closure#0} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.14.0/src/coop.rs:106:9 [INFO] [stdout] 27: 0x5de36c02ae59 - >>::try_with::>, >::block_on>::{closure#0}::{closure#0}>::{closure#0}, core[6aaeda2c7ad07a48]::task::poll::Poll>> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/thread/local.rs:462:12 [INFO] [stdout] 28: 0x5de36c02ab7d - >>::with::>, >::block_on>::{closure#0}::{closure#0}>::{closure#0}, core[6aaeda2c7ad07a48]::task::poll::Poll>> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/thread/local.rs:426:20 [INFO] [stdout] 29: 0x5de36c030d1b - tokio[65814e941a9323b0]::coop::with_budget::>, >::block_on>::{closure#0}::{closure#0}> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.14.0/src/coop.rs:99:13 [INFO] [stdout] 30: 0x5de36c030d1b - tokio[65814e941a9323b0]::coop::budget::>, >::block_on>::{closure#0}::{closure#0}> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.14.0/src/coop.rs:76:5 [INFO] [stdout] 31: 0x5de36c030d1b - >::block_on::>::{closure#0} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.14.0/src/runtime/basic_scheduler.rs:240:39 [INFO] [stdout] 32: 0x5de36c031701 - tokio[65814e941a9323b0]::runtime::basic_scheduler::enter::<>::block_on>::{closure#0}, core[6aaeda2c7ad07a48]::result::Result<(), sms_client_rust[e0532fc655eedbf0]::error::Error>, tokio[65814e941a9323b0]::runtime::driver::Driver>::{closure#0} [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.14.0/src/runtime/basic_scheduler.rs:349:29 [INFO] [stdout] 33: 0x5de36c036b6a - >::set::>::block_on>::{closure#0}, core[6aaeda2c7ad07a48]::result::Result<(), sms_client_rust[e0532fc655eedbf0]::error::Error>, tokio[65814e941a9323b0]::runtime::driver::Driver>::{closure#0}, core[6aaeda2c7ad07a48]::result::Result<(), sms_client_rust[e0532fc655eedbf0]::error::Error>> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.14.0/src/macros/scoped_tls.rs:61:9 [INFO] [stdout] 34: 0x5de36c02d6a5 - tokio[65814e941a9323b0]::runtime::basic_scheduler::enter::<>::block_on>::{closure#0}, core[6aaeda2c7ad07a48]::result::Result<(), sms_client_rust[e0532fc655eedbf0]::error::Error>, tokio[65814e941a9323b0]::runtime::driver::Driver> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.14.0/src/runtime/basic_scheduler.rs:349:13 [INFO] [stdout] 35: 0x5de36c02a7ca - >::block_on::> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.14.0/src/runtime/basic_scheduler.rs:230:9 [INFO] [stdout] 36: 0x5de36c02b4cd - >::block_on::> [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.14.0/src/runtime/basic_scheduler.rs:501:38 [INFO] [stdout] 37: 0x5de36c02b976 - >::block_on:: [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.14.0/src/runtime/basic_scheduler.rs:186:30 [INFO] [stdout] 38: 0x5de36c029cb9 - ::block_on:: [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.14.0/src/runtime/mod.rs:461:51 [INFO] [stdout] 39: 0x5de36c03cd7d - sms_client_rust[e0532fc655eedbf0]::tests::test_send_otp [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:104:11 [INFO] [stdout] 40: 0x5de36c03ab9c - sms_client_rust[e0532fc655eedbf0]::tests::test_send_otp::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:90:33 [INFO] [stdout] 41: 0x5de36c035796 - >::call_once [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x5de36c050efb - core[6aaeda2c7ad07a48]::result::Result<(), alloc[28d2dab30c1dc666]::string::String> as core[6aaeda2c7ad07a48]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x5de36c050efb - test[4f12b380f1fb68c5]::__rust_begin_short_backtrace::, fn() -> core[6aaeda2c7ad07a48]::result::Result<(), alloc[28d2dab30c1dc666]::string::String>> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/test/src/lib.rs:663:18 [INFO] [stdout] 44: 0x5de36c05d8eb - test[4f12b380f1fb68c5]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/test/src/lib.rs:686:74 [INFO] [stdout] 45: 0x5de36c05d8eb - as core[6aaeda2c7ad07a48]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 46: 0x5de36c05d8eb - std[e72de78501789eb0]::panicking::catch_unwind::do_call::, core[6aaeda2c7ad07a48]::result::Result<(), alloc[28d2dab30c1dc666]::string::String>> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:581:40 [INFO] [stdout] 47: 0x5de36c05d8eb - std[e72de78501789eb0]::panicking::catch_unwind::, core[6aaeda2c7ad07a48]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:544:19 [INFO] [stdout] 48: 0x5de36c05d8eb - std[e72de78501789eb0]::panic::catch_unwind::, core[6aaeda2c7ad07a48]::result::Result<(), alloc[28d2dab30c1dc666]::string::String>> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panic.rs:359:14 [INFO] [stdout] 49: 0x5de36c05d8eb - test[4f12b380f1fb68c5]::run_test_in_process [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/test/src/lib.rs:686:27 [INFO] [stdout] 50: 0x5de36c05d8eb - test[4f12b380f1fb68c5]::run_test::{closure#0} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/test/src/lib.rs:607:43 [INFO] [stdout] 51: 0x5de36c059004 - test[4f12b380f1fb68c5]::run_test::{closure#1} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/test/src/lib.rs:637:41 [INFO] [stdout] 52: 0x5de36c059004 - std[e72de78501789eb0]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 53: 0x5de36c0604f2 - std[e72de78501789eb0]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 54: 0x5de36c0604f2 - ::{closure#1}::{closure#0}> as core[6aaeda2c7ad07a48]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 55: 0x5de36c0604f2 - std[e72de78501789eb0]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:581:40 [INFO] [stdout] 56: 0x5de36c0604f2 - std[e72de78501789eb0]::panicking::catch_unwind::<(), core[6aaeda2c7ad07a48]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:544:19 [INFO] [stdout] 57: 0x5de36c0604f2 - std[e72de78501789eb0]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panic.rs:359:14 [INFO] [stdout] 58: 0x5de36c0604f2 - std[e72de78501789eb0]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 59: 0x5de36c0604f2 - ::{closure#1} as core[6aaeda2c7ad07a48]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 60: 0x5de36c551c9f - + core[6aaeda2c7ad07a48]::marker::Send> as core[6aaeda2c7ad07a48]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/alloc/src/boxed.rs:2240:9 [INFO] [stdout] 61: 0x5de36c551c9f - ::new::thread_start [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/thread/unix.rs:118:17 [INFO] [stdout] 62: 0x76c8a46c0aa4 - [INFO] [stdout] 63: 0x76c8a474da64 - clone [INFO] [stdout] 64: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] tests::test_send_otp [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.14s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "c68da8e79927b6f4329eff796c8b2bf413d48a4b8ffbe61d19824a8e4118521b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c68da8e79927b6f4329eff796c8b2bf413d48a4b8ffbe61d19824a8e4118521b", kill_on_drop: false }` [INFO] [stdout] c68da8e79927b6f4329eff796c8b2bf413d48a4b8ffbe61d19824a8e4118521b