[INFO] cloning repository https://github.com/curest0x1021/cw-assessment [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/curest0x1021/cw-assessment" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcurest0x1021%2Fcw-assessment", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcurest0x1021%2Fcw-assessment'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8e2c94a2ca2939bfb38e7a8e206cd42aa554d6d9 [INFO] testing curest0x1021/cw-assessment against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcurest0x1021%2Fcw-assessment" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-4-tc1/source/.cargo/config [INFO] started tweaking git repo https://github.com/curest0x1021/cw-assessment [INFO] finished tweaking git repo https://github.com/curest0x1021/cw-assessment [INFO] tweaked toml for git repo https://github.com/curest0x1021/cw-assessment written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/curest0x1021/cw-assessment on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/curest0x1021/cw-assessment 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded schemars v0.8.5 [INFO] [stderr] Downloaded loupe v0.1.3 [INFO] [stderr] Downloaded wasmer-types v2.0.0 [INFO] [stderr] Downloaded schemars_derive v0.8.5 [INFO] [stderr] Downloaded rkyv_derive v0.6.7 [INFO] [stderr] Downloaded wasmer-middlewares v2.0.0 [INFO] [stderr] Downloaded cosmwasm-schema v0.16.2 [INFO] [stderr] Downloaded cranelift-entity v0.74.0 [INFO] [stderr] Downloaded wasmer-vm v2.0.0 [INFO] [stderr] Downloaded darling_macro v0.13.0 [INFO] [stderr] Downloaded cranelift-codegen-shared v0.74.0 [INFO] [stderr] Downloaded wasmer-object v2.0.0 [INFO] [stderr] Downloaded which v4.2.2 [INFO] [stderr] Downloaded enumset_derive v0.5.5 [INFO] [stderr] Downloaded wasmer-engine v2.0.0 [INFO] [stderr] Downloaded cosmwasm-storage v0.16.2 [INFO] [stderr] Downloaded crypto-bigint v0.2.3 [INFO] [stderr] Downloaded wasmer-compiler-cranelift v2.0.0 [INFO] [stderr] Downloaded wasmer v2.0.0 [INFO] [stderr] Downloaded wasmer-compiler-singlepass v2.0.0 [INFO] [stderr] Downloaded darling_core v0.13.0 [INFO] [stderr] Downloaded object v0.25.3 [INFO] [stderr] Downloaded wasmparser v0.78.2 [INFO] [stderr] Downloaded leb128 v0.2.4 [INFO] [stderr] Downloaded darling v0.13.0 [INFO] [stderr] Downloaded enumset v1.0.7 [INFO] [stderr] Downloaded dynasm v1.1.0 [INFO] [stderr] Downloaded regalloc v0.0.31 [INFO] [stderr] Downloaded target-lexicon v0.12.1 [INFO] [stderr] Downloaded wasmer-compiler v2.0.0 [INFO] [stderr] Downloaded cranelift-codegen-meta v0.74.0 [INFO] [stderr] Downloaded wasmer-engine-universal v2.0.0 [INFO] [stderr] Downloaded region v2.2.0 [INFO] [stderr] Downloaded clru v0.4.0 [INFO] [stderr] Downloaded object v0.26.0 [INFO] [stderr] Downloaded ecdsa v0.12.4 [INFO] [stderr] Downloaded ff v0.10.1 [INFO] [stderr] Downloaded parity-wasm v0.42.2 [INFO] [stderr] Downloaded cranelift-bforest v0.74.0 [INFO] [stderr] Downloaded cranelift-frontend v0.74.0 [INFO] [stderr] Downloaded dynasmrt v1.1.0 [INFO] [stderr] Downloaded rustc-demangle v0.1.20 [INFO] [stderr] Downloaded cranelift-codegen v0.74.0 [INFO] [stderr] Downloaded more-asserts v0.2.1 [INFO] [stderr] Downloaded loupe-derive v0.1.3 [INFO] [stderr] Downloaded wasmer-engine-dylib v2.0.0 [INFO] [stderr] Downloaded memmap2 v0.2.3 [INFO] [stderr] Downloaded wasmer-derive v2.0.0 [INFO] [stderr] Downloaded rkyv v0.6.7 [INFO] [stderr] Downloaded gimli v0.24.0 [INFO] [stderr] Downloaded cosmwasm-vm v0.16.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f5b2b626691a1e0bc6ea90fd335881b7c7ff4ed2e4c07eab8ed7969294d08197 [INFO] running `Command { std: "docker" "start" "-a" "f5b2b626691a1e0bc6ea90fd335881b7c7ff4ed2e4c07eab8ed7969294d08197", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f5b2b626691a1e0bc6ea90fd335881b7c7ff4ed2e4c07eab8ed7969294d08197", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5b2b626691a1e0bc6ea90fd335881b7c7ff4ed2e4c07eab8ed7969294d08197", kill_on_drop: false }` [INFO] [stdout] f5b2b626691a1e0bc6ea90fd335881b7c7ff4ed2e4c07eab8ed7969294d08197 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] a8c09530f31ff81cd65391b3f237573313f2f005175afb30933a07a5416384e8 [INFO] running `Command { std: "docker" "start" "-a" "a8c09530f31ff81cd65391b3f237573313f2f005175afb30933a07a5416384e8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling libc v0.2.99 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling const-oid v0.6.0 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling zeroize v1.4.1 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling der v0.4.1 [INFO] [stderr] Compiling cpufeatures v0.1.5 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling schemars v0.8.5 [INFO] [stderr] Compiling dyn-clone v1.0.4 [INFO] [stderr] Compiling uint v0.9.1 [INFO] [stderr] Compiling spki v0.4.0 [INFO] [stderr] Compiling pkcs8 v0.7.5 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling ff v0.10.1 [INFO] [stderr] Compiling crypto-bigint v0.2.3 [INFO] [stderr] Compiling signature v1.3.1 [INFO] [stderr] Compiling curve25519-dalek v3.2.0 [INFO] [stderr] Compiling group v0.10.0 [INFO] [stderr] Compiling elliptic-curve v0.10.5 [INFO] [stderr] Compiling ecdsa v0.12.4 [INFO] [stderr] Compiling k256 v0.9.6 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling thiserror-impl v1.0.29 [INFO] [stderr] Compiling schemars_derive v0.8.5 [INFO] [stderr] Compiling cosmwasm-derive v0.16.2 [INFO] [stderr] Compiling thiserror v1.0.29 [INFO] [stderr] Compiling ed25519-zebra v2.2.0 [INFO] [stderr] Compiling serde-json-wasm v0.3.1 [INFO] [stderr] Compiling cosmwasm-crypto v0.16.2 [INFO] [stderr] Compiling cosmwasm-std v0.16.2 [INFO] [stderr] Compiling cosmwasm-storage v0.16.2 [INFO] [stderr] Compiling interview-challenge v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: dropping unsupported crate type `cdylib` for target `x86_64-unknown-linux-musl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/contract.rs:52:6 [INFO] [stdout] | [INFO] [stdout] 52 | if index >= 0 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/contract.rs:74:6 [INFO] [stdout] | [INFO] [stdout] 74 | if index >= 0 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/state.rs:15:24 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn config(storage: &mut dyn Storage) -> Singleton { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 15 | pub fn config(storage: &mut dyn Storage) -> Singleton<'_, State> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/state.rs:19:29 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn config_read(storage: &dyn Storage) -> ReadonlySingleton { [INFO] [stdout] | ^^^^^^^^^^^^ ------------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 19 | pub fn config_read(storage: &dyn Storage) -> ReadonlySingleton<'_, State> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 32.16s [INFO] running `Command { std: "docker" "inspect" "a8c09530f31ff81cd65391b3f237573313f2f005175afb30933a07a5416384e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8c09530f31ff81cd65391b3f237573313f2f005175afb30933a07a5416384e8", kill_on_drop: false }` [INFO] [stdout] a8c09530f31ff81cd65391b3f237573313f2f005175afb30933a07a5416384e8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] ae38d500da6e15bf238c0cb85a1b9834ff0df43eb017923d352ffcae5ba84bdd [INFO] running `Command { std: "docker" "start" "-a" "ae38d500da6e15bf238c0cb85a1b9834ff0df43eb017923d352ffcae5ba84bdd", kill_on_drop: false }` [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling rustversion v1.0.5 [INFO] [stderr] Compiling ptr_meta_derive v0.1.4 [INFO] [stderr] Compiling target-lexicon v0.12.1 [INFO] [stderr] Compiling rkyv v0.6.7 [INFO] [stderr] Compiling darling_core v0.13.0 [INFO] [stderr] Compiling ptr_meta v0.1.4 [INFO] [stderr] Compiling loupe-derive v0.1.3 [INFO] [stderr] Compiling rkyv_derive v0.6.7 [INFO] [stderr] Compiling gimli v0.25.0 [INFO] [stderr] Compiling seahash v4.1.0 [INFO] [stderr] Compiling object v0.26.0 [INFO] [stderr] Compiling loupe v0.1.3 [INFO] [stderr] Compiling rustc-demangle v0.1.20 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling region v2.2.0 [INFO] [stderr] Compiling more-asserts v0.2.1 [INFO] [stderr] Compiling backtrace v0.3.61 [INFO] [stderr] Compiling wasmer-vm v2.0.0 [INFO] [stderr] Compiling serde_bytes v0.11.5 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling wasmparser v0.78.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling cranelift-codegen-shared v0.74.0 [INFO] [stderr] Compiling cranelift-entity v0.74.0 [INFO] [stderr] Compiling cranelift-codegen-meta v0.74.0 [INFO] [stderr] Compiling memmap2 v0.2.3 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling addr2line v0.16.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling darling_macro v0.13.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling wasmer-types v2.0.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling regalloc v0.0.31 [INFO] [stderr] Compiling darling v0.13.0 [INFO] [stderr] Compiling enumset_derive v0.5.5 [INFO] [stderr] Compiling gimli v0.24.0 [INFO] [stderr] Compiling cranelift-bforest v0.74.0 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling enumset v1.0.7 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling object v0.25.3 [INFO] [stderr] Compiling dynasm v1.1.0 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling wasmer-compiler v2.0.0 [INFO] [stderr] Compiling wasmer-compiler-cranelift v2.0.0 [INFO] [stderr] Compiling leb128 v0.2.4 [INFO] [stderr] Compiling which v4.2.2 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling libloading v0.7.0 [INFO] [stderr] Compiling wasmer-derive v2.0.0 [INFO] [stderr] Compiling parity-wasm v0.42.2 [INFO] [stderr] Compiling clru v0.4.0 [INFO] [stderr] Compiling wasmer-engine v2.0.0 [INFO] [stderr] Compiling wasmer-object v2.0.0 [INFO] [stderr] Compiling wasmer-engine-dylib v2.0.0 [INFO] [stderr] Compiling wasmer-engine-universal v2.0.0 [INFO] [stderr] Compiling cosmwasm-schema v0.16.2 [INFO] [stdout] warning: dropping unsupported crate type `cdylib` for target `x86_64-unknown-linux-musl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/contract.rs:52:6 [INFO] [stdout] | [INFO] [stdout] 52 | if index >= 0 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/contract.rs:74:6 [INFO] [stdout] | [INFO] [stdout] 74 | if index >= 0 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/state.rs:15:24 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn config(storage: &mut dyn Storage) -> Singleton { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 15 | pub fn config(storage: &mut dyn Storage) -> Singleton<'_, State> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/state.rs:19:29 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn config_read(storage: &dyn Storage) -> ReadonlySingleton { [INFO] [stdout] | ^^^^^^^^^^^^ ------------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 19 | pub fn config_read(storage: &dyn Storage) -> ReadonlySingleton<'_, State> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling cranelift-codegen v0.74.0 [INFO] [stderr] Compiling dynasmrt v1.1.0 [INFO] [stderr] Compiling wasmer-compiler-singlepass v2.0.0 [INFO] [stderr] Compiling cranelift-frontend v0.74.0 [INFO] [stderr] Compiling wasmer v2.0.0 [INFO] [stderr] Compiling wasmer-middlewares v2.0.0 [INFO] [stderr] Compiling cosmwasm-vm v0.16.2 [INFO] [stderr] Compiling interview-challenge v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/contract.rs:52:6 [INFO] [stdout] | [INFO] [stdout] 52 | if index >= 0 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/contract.rs:74:6 [INFO] [stdout] | [INFO] [stdout] 74 | if index >= 0 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/state.rs:15:24 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn config(storage: &mut dyn Storage) -> Singleton { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 15 | pub fn config(storage: &mut dyn Storage) -> Singleton<'_, State> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/state.rs:19:29 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn config_read(storage: &dyn Storage) -> ReadonlySingleton { [INFO] [stdout] | ^^^^^^^^^^^^ ------------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 19 | pub fn config_read(storage: &dyn Storage) -> ReadonlySingleton<'_, State> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 45.17s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: cranelift-codegen-meta v0.74.0, wasmer-compiler-singlepass v2.0.0, wasmparser v0.78.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "ae38d500da6e15bf238c0cb85a1b9834ff0df43eb017923d352ffcae5ba84bdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae38d500da6e15bf238c0cb85a1b9834ff0df43eb017923d352ffcae5ba84bdd", kill_on_drop: false }` [INFO] [stdout] ae38d500da6e15bf238c0cb85a1b9834ff0df43eb017923d352ffcae5ba84bdd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] d1a438c0034c05a502eb57bc675d4012924fd023bc846bb1d6b2b88c76a6777e [INFO] running `Command { std: "docker" "start" "-a" "d1a438c0034c05a502eb57bc675d4012924fd023bc846bb1d6b2b88c76a6777e", kill_on_drop: false }` [INFO] [stderr] warning: dropping unsupported crate type `cdylib` for target `x86_64-unknown-linux-musl` [INFO] [stderr] [INFO] [stderr] warning: comparison is useless due to type limits [INFO] [stderr] --> src/contract.rs:52:6 [INFO] [stderr] | [INFO] [stderr] 52 | if index >= 0 { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: comparison is useless due to type limits [INFO] [stderr] --> src/contract.rs:74:6 [INFO] [stderr] | [INFO] [stderr] 74 | if index >= 0 { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/state.rs:15:24 [INFO] [stderr] | [INFO] [stderr] 15 | pub fn config(storage: &mut dyn Storage) -> Singleton { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 15 | pub fn config(storage: &mut dyn Storage) -> Singleton<'_, State> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/state.rs:19:29 [INFO] [stderr] | [INFO] [stderr] 19 | pub fn config_read(storage: &dyn Storage) -> ReadonlySingleton { [INFO] [stderr] | ^^^^^^^^^^^^ ------------------------ the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 19 | pub fn config_read(storage: &dyn Storage) -> ReadonlySingleton<'_, State> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `interview-challenge` (lib) generated 5 warnings (run `cargo fix --lib -p interview-challenge` to apply 2 suggestions) [INFO] [stderr] warning: `interview-challenge` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: cranelift-codegen-meta v0.74.0, wasmer-compiler-singlepass v2.0.0, wasmparser v0.78.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/interview_challenge-7b939afb5f0a02f1) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test contract::tests::proper_initialization ... ok [INFO] [stdout] test contract::tests::execute_add_user ... FAILED [INFO] [stdout] test contract::tests::execute_remove_user ... FAILED [INFO] [stdout] test contract::tests::query_get_user ... FAILED [INFO] [stdout] test contract::tests::query_get_users ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- contract::tests::execute_add_user stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'contract::tests::execute_add_user' panicked at src/contract.rs:51:64: [INFO] [stdout] called `Option::unwrap()` on a `None` value [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x710e8ff6b702 - std::backtrace_rs::backtrace::libunwind::trace::h559918daaaf51ab7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x710e8ff6b702 - std::backtrace_rs::backtrace::trace_unsynchronized::hb04fbcf80d07af8b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x710e8ff6b702 - std::sys::backtrace::_print_fmt::h7c0bbbbfac0065d4 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x710e8ff6b702 - ::fmt::hb62c8ed31943daa5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x710e8ffa6493 - core::fmt::rt::Argument::fmt::he5eaa7dd607ed4c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x710e8ffa6493 - core::fmt::write::h375399f8cb90b45a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/mod.rs:1460:25 [INFO] [stdout] 6: 0x710e8ff68a33 - std::io::default_write_fmt::hdc1b4dd565dd0099 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x710e8ff68a33 - std::io::Write::write_fmt::h29f6044e9bc43c23 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x710e8ff6b552 - std::sys::backtrace::BacktraceLock::print::ha189c586374f916a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x710e8ff6ccdc - std::panicking::default_hook::{{closure}}::ha3a26c98ff210e12 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x710e8ff6cb32 - std::panicking::default_hook::h8c8a86b4390ab794 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x710e8fe8b854 - as core::ops::function::Fn>::call::ha39ae63ed1e9a130 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x710e8fe8b854 - test::test_main_with_exit_callback::{{closure}}::h9df7c328ebe18c28 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x710e8ff6d743 - as core::ops::function::Fn>::call::h96b7201b552e9069 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 14: 0x710e8ff6d743 - std::panicking::rust_panic_with_hook::hb3b66c2e80efa371 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x710e8ff6d3f6 - std::panicking::begin_panic_handler::{{closure}}::h9c68d0f839e62070 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:699:13 [INFO] [stdout] 16: 0x710e8ff6bc09 - std::sys::backtrace::__rust_end_short_backtrace::h68d22ddde4a73ad6 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x710e8ff6d0bd - __rustc[f4ffc7196a45a630]::rust_begin_unwind [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x710e8fe29e30 - core::panicking::panic_fmt::h8cdd4c81eb9069aa [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x710e8fe29ebc - core::panicking::panic::hd54a104e9b8d4d02 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:145:5 [INFO] [stdout] 20: 0x710e8fe29da9 - core::option::unwrap_failed::hd4464c0b866bac5c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/option.rs:2072:5 [INFO] [stdout] 21: 0x710e8fe32c6d - core::option::Option::unwrap::h36bad5065c60d45c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/option.rs:1005:21 [INFO] [stdout] 22: 0x710e8fe32c6d - interview_challenge::contract::add_user::h15581ca279255508 [INFO] [stdout] at /opt/rustwide/workdir/src/contract.rs:51:64 [INFO] [stdout] 23: 0x710e8fe3267a - interview_challenge::contract::execute::h79e0413aa618dd01 [INFO] [stdout] at /opt/rustwide/workdir/src/contract.rs:32:35 [INFO] [stdout] 24: 0x710e8fe3a19f - interview_challenge::contract::tests::execute_add_user::h8690355b76d92fab [INFO] [stdout] at /opt/rustwide/workdir/src/contract.rs:215:23 [INFO] [stdout] 25: 0x710e8fe39b37 - interview_challenge::contract::tests::execute_add_user::{{closure}}::h517becc204b6eb61 [INFO] [stdout] at /opt/rustwide/workdir/src/contract.rs:202:24 [INFO] [stdout] 26: 0x710e8fe44ef6 - core::ops::function::FnOnce::call_once::h15d48a26fcd26181 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x710e8fe90f4b - core::ops::function::FnOnce::call_once::h9633dcf760ae81b2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 28: 0x710e8fe90f4b - test::__rust_begin_short_backtrace::h12ad5e04c8d7b4a5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:648:18 [INFO] [stdout] 29: 0x710e8fe901be - test::run_test_in_process::{{closure}}::he596b4fd3fa4893c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:74 [INFO] [stdout] 30: 0x710e8fe901be - as core::ops::function::FnOnce<()>>::call_once::hc746bc3fa75190e0 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 31: 0x710e8fe901be - std::panicking::catch_unwind::do_call::hf4843906108d6299 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 32: 0x710e8fe901be - std::panicking::catch_unwind::h849d4e8b03577bb9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 33: 0x710e8fe901be - std::panic::catch_unwind::ha1f814c1dec025d2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 34: 0x710e8fe901be - test::run_test_in_process::h542aad3fe61255e7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:27 [INFO] [stdout] 35: 0x710e8fe901be - test::run_test::{{closure}}::h612788d75908cb63 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:592:43 [INFO] [stdout] 36: 0x710e8fe55044 - test::run_test::{{closure}}::hbfeea3bcb7245123 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:622:41 [INFO] [stdout] 37: 0x710e8fe55044 - std::sys::backtrace::__rust_begin_short_backtrace::h72542b83b4f87d5b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 38: 0x710e8fe5883a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hff26a7547ea762c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 39: 0x710e8fe5883a - as core::ops::function::FnOnce<()>>::call_once::hbee49bc759312884 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 40: 0x710e8fe5883a - std::panicking::catch_unwind::do_call::h61de12ce5e04e28f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 41: 0x710e8fe5883a - std::panicking::catch_unwind::h454dd49873d22e18 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 42: 0x710e8fe5883a - std::panic::catch_unwind::h5c15187324f8cebb [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 43: 0x710e8fe5883a - std::thread::Builder::spawn_unchecked_::{{closure}}::hbc9d9c7427673d42 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 44: 0x710e8fe5883a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hefd458a129ddca13 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 45: 0x710e8ff70197 - as core::ops::function::FnOnce>::call_once::h2d6e2e526b02c3da [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 46: 0x710e8ff70197 - as core::ops::function::FnOnce>::call_once::h1aefced482b33c72 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 47: 0x710e8ff70197 - std::sys::pal::unix::thread::Thread::new::thread_start::h7c9c6951b48f721d [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] [INFO] [stdout] ---- contract::tests::execute_remove_user stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'contract::tests::execute_remove_user' panicked at src/contract.rs:73:64: [INFO] [stdout] called `Option::unwrap()` on a `None` value [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x710e8ff6b702 - std::backtrace_rs::backtrace::libunwind::trace::h559918daaaf51ab7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x710e8ff6b702 - std::backtrace_rs::backtrace::trace_unsynchronized::hb04fbcf80d07af8b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x710e8ff6b702 - std::sys::backtrace::_print_fmt::h7c0bbbbfac0065d4 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x710e8ff6b702 - ::fmt::hb62c8ed31943daa5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x710e8ffa6493 - core::fmt::rt::Argument::fmt::he5eaa7dd607ed4c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x710e8ffa6493 - core::fmt::write::h375399f8cb90b45a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/mod.rs:1460:25 [INFO] [stdout] 6: 0x710e8ff68a33 - std::io::default_write_fmt::hdc1b4dd565dd0099 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x710e8ff68a33 - std::io::Write::write_fmt::h29f6044e9bc43c23 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x710e8ff6b552 - std::sys::backtrace::BacktraceLock::print::ha189c586374f916a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x710e8ff6ccdc - std::panicking::default_hook::{{closure}}::ha3a26c98ff210e12 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x710e8ff6cb32 - std::panicking::default_hook::h8c8a86b4390ab794 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x710e8fe8b854 - as core::ops::function::Fn>::call::ha39ae63ed1e9a130 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x710e8fe8b854 - test::test_main_with_exit_callback::{{closure}}::h9df7c328ebe18c28 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x710e8ff6d743 - as core::ops::function::Fn>::call::h96b7201b552e9069 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 14: 0x710e8ff6d743 - std::panicking::rust_panic_with_hook::hb3b66c2e80efa371 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x710e8ff6d3f6 - std::panicking::begin_panic_handler::{{closure}}::h9c68d0f839e62070 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:699:13 [INFO] [stdout] 16: 0x710e8ff6bc09 - std::sys::backtrace::__rust_end_short_backtrace::h68d22ddde4a73ad6 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x710e8ff6d0bd - __rustc[f4ffc7196a45a630]::rust_begin_unwind [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x710e8fe29e30 - core::panicking::panic_fmt::h8cdd4c81eb9069aa [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x710e8fe29ebc - core::panicking::panic::hd54a104e9b8d4d02 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:145:5 [INFO] [stdout] 20: 0x710e8fe29da9 - core::option::unwrap_failed::hd4464c0b866bac5c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/option.rs:2072:5 [INFO] [stdout] 21: 0x710e8fe333c2 - core::option::Option::unwrap::h36bad5065c60d45c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/option.rs:1005:21 [INFO] [stdout] 22: 0x710e8fe333c2 - interview_challenge::contract::remove_user::h1d720ae162c02ede [INFO] [stdout] at /opt/rustwide/workdir/src/contract.rs:73:64 [INFO] [stdout] 23: 0x710e8fe326af - interview_challenge::contract::execute::h79e0413aa618dd01 [INFO] [stdout] at /opt/rustwide/workdir/src/contract.rs:33:38 [INFO] [stdout] 24: 0x710e8fe3aaef - interview_challenge::contract::tests::execute_remove_user::ha3d9b84e10f6e740 [INFO] [stdout] at /opt/rustwide/workdir/src/contract.rs:236:23 [INFO] [stdout] 25: 0x710e8fe3a487 - interview_challenge::contract::tests::execute_remove_user::{{closure}}::hdc4ba18e97d71277 [INFO] [stdout] at /opt/rustwide/workdir/src/contract.rs:223:27 [INFO] [stdout] 26: 0x710e8fe45216 - core::ops::function::FnOnce::call_once::hd4d1fdd56381f7cb [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x710e8fe90f4b - core::ops::function::FnOnce::call_once::h9633dcf760ae81b2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 28: 0x710e8fe90f4b - test::__rust_begin_short_backtrace::h12ad5e04c8d7b4a5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:648:18 [INFO] [stdout] 29: 0x710e8fe901be - test::run_test_in_process::{{closure}}::he596b4fd3fa4893c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:74 [INFO] [stdout] 30: 0x710e8fe901be - as core::ops::function::FnOnce<()>>::call_once::hc746bc3fa75190e0 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 31: 0x710e8fe901be - std::panicking::catch_unwind::do_call::hf4843906108d6299 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 32: 0x710e8fe901be - std::panicking::catch_unwind::h849d4e8b03577bb9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 33: 0x710e8fe901be - std::panic::catch_unwind::ha1f814c1dec025d2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 34: 0x710e8fe901be - test::run_test_in_process::h542aad3fe61255e7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:27 [INFO] [stdout] 35: 0x710e8fe901be - test::run_test::{{closure}}::h612788d75908cb63 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:592:43 [INFO] [stdout] 36: 0x710e8fe55044 - test::run_test::{{closure}}::hbfeea3bcb7245123 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:622:41 [INFO] [stdout] 37: 0x710e8fe55044 - std::sys::backtrace::__rust_begin_short_backtrace::h72542b83b4f87d5b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 38: 0x710e8fe5883a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hff26a7547ea762c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 39: 0x710e8fe5883a - as core::ops::function::FnOnce<()>>::call_once::hbee49bc759312884 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 40: 0x710e8fe5883a - std::panicking::catch_unwind::do_call::h61de12ce5e04e28f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 41: 0x710e8fe5883a - std::panicking::catch_unwind::h454dd49873d22e18 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 42: 0x710e8fe5883a - std::panic::catch_unwind::h5c15187324f8cebb [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 43: 0x710e8fe5883a - std::thread::Builder::spawn_unchecked_::{{closure}}::hbc9d9c7427673d42 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 44: 0x710e8fe5883a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hefd458a129ddca13 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 45: 0x710e8ff70197 - as core::ops::function::FnOnce>::call_once::h2d6e2e526b02c3da [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 46: 0x710e8ff70197 - as core::ops::function::FnOnce>::call_once::h1aefced482b33c72 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 47: 0x710e8ff70197 - std::sys::pal::unix::thread::Thread::new::thread_start::h7c9c6951b48f721d [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] [INFO] [stdout] ---- contract::tests::query_get_user stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'contract::tests::query_get_user' panicked at src/contract.rs:51:64: [INFO] [stdout] called `Option::unwrap()` on a `None` value [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x710e8ff6b702 - std::backtrace_rs::backtrace::libunwind::trace::h559918daaaf51ab7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x710e8ff6b702 - std::backtrace_rs::backtrace::trace_unsynchronized::hb04fbcf80d07af8b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x710e8ff6b702 - std::sys::backtrace::_print_fmt::h7c0bbbbfac0065d4 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x710e8ff6b702 - ::fmt::hb62c8ed31943daa5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x710e8ffa6493 - core::fmt::rt::Argument::fmt::he5eaa7dd607ed4c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x710e8ffa6493 - core::fmt::write::h375399f8cb90b45a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/mod.rs:1460:25 [INFO] [stdout] 6: 0x710e8ff68a33 - std::io::default_write_fmt::hdc1b4dd565dd0099 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x710e8ff68a33 - std::io::Write::write_fmt::h29f6044e9bc43c23 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x710e8ff6b552 - std::sys::backtrace::BacktraceLock::print::ha189c586374f916a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x710e8ff6ccdc - std::panicking::default_hook::{{closure}}::ha3a26c98ff210e12 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x710e8ff6cb32 - std::panicking::default_hook::h8c8a86b4390ab794 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x710e8fe8b854 - as core::ops::function::Fn>::call::ha39ae63ed1e9a130 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x710e8fe8b854 - test::test_main_with_exit_callback::{{closure}}::h9df7c328ebe18c28 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x710e8ff6d743 - as core::ops::function::Fn>::call::h96b7201b552e9069 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 14: 0x710e8ff6d743 - std::panicking::rust_panic_with_hook::hb3b66c2e80efa371 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x710e8ff6d3f6 - std::panicking::begin_panic_handler::{{closure}}::h9c68d0f839e62070 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:699:13 [INFO] [stdout] 16: 0x710e8ff6bc09 - std::sys::backtrace::__rust_end_short_backtrace::h68d22ddde4a73ad6 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x710e8ff6d0bd - __rustc[f4ffc7196a45a630]::rust_begin_unwind [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x710e8fe29e30 - core::panicking::panic_fmt::h8cdd4c81eb9069aa [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x710e8fe29ebc - core::panicking::panic::hd54a104e9b8d4d02 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:145:5 [INFO] [stdout] 20: 0x710e8fe29da9 - core::option::unwrap_failed::hd4464c0b866bac5c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/option.rs:2072:5 [INFO] [stdout] 21: 0x710e8fe32c6d - core::option::Option::unwrap::h36bad5065c60d45c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/option.rs:1005:21 [INFO] [stdout] 22: 0x710e8fe32c6d - interview_challenge::contract::add_user::h15581ca279255508 [INFO] [stdout] at /opt/rustwide/workdir/src/contract.rs:51:64 [INFO] [stdout] 23: 0x710e8fe3267a - interview_challenge::contract::execute::h79e0413aa618dd01 [INFO] [stdout] at /opt/rustwide/workdir/src/contract.rs:32:35 [INFO] [stdout] 24: 0x710e8fe3a19f - interview_challenge::contract::tests::execute_add_user::h8690355b76d92fab [INFO] [stdout] at /opt/rustwide/workdir/src/contract.rs:215:23 [INFO] [stdout] 25: 0x710e8fe3b214 - interview_challenge::contract::tests::query_get_user::h0c541f5de6e63751 [INFO] [stdout] at /opt/rustwide/workdir/src/contract.rs:255:5 [INFO] [stdout] 26: 0x710e8fe3b1e7 - interview_challenge::contract::tests::query_get_user::{{closure}}::h3231b67456d21011 [INFO] [stdout] at /opt/rustwide/workdir/src/contract.rs:254:22 [INFO] [stdout] 27: 0x710e8fe45086 - core::ops::function::FnOnce::call_once::h6ef62d7caa9b68fa [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 28: 0x710e8fe90f4b - core::ops::function::FnOnce::call_once::h9633dcf760ae81b2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 29: 0x710e8fe90f4b - test::__rust_begin_short_backtrace::h12ad5e04c8d7b4a5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:648:18 [INFO] [stdout] 30: 0x710e8fe901be - test::run_test_in_process::{{closure}}::he596b4fd3fa4893c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:74 [INFO] [stdout] 31: 0x710e8fe901be - as core::ops::function::FnOnce<()>>::call_once::hc746bc3fa75190e0 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 32: 0x710e8fe901be - std::panicking::catch_unwind::do_call::hf4843906108d6299 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 33: 0x710e8fe901be - std::panicking::catch_unwind::h849d4e8b03577bb9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 34: 0x710e8fe901be - std::panic::catch_unwind::ha1f814c1dec025d2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 35: 0x710e8fe901be - test::run_test_in_process::h542aad3fe61255e7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:27 [INFO] [stdout] 36: 0x710e8fe901be - test::run_test::{{closure}}::h612788d75908cb63 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:592:43 [INFO] [stdout] 37: 0x710e8fe55044 - test::run_test::{{closure}}::hbfeea3bcb7245123 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:622:41 [INFO] [stdout] 38: 0x710e8fe55044 - std::sys::backtrace::__rust_begin_short_backtrace::h72542b83b4f87d5b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 39: 0x710e8fe5883a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hff26a7547ea762c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 40: 0x710e8fe5883a - as core::ops::function::FnOnce<()>>::call_once::hbee49bc759312884 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 41: 0x710e8fe5883a - std::panicking::catch_unwind::do_call::h61de12ce5e04e28f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 42: 0x710e8fe5883a - std::panicking::catch_unwind::h454dd49873d22e18 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 43: 0x710e8fe5883a - std::panic::catch_unwind::h5c15187324f8cebb [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 44: 0x710e8fe5883a - std::thread::Builder::spawn_unchecked_::{{closure}}::hbc9d9c7427673d42 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 45: 0x710e8fe5883a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hefd458a129ddca13 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 46: 0x710e8ff70197 - as core::ops::function::FnOnce>::call_once::h2d6e2e526b02c3da [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 47: 0x710e8ff70197 - as core::ops::function::FnOnce>::call_once::h1aefced482b33c72 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 48: 0x710e8ff70197 - std::sys::pal::unix::thread::Thread::new::thread_start::h7c9c6951b48f721d [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] [INFO] [stdout] ---- contract::tests::query_get_users stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'contract::tests::query_get_users' panicked at src/contract.rs:51:64: [INFO] [stdout] called `Option::unwrap()` on a `None` value [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x710e8ff6b702 - std::backtrace_rs::backtrace::libunwind::trace::h559918daaaf51ab7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x710e8ff6b702 - std::backtrace_rs::backtrace::trace_unsynchronized::hb04fbcf80d07af8b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x710e8ff6b702 - std::sys::backtrace::_print_fmt::h7c0bbbbfac0065d4 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x710e8ff6b702 - ::fmt::hb62c8ed31943daa5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x710e8ffa6493 - core::fmt::rt::Argument::fmt::he5eaa7dd607ed4c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x710e8ffa6493 - core::fmt::write::h375399f8cb90b45a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/mod.rs:1460:25 [INFO] [stdout] 6: 0x710e8ff68a33 - std::io::default_write_fmt::hdc1b4dd565dd0099 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x710e8ff68a33 - std::io::Write::write_fmt::h29f6044e9bc43c23 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x710e8ff6b552 - std::sys::backtrace::BacktraceLock::print::ha189c586374f916a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x710e8ff6ccdc - std::panicking::default_hook::{{closure}}::ha3a26c98ff210e12 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x710e8ff6cb32 - std::panicking::default_hook::h8c8a86b4390ab794 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x710e8fe8b854 - as core::ops::function::Fn>::call::ha39ae63ed1e9a130 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x710e8fe8b854 - test::test_main_with_exit_callback::{{closure}}::h9df7c328ebe18c28 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x710e8ff6d743 - as core::ops::function::Fn>::call::h96b7201b552e9069 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 14: 0x710e8ff6d743 - std::panicking::rust_panic_with_hook::hb3b66c2e80efa371 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x710e8ff6d3f6 - std::panicking::begin_panic_handler::{{closure}}::h9c68d0f839e62070 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:699:13 [INFO] [stdout] 16: 0x710e8ff6bc09 - std::sys::backtrace::__rust_end_short_backtrace::h68d22ddde4a73ad6 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x710e8ff6d0bd - __rustc[f4ffc7196a45a630]::rust_begin_unwind [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x710e8fe29e30 - core::panicking::panic_fmt::h8cdd4c81eb9069aa [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x710e8fe29ebc - core::panicking::panic::hd54a104e9b8d4d02 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:145:5 [INFO] [stdout] 20: 0x710e8fe29da9 - core::option::unwrap_failed::hd4464c0b866bac5c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/option.rs:2072:5 [INFO] [stdout] 21: 0x710e8fe32c6d - core::option::Option::unwrap::h36bad5065c60d45c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/option.rs:1005:21 [INFO] [stdout] 22: 0x710e8fe32c6d - interview_challenge::contract::add_user::h15581ca279255508 [INFO] [stdout] at /opt/rustwide/workdir/src/contract.rs:51:64 [INFO] [stdout] 23: 0x710e8fe3267a - interview_challenge::contract::execute::h79e0413aa618dd01 [INFO] [stdout] at /opt/rustwide/workdir/src/contract.rs:32:35 [INFO] [stdout] 24: 0x710e8fe3a19f - interview_challenge::contract::tests::execute_add_user::h8690355b76d92fab [INFO] [stdout] at /opt/rustwide/workdir/src/contract.rs:215:23 [INFO] [stdout] 25: 0x710e8fe3ae04 - interview_challenge::contract::tests::query_get_users::hefe4efe3c51e3115 [INFO] [stdout] at /opt/rustwide/workdir/src/contract.rs:245:5 [INFO] [stdout] 26: 0x710e8fe3add7 - interview_challenge::contract::tests::query_get_users::{{closure}}::hb0b21c64eb35dd88 [INFO] [stdout] at /opt/rustwide/workdir/src/contract.rs:244:23 [INFO] [stdout] 27: 0x710e8fe45006 - core::ops::function::FnOnce::call_once::h4b81688f83f180d5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 28: 0x710e8fe90f4b - core::ops::function::FnOnce::call_once::h9633dcf760ae81b2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 29: 0x710e8fe90f4b - test::__rust_begin_short_backtrace::h12ad5e04c8d7b4a5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:648:18 [INFO] [stdout] 30: 0x710e8fe901be - test::run_test_in_process::{{closure}}::he596b4fd3fa4893c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:74 [INFO] [stdout] 31: 0x710e8fe901be - as core::ops::function::FnOnce<()>>::call_once::hc746bc3fa75190e0 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 32: 0x710e8fe901be - std::panicking::catch_unwind::do_call::hf4843906108d6299 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 33: 0x710e8fe901be - std::panicking::catch_unwind::h849d4e8b03577bb9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 34: 0x710e8fe901be - std::panic::catch_unwind::ha1f814c1dec025d2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 35: 0x710e8fe901be - test::run_test_in_process::h542aad3fe61255e7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:27 [INFO] [stdout] 36: 0x710e8fe901be - test::run_test::{{closure}}::h612788d75908cb63 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:592:43 [INFO] [stdout] 37: 0x710e8fe55044 - test::run_test::{{closure}}::hbfeea3bcb7245123 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:622:41 [INFO] [stdout] 38: 0x710e8fe55044 - std::sys::backtrace::__rust_begin_short_backtrace::h72542b83b4f87d5b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 39: 0x710e8fe5883a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hff26a7547ea762c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 40: 0x710e8fe5883a - as core::ops::function::FnOnce<()>>::call_once::hbee49bc759312884 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 41: 0x710e8fe5883a - std::panicking::catch_unwind::do_call::h61de12ce5e04e28f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 42: 0x710e8fe5883a - std::panicking::catch_unwind::h454dd49873d22e18 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 43: 0x710e8fe5883a - std::panic::catch_unwind::h5c15187324f8cebb [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 44: 0x710e8fe5883a - std::thread::Builder::spawn_unchecked_::{{closure}}::hbc9d9c7427673d42 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 45: 0x710e8fe5883a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hefd458a129ddca13 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 46: 0x710e8ff70197 - as core::ops::function::FnOnce>::call_once::h2d6e2e526b02c3da [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 47: 0x710e8ff70197 - as core::ops::function::FnOnce>::call_once::h1aefced482b33c72 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 48: 0x710e8ff70197 - std::sys::pal::unix::thread::Thread::new::thread_start::h7c9c6951b48f721d [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] contract::tests::execute_add_user [INFO] [stdout] contract::tests::execute_remove_user [INFO] [stdout] contract::tests::query_get_user [INFO] [stdout] contract::tests::query_get_users [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "d1a438c0034c05a502eb57bc675d4012924fd023bc846bb1d6b2b88c76a6777e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1a438c0034c05a502eb57bc675d4012924fd023bc846bb1d6b2b88c76a6777e", kill_on_drop: false }` [INFO] [stdout] d1a438c0034c05a502eb57bc675d4012924fd023bc846bb1d6b2b88c76a6777e