[INFO] fetching crate daml-json 0.2.2... [INFO] testing daml-json-0.2.2 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate daml-json 0.2.2 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate daml-json 0.2.2 [INFO] finished tweaking crates.io crate daml-json 0.2.2 [INFO] tweaked toml for crates.io crate daml-json 0.2.2 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate daml-json 0.2.2 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 261 packages to latest compatible versions [INFO] [stderr] Adding bigdecimal v0.3.1 (available: v0.4.8) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.14.0) [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.20) [INFO] [stderr] Adding serde_yaml v0.8.26 (available: v0.9.34+deprecated) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.12) [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] Downloading crates ... [INFO] [stderr] Downloaded prost-types v0.9.0 [INFO] [stderr] Downloaded tonic-build v0.6.2 [INFO] [stderr] Downloaded bounded-static-derive v0.2.1 [INFO] [stderr] Downloaded bounded-static v0.2.1 [INFO] [stderr] Downloaded tonic v0.6.2 [INFO] [stderr] Downloaded daml-grpc v0.2.2 [INFO] [stderr] Downloaded daml-lf v0.2.2 [INFO] [stderr] Downloaded prost-build v0.9.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 0af2ef8cdc8699561fa92a3c06a5b64f20fdaf7c38d3fce0cbf2a9aecad39644 [INFO] running `Command { std: "docker" "start" "-a" "0af2ef8cdc8699561fa92a3c06a5b64f20fdaf7c38d3fce0cbf2a9aecad39644", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0af2ef8cdc8699561fa92a3c06a5b64f20fdaf7c38d3fce0cbf2a9aecad39644", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0af2ef8cdc8699561fa92a3c06a5b64f20fdaf7c38d3fce0cbf2a9aecad39644", kill_on_drop: false }` [INFO] [stdout] 0af2ef8cdc8699561fa92a3c06a5b64f20fdaf7c38d3fce0cbf2a9aecad39644 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] e4400dd00a874a7017f47f7fd8da9e07abd619759f15d51e379bb32fc18e41d9 [INFO] running `Command { std: "docker" "start" "-a" "e4400dd00a874a7017f47f7fd8da9e07abd619759f15d51e379bb32fc18e41d9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling prost-build v0.9.0 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling prost-derive v0.9.0 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling prost v0.9.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling prost-types v0.9.0 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling tokio-io-timeout v1.2.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling tonic-build v0.6.2 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling daml-grpc v0.2.2 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling rustls-native-certs v0.5.0 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling tokio-util v0.6.10 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling daml-lf v0.2.2 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling bounded-static-derive v0.2.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling bounded-static v0.2.1 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling bigdecimal v0.3.1 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling zip v0.5.13 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper-timeout v0.4.1 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling tonic v0.6.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling daml-json v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/value_decode.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::{offset, Date, DateTime, NaiveDate}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/value_decode.rs:155:32 [INFO] [stdout] | [INFO] [stdout] 155 | Ok(DamlValue::new_date(Date::from_utc(NaiveDate::parse_from_str(json.try_string()?, "%Y-%m-%d")?, offset::Utc))) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/request_converter.rs:104:10 [INFO] [stdout] | [INFO] [stdout] 104 | &'a self, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 105 | template_id: &'a DamlJsonTemplateId, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 106 | ) -> DamlJsonReqConResult<(&'a str, &'a DamlTemplate<'_>)> { [INFO] [stdout] | -- -- -- the lifetimes get resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'a` [INFO] [stdout] | the lifetimes get resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 106 - ) -> DamlJsonReqConResult<(&'a str, &'a DamlTemplate<'_>)> { [INFO] [stdout] 106 + ) -> DamlJsonReqConResult<(&'a str, &'a DamlTemplate<'a>)> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 57s [INFO] running `Command { std: "docker" "inspect" "e4400dd00a874a7017f47f7fd8da9e07abd619759f15d51e379bb32fc18e41d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4400dd00a874a7017f47f7fd8da9e07abd619759f15d51e379bb32fc18e41d9", kill_on_drop: false }` [INFO] [stdout] e4400dd00a874a7017f47f7fd8da9e07abd619759f15d51e379bb32fc18e41d9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] e462e8f660fb2dbc3ad3b5645365460a92e1ce6ad8a8f9aac44333199eaa5760 [INFO] running `Command { std: "docker" "start" "-a" "e462e8f660fb2dbc3ad3b5645365460a92e1ce6ad8a8f9aac44333199eaa5760", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling serde_yaml v0.8.26 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling rustls-native-certs v0.5.0 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-io-timeout v1.2.0 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tokio-util v0.6.10 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-timeout v0.4.1 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling tonic v0.6.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling daml-grpc v0.2.2 [INFO] [stderr] Compiling daml-json v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/value_decode.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::{offset, Date, DateTime, NaiveDate}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/value_decode.rs:155:32 [INFO] [stdout] | [INFO] [stdout] 155 | Ok(DamlValue::new_date(Date::from_utc(NaiveDate::parse_from_str(json.try_string()?, "%Y-%m-%d")?, offset::Utc))) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `daml` [INFO] [stdout] --> src/value_decode.rs:317:9 [INFO] [stdout] | [INFO] [stdout] 317 | use daml::macros::daml_value; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `daml` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `daml`, use `cargo add daml` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `daml` [INFO] [stdout] --> src/value_encode.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | use daml::macros::daml_value; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `daml` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `daml`, use `cargo add daml` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `daml` [INFO] [stdout] --> src/request_converter.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 233 | use daml::macros::daml_path; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `daml` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `daml`, use `cargo add daml` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `jsonschema` [INFO] [stdout] --> src/schema_encoder.rs:1201:9 [INFO] [stdout] | [INFO] [stdout] 1201 | use jsonschema::JSONSchema; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `jsonschema` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `jsonschema`, use `cargo add jsonschema` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/value_decode.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::{offset, Date, DateTime, NaiveDate}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/value_decode.rs:155:32 [INFO] [stdout] | [INFO] [stdout] 155 | Ok(DamlValue::new_date(Date::from_utc(NaiveDate::parse_from_str(json.try_string()?, "%Y-%m-%d")?, offset::Utc))) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/request_converter.rs:104:10 [INFO] [stdout] | [INFO] [stdout] 104 | &'a self, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 105 | template_id: &'a DamlJsonTemplateId, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 106 | ) -> DamlJsonReqConResult<(&'a str, &'a DamlTemplate<'_>)> { [INFO] [stdout] | -- -- -- the lifetimes get resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'a` [INFO] [stdout] | the lifetimes get resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 106 - ) -> DamlJsonReqConResult<(&'a str, &'a DamlTemplate<'_>)> { [INFO] [stdout] 106 + ) -> DamlJsonReqConResult<(&'a str, &'a DamlTemplate<'a>)> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `daml` [INFO] [stdout] --> tests/json/all_json_api_tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use daml::util::DamlSandboxTokenBuilder; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `daml` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `daml`, use `cargo add daml` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `reset_timeout` found for struct `DamlGrpcClientBuilder` in the current scope [INFO] [stdout] --> tests/json/all_json_api_tests.rs:326:10 [INFO] [stdout] | [INFO] [stdout] 325 | let client = DamlGrpcClientBuilder::uri(uri) [INFO] [stdout] | __________________- [INFO] [stdout] 326 | | .reset_timeout(Duration::from_millis(RESET_TIMEOUT_MS)) [INFO] [stdout] | |_________-^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `timeout` with a similar name [INFO] [stdout] | [INFO] [stdout] 326 - .reset_timeout(Duration::from_millis(RESET_TIMEOUT_MS)) [INFO] [stdout] 326 + .timeout(Duration::from_millis(RESET_TIMEOUT_MS)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `daml-json` (test "integration_tests") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `daml-json` (lib test) due to 4 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e462e8f660fb2dbc3ad3b5645365460a92e1ce6ad8a8f9aac44333199eaa5760", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e462e8f660fb2dbc3ad3b5645365460a92e1ce6ad8a8f9aac44333199eaa5760", kill_on_drop: false }` [INFO] [stdout] e462e8f660fb2dbc3ad3b5645365460a92e1ce6ad8a8f9aac44333199eaa5760