[INFO] cloning repository https://github.com/mvonbodun/orders [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mvonbodun/orders" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmvonbodun%2Forders", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmvonbodun%2Forders'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] eea4568b8ba79ff12d07dc9ee875fb432686f405 [INFO] testing mvonbodun/orders against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmvonbodun%2Forders" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mvonbodun/orders [INFO] finished tweaking git repo https://github.com/mvonbodun/orders [INFO] tweaked toml for git repo https://github.com/mvonbodun/orders written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mvonbodun/orders on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mvonbodun/orders 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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 09fbe213114e5a22a08d3012495927eac8ed113e940218078668eaca29fbce1a [INFO] running `Command { std: "docker" "start" "-a" "09fbe213114e5a22a08d3012495927eac8ed113e940218078668eaca29fbce1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "09fbe213114e5a22a08d3012495927eac8ed113e940218078668eaca29fbce1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09fbe213114e5a22a08d3012495927eac8ed113e940218078668eaca29fbce1a", kill_on_drop: false }` [INFO] [stdout] 09fbe213114e5a22a08d3012495927eac8ed113e940218078668eaca29fbce1a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 605bcdefd518d32011485f49671121325571a914ba19d6e9252e87ab75470c39 [INFO] running `Command { std: "docker" "start" "-a" "605bcdefd518d32011485f49671121325571a914ba19d6e9252e87ab75470c39", kill_on_drop: false }` [INFO] [stderr] warning: rust-orders v0.1.0 (/opt/rustwide/workdir) ignoring invalid dependency `cargo-watch` which is missing a lib target [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling cc v1.1.14 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling cpufeatures v0.2.13 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling rustls-pki-types v1.8.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling indexmap v2.4.0 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling der v0.7.9 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling prettyplease v0.2.20 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling bytes v1.7.1 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling syn v2.0.76 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling rustls v0.23.12 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling anstyle-parse v0.2.5 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling tempfile v3.12.0 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling rustc_version_runtime v0.2.1 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling portable-atomic v1.7.0 [INFO] [stderr] Compiling rust_decimal v1.36.0 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling colorchoice v1.0.2 [INFO] [stderr] Compiling anstyle v1.0.8 [INFO] [stderr] Compiling anstyle-query v1.1.1 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling multimap v0.10.0 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling anstream v0.6.15 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling rustls-pemfile v2.1.3 [INFO] [stderr] Compiling signatory v0.27.1 [INFO] [stderr] Compiling is-terminal v0.4.13 [INFO] [stderr] Compiling iso_currency v0.5.0 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling clap_lex v0.7.2 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling unicode-properties v0.1.2 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling clap_builder v4.5.15 [INFO] [stderr] Compiling rustls-native-certs v0.7.2 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling iso_country v0.1.4 [INFO] [stderr] Compiling sha-1 v0.10.1 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling rust_decimal_macros v1.36.0 [INFO] [stderr] Compiling pretty_env_logger v0.5.0 [INFO] [stderr] Compiling enum-as-inner v0.4.0 [INFO] [stderr] Compiling typed-builder v0.10.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling rustls-webpki v0.102.6 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling prost-derive v0.13.1 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling mongodb-internal-macros v3.0.1 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling prost v0.13.1 [INFO] [stderr] Compiling ed25519-dalek v2.1.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling prost-types v0.13.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling prost-build v0.13.1 [INFO] [stderr] Compiling clap v4.5.16 [INFO] [stderr] Compiling nuid v0.5.0 [INFO] [stderr] Compiling nkeys v0.4.3 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling rust-orders v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling uuid v1.10.0 [INFO] [stderr] Compiling serde_bytes v0.11.15 [INFO] [stderr] Compiling serde_nanos v0.1.4 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_with v1.14.0 [INFO] [stderr] Compiling tokio v1.39.3 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling bson v2.11.0 [INFO] [stderr] Compiling trust-dns-proto v0.21.2 [INFO] [stderr] Compiling hyper v1.4.1 [INFO] [stderr] Compiling tokio-rustls v0.26.0 [INFO] [stderr] Compiling tryhard v0.5.1 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling async-nats v0.35.1 [INFO] [stderr] Compiling hyper-util v0.1.7 [INFO] [stderr] Compiling trust-dns-resolver v0.21.2 [INFO] [stderr] Compiling mongodb v3.0.1 [INFO] [stdout] warning: unused imports: `Address` and `OrderCreateRequest` [INFO] [stdout] --> src/order-client/main.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use order_messages::{Address, OrderCreateRequest, OrderCreateResponse}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::Error` [INFO] [stdout] --> src/order-service/handlers/mod.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{error::Error, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/order-service/persistence/orders_dao.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `oid::ObjectId` [INFO] [stdout] --> src/order-service/persistence/orders_dao.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use bson::{doc, oid::ObjectId}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_order` is never used [INFO] [stdout] --> src/order-service/handlers/mod.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | pub async fn get_order( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_order` is never used [INFO] [stdout] --> src/order-service/handlers/mod.rs:54:14 [INFO] [stdout] | [INFO] [stdout] 54 | pub async fn delete_order( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `BadRequest` is never constructed [INFO] [stdout] --> src/order-service/handlers/handlers_inner.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum HandlerError { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 7 | BadRequest(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `default_internal_error` is never used [INFO] [stdout] --> src/order-service/handlers/handlers_inner.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl HandlerError { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 12 | pub fn default_internal_error() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_order` is never used [INFO] [stdout] --> src/order-service/handlers/handlers_inner.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | pub async fn get_order( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_order` is never used [INFO] [stdout] --> src/order-service/handlers/handlers_inner.rs:68:14 [INFO] [stdout] | [INFO] [stdout] 68 | pub async fn delete_order( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 53s [INFO] running `Command { std: "docker" "inspect" "605bcdefd518d32011485f49671121325571a914ba19d6e9252e87ab75470c39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "605bcdefd518d32011485f49671121325571a914ba19d6e9252e87ab75470c39", kill_on_drop: false }` [INFO] [stdout] 605bcdefd518d32011485f49671121325571a914ba19d6e9252e87ab75470c39 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f409138fb7b73621dd002838d70044d19a2e100d2cdfa8065d2a4d77305382a9 [INFO] running `Command { std: "docker" "start" "-a" "f409138fb7b73621dd002838d70044d19a2e100d2cdfa8065d2a4d77305382a9", kill_on_drop: false }` [INFO] [stderr] warning: rust-orders v0.1.0 (/opt/rustwide/workdir) ignoring invalid dependency `cargo-watch` which is missing a lib target [INFO] [stderr] Compiling rust-orders v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Address` and `OrderCreateRequest` [INFO] [stdout] --> src/order-client/main.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use order_messages::{Address, OrderCreateRequest, OrderCreateResponse}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::Error` [INFO] [stdout] --> src/order-service/handlers/mod.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{error::Error, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/order-service/persistence/orders_dao.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `oid::ObjectId` [INFO] [stdout] --> src/order-service/persistence/orders_dao.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use bson::{doc, oid::ObjectId}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_order` is never used [INFO] [stdout] --> src/order-service/handlers/mod.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | pub async fn get_order( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_order` is never used [INFO] [stdout] --> src/order-service/handlers/mod.rs:54:14 [INFO] [stdout] | [INFO] [stdout] 54 | pub async fn delete_order( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `BadRequest` is never constructed [INFO] [stdout] --> src/order-service/handlers/handlers_inner.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum HandlerError { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 7 | BadRequest(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `default_internal_error` is never used [INFO] [stdout] --> src/order-service/handlers/handlers_inner.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl HandlerError { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 12 | pub fn default_internal_error() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_order` is never used [INFO] [stdout] --> src/order-service/handlers/handlers_inner.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | pub async fn get_order( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_order` is never used [INFO] [stdout] --> src/order-service/handlers/handlers_inner.rs:68:14 [INFO] [stdout] | [INFO] [stdout] 68 | pub async fn delete_order( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.00s [INFO] running `Command { std: "docker" "inspect" "f409138fb7b73621dd002838d70044d19a2e100d2cdfa8065d2a4d77305382a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f409138fb7b73621dd002838d70044d19a2e100d2cdfa8065d2a4d77305382a9", kill_on_drop: false }` [INFO] [stdout] f409138fb7b73621dd002838d70044d19a2e100d2cdfa8065d2a4d77305382a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7b98c26d6715ce1a39e3b3323173bc1f78363b94adb94d005c1a51dc7ae7bdc9 [INFO] running `Command { std: "docker" "start" "-a" "7b98c26d6715ce1a39e3b3323173bc1f78363b94adb94d005c1a51dc7ae7bdc9", kill_on_drop: false }` [INFO] [stderr] warning: rust-orders v0.1.0 (/opt/rustwide/workdir) ignoring invalid dependency `cargo-watch` which is missing a lib target [INFO] [stderr] warning: unused imports: `Address` and `OrderCreateRequest` [INFO] [stderr] --> src/order-client/main.rs:2:22 [INFO] [stderr] | [INFO] [stderr] 2 | use order_messages::{Address, OrderCreateRequest, OrderCreateResponse}; [INFO] [stderr] | ^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `error::Error` [INFO] [stderr] --> src/order-service/handlers/mod.rs:1:11 [INFO] [stderr] | [INFO] [stderr] 1 | use std::{error::Error, sync::Arc}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::str::FromStr` [INFO] [stderr] --> src/order-service/persistence/orders_dao.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::str::FromStr; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `oid::ObjectId` [INFO] [stderr] --> src/order-service/persistence/orders_dao.rs:6:17 [INFO] [stderr] | [INFO] [stderr] 6 | use bson::{doc, oid::ObjectId}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_order` is never used [INFO] [stderr] --> src/order-service/handlers/mod.rs:41:14 [INFO] [stderr] | [INFO] [stderr] 41 | pub async fn get_order( [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `delete_order` is never used [INFO] [stderr] --> src/order-service/handlers/mod.rs:54:14 [INFO] [stderr] | [INFO] [stderr] 54 | pub async fn delete_order( [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant `BadRequest` is never constructed [INFO] [stderr] --> src/order-service/handlers/handlers_inner.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 6 | pub enum HandlerError { [INFO] [stderr] | ------------ variant in this enum [INFO] [stderr] 7 | BadRequest(String), [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `default_internal_error` is never used [INFO] [stderr] --> src/order-service/handlers/handlers_inner.rs:12:12 [INFO] [stderr] | [INFO] [stderr] 11 | impl HandlerError { [INFO] [stderr] | ----------------- associated function in this implementation [INFO] [stderr] 12 | pub fn default_internal_error() -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_order` is never used [INFO] [stderr] --> src/order-service/handlers/handlers_inner.rs:47:14 [INFO] [stderr] | [INFO] [stderr] 47 | pub async fn get_order( [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `delete_order` is never used [INFO] [stderr] --> src/order-service/handlers/handlers_inner.rs:68:14 [INFO] [stderr] | [INFO] [stderr] 68 | pub async fn delete_order( [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `rust-orders` (bin "order-client" test) generated 1 warning (run `cargo fix --bin "order-client" --tests` to apply 1 suggestion) [INFO] [stderr] warning: `rust-orders` (bin "order-service" test) generated 9 warnings (run `cargo fix --bin "order-service" --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.41s [INFO] [stderr] Running unittests src/order-client/main.rs (/opt/rustwide/target/debug/deps/order_client-15e80ef7bec3ca23) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stderr] Running unittests src/order-service/main.rs (/opt/rustwide/target/debug/deps/order_service-ced68c890b7e6a14) [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test model::tests::build_order ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7b98c26d6715ce1a39e3b3323173bc1f78363b94adb94d005c1a51dc7ae7bdc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b98c26d6715ce1a39e3b3323173bc1f78363b94adb94d005c1a51dc7ae7bdc9", kill_on_drop: false }` [INFO] [stdout] 7b98c26d6715ce1a39e3b3323173bc1f78363b94adb94d005c1a51dc7ae7bdc9