[INFO] cloning repository https://github.com/macroexpansion/bigchaindb-token [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/macroexpansion/bigchaindb-token" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmacroexpansion%2Fbigchaindb-token", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmacroexpansion%2Fbigchaindb-token'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5c14e1740a359f0081449b14002e98da0ce29aff [INFO] testing macroexpansion/bigchaindb-token against master#b03b3a7ec92682be2917540b679478d41c95a30c for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmacroexpansion%2Fbigchaindb-token" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/macroexpansion/bigchaindb-token [INFO] finished tweaking git repo https://github.com/macroexpansion/bigchaindb-token [INFO] tweaked toml for git repo https://github.com/macroexpansion/bigchaindb-token written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/macroexpansion/bigchaindb-token on toolchain b03b3a7ec92682be2917540b679478d41c95a30c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/macroexpansion/bigchaindb-token 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" "+b03b3a7ec92682be2917540b679478d41c95a30c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/macroexpansion/bigchaindb-rs` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tweetnacl-sys v0.1.5 [INFO] [stderr] Downloaded tweetnacl v0.4.0 [INFO] [stderr] Downloaded rust-embed-impl v8.1.0 [INFO] [stderr] Downloaded rust-embed-utils v8.1.0 [INFO] [stderr] Downloaded asn1_derive v0.15.5 [INFO] [stderr] Downloaded utoipa-rapidoc v2.0.0 [INFO] [stderr] Downloaded asn1 v0.15.5 [INFO] [stderr] Downloaded ring-compat v0.8.0 [INFO] [stderr] Downloaded rust-embed v8.1.0 [INFO] [stderr] Downloaded utoipa-swagger-ui v5.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+b03b3a7ec92682be2917540b679478d41c95a30c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 35db4d2e133730cff09620485ccf4031065d8339c429babcd7fb34df7a9cace9 [INFO] running `Command { std: "docker" "start" "-a" "35db4d2e133730cff09620485ccf4031065d8339c429babcd7fb34df7a9cace9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "35db4d2e133730cff09620485ccf4031065d8339c429babcd7fb34df7a9cace9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35db4d2e133730cff09620485ccf4031065d8339c429babcd7fb34df7a9cace9", kill_on_drop: false }` [INFO] [stdout] 35db4d2e133730cff09620485ccf4031065d8339c429babcd7fb34df7a9cace9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+b03b3a7ec92682be2917540b679478d41c95a30c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a8290a599ae9851d8437bb586d1e18946bebd8aaafb3d9526d836825bae1dc5f [INFO] running `Command { std: "docker" "start" "-a" "a8290a599ae9851d8437bb586d1e18946bebd8aaafb3d9526d836825bae1dc5f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.75 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling serde v1.0.194 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling syn v2.0.47 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling cpufeatures v0.2.11 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling der v0.7.8 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling http v1.0.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling pkg-config v0.3.28 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling async-trait v0.1.75 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling unicode-bidi v0.3.14 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling openssl-sys v0.9.98 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling ff v0.13.0 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling serde_json v1.0.111 [INFO] [stderr] Compiling base16ct v0.2.0 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling base64 v0.21.5 [INFO] [stderr] Compiling winnow v0.5.30 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.62 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling axum-core v0.4.1 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling http v0.2.11 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling serde_derive v1.0.194 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio v1.35.0 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling walkdir v2.4.0 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling pin-project v1.1.3 [INFO] [stderr] Compiling axum v0.7.2 [INFO] [stderr] Compiling ring v0.17.7 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling http-body-util v0.1.0 [INFO] [stderr] Compiling finl_unicode v1.2.0 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling pq-sys v0.4.8 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling stringprep v0.1.4 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling utoipa-gen v4.1.0 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling primeorder v0.13.6 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.1.0 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling tweetnacl-sys v0.1.5 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling serde_spanned v0.6.5 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling serde_path_to_error v0.1.14 [INFO] [stderr] Compiling h2 v0.4.0 [INFO] [stderr] Compiling h2 v0.3.22 [INFO] [stderr] Compiling postgres-protocol v0.6.6 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling diesel_derives v2.1.2 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling toml v0.7.8 [INFO] [stderr] Compiling p384 v0.13.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling shellexpand v3.1.0 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling rust-embed-utils v8.1.0 [INFO] [stderr] Compiling utoipa v4.1.0 [INFO] [stderr] Compiling zip v0.6.6 [INFO] [stderr] Compiling p256 v0.13.2 [INFO] [stderr] Compiling asn1_derive v0.15.5 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling anstyle v1.0.6 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling hyper v1.1.0 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling thiserror v1.0.51 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling hyper-util v0.1.1 [INFO] [stderr] Compiling anstream v0.6.12 [INFO] [stderr] Compiling asn1 v0.15.5 [INFO] [stderr] Compiling ring-compat v0.8.0 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling utoipa-swagger-ui v5.0.0 [INFO] [stderr] Compiling rust-embed-impl v8.1.0 [INFO] [stderr] Compiling migrations_internals v2.1.0 [INFO] [stderr] Compiling diesel v2.1.4 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling postgres-types v0.2.6 [INFO] [stderr] Compiling thiserror-impl v1.0.51 [INFO] [stderr] Compiling base64-url v2.0.2 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling strsim v0.11.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling iana-time-zone v0.1.59 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bs58 v0.5.0 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling whoami v1.4.1 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling reqwest v0.11.23 [INFO] [stderr] Compiling tokio-postgres v0.7.10 [INFO] [stderr] Compiling clap_builder v4.5.1 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling crypto-conditions v0.1.0 (https://github.com/macroexpansion/bigchaindb-rs?branch=main#aac06509) [INFO] [stderr] Compiling chrono v0.4.32 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling clap_derive v4.5.0 [INFO] [stderr] Compiling rust-embed v8.1.0 [INFO] [stderr] Compiling migrations_macros v2.1.0 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling tweetnacl v0.4.0 [INFO] [stderr] Compiling combine v4.6.6 [INFO] [stderr] Compiling bb8 v0.8.1 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling scoped-futures v0.1.3 [INFO] [stderr] Compiling thread_local v1.1.7 [INFO] [stderr] Compiling sha1_smol v1.0.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling bigchaindb-token v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling clap v4.5.1 [INFO] [stderr] Compiling bigchaindb v0.1.0 (https://github.com/macroexpansion/bigchaindb-rs?branch=main#aac06509) [INFO] [stderr] Compiling utoipa-rapidoc v2.0.0 [INFO] [stderr] Compiling utoipa-redoc v2.0.0 [INFO] [stderr] Compiling tower-http v0.5.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling redis v0.24.0 [INFO] [stderr] Compiling diesel-async v0.4.1 [INFO] [stderr] Compiling diesel_migrations v2.1.0 [INFO] [stdout] warning: unused import: `Repo` [INFO] [stdout] --> src/state.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | modules::{Repo, Service}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_pool` [INFO] [stdout] --> src/modules/mod.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(db_pool: DbPool) -> Self { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_pool` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/modules/edge/service.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct EdgeService { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 14 | config: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/modules/wallet/service.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct WalletService { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 32 | config: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/modules/wallet_to_token/service.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct WalletTokenService { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 14 | config: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/modules/token/model.rs:19:30 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn with_token(token: &str) -> WithToken { [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] 19 | pub fn with_token(token: &str) -> WithToken<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/modules/wallet/model.rs:25:32 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn with_pubkey(pubkey: &str) -> WithPubkey { [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] 25 | pub fn with_pubkey(pubkey: &str) -> WithPubkey<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 40s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.24.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "a8290a599ae9851d8437bb586d1e18946bebd8aaafb3d9526d836825bae1dc5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8290a599ae9851d8437bb586d1e18946bebd8aaafb3d9526d836825bae1dc5f", kill_on_drop: false }` [INFO] [stdout] a8290a599ae9851d8437bb586d1e18946bebd8aaafb3d9526d836825bae1dc5f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+b03b3a7ec92682be2917540b679478d41c95a30c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4ee222b21e6ebeed3d44019164c469b9563eacab3721a24297f864dfaed75b3a [INFO] running `Command { std: "docker" "start" "-a" "4ee222b21e6ebeed3d44019164c469b9563eacab3721a24297f864dfaed75b3a", kill_on_drop: false }` [INFO] [stderr] Compiling bigchaindb-token v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Repo` [INFO] [stdout] --> src/state.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | modules::{Repo, Service}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_pool` [INFO] [stdout] --> src/modules/mod.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(db_pool: DbPool) -> Self { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_pool` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/modules/edge/service.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct EdgeService { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 14 | config: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/modules/wallet/service.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct WalletService { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 32 | config: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/modules/wallet_to_token/service.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct WalletTokenService { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 14 | config: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/modules/token/model.rs:19:30 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn with_token(token: &str) -> WithToken { [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] 19 | pub fn with_token(token: &str) -> WithToken<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/modules/wallet/model.rs:25:32 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn with_pubkey(pubkey: &str) -> WithPubkey { [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] 25 | pub fn with_pubkey(pubkey: &str) -> WithPubkey<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Repo` [INFO] [stdout] --> src/state.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | modules::{Repo, Service}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db_pool` [INFO] [stdout] --> src/modules/mod.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(db_pool: DbPool) -> Self { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_pool` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/modules/edge/service.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct EdgeService { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 14 | config: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/modules/wallet/service.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct WalletService { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 32 | config: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/modules/wallet_to_token/service.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct WalletTokenService { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 14 | config: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/modules/token/model.rs:19:30 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn with_token(token: &str) -> WithToken { [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] 19 | pub fn with_token(token: &str) -> WithToken<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/modules/wallet/model.rs:25:32 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn with_pubkey(pubkey: &str) -> WithPubkey { [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] 25 | pub fn with_pubkey(pubkey: &str) -> WithPubkey<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.70s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.24.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "4ee222b21e6ebeed3d44019164c469b9563eacab3721a24297f864dfaed75b3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ee222b21e6ebeed3d44019164c469b9563eacab3721a24297f864dfaed75b3a", kill_on_drop: false }` [INFO] [stdout] 4ee222b21e6ebeed3d44019164c469b9563eacab3721a24297f864dfaed75b3a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+b03b3a7ec92682be2917540b679478d41c95a30c" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 114af3ca51fd080e1f7be7e8f72d2105d010d375474e739ca58fff0e5a75f746 [INFO] running `Command { std: "docker" "start" "-a" "114af3ca51fd080e1f7be7e8f72d2105d010d375474e739ca58fff0e5a75f746", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Repo` [INFO] [stderr] --> src/state.rs:6:15 [INFO] [stderr] | [INFO] [stderr] 6 | modules::{Repo, Service}, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `db_pool` [INFO] [stderr] --> src/modules/mod.rs:20:16 [INFO] [stderr] | [INFO] [stderr] 20 | pub fn new(db_pool: DbPool) -> Self { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_db_pool` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `config` is never read [INFO] [stderr] --> src/modules/edge/service.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 13 | pub struct EdgeService { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] 14 | config: Arc, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `config` is never read [INFO] [stderr] --> src/modules/wallet/service.rs:32:5 [INFO] [stderr] | [INFO] [stderr] 31 | pub struct WalletService { [INFO] [stderr] | ------------- field in this struct [INFO] [stderr] 32 | config: Arc, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `config` is never read [INFO] [stderr] --> src/modules/wallet_to_token/service.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 13 | pub struct WalletTokenService { [INFO] [stderr] | ------------------ field in this struct [INFO] [stderr] 14 | config: Arc, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/modules/token/model.rs:19:30 [INFO] [stderr] | [INFO] [stderr] 19 | pub fn with_token(token: &str) -> WithToken { [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] 19 | pub fn with_token(token: &str) -> WithToken<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/modules/wallet/model.rs:25:32 [INFO] [stderr] | [INFO] [stderr] 25 | pub fn with_pubkey(pubkey: &str) -> WithPubkey { [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] 25 | pub fn with_pubkey(pubkey: &str) -> WithPubkey<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `bigchaindb-token` (lib) generated 7 warnings (run `cargo fix --lib -p bigchaindb-token` to apply 1 suggestion) [INFO] [stderr] warning: `bigchaindb-token` (lib test) generated 7 warnings (7 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.36s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.24.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/bigchaindb_token-77ec7d87eb109b82) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/bigchaindb_token-53df1ae333e6a111) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests bigchaindb_token [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "114af3ca51fd080e1f7be7e8f72d2105d010d375474e739ca58fff0e5a75f746", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "114af3ca51fd080e1f7be7e8f72d2105d010d375474e739ca58fff0e5a75f746", kill_on_drop: false }` [INFO] [stdout] 114af3ca51fd080e1f7be7e8f72d2105d010d375474e739ca58fff0e5a75f746