[INFO] fetching crate daml-json 0.2.2... [INFO] testing daml-json-0.2.2 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate daml-json 0.2.2 into /workspace/builds/worker-4-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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate daml-json 0.2.2 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 256 packages to latest compatible versions [INFO] [stderr] Adding bigdecimal v0.3.1 (available: v0.4.9) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.14.0) [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.24) [INFO] [stderr] Adding serde_yaml v0.8.26 (available: v0.9.34+deprecated) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded yoke-derive v0.8.1 [INFO] [stderr] Downloaded zerovec-derive v0.11.2 [INFO] [stderr] Downloaded writeable v0.6.2 [INFO] [stderr] Downloaded maplit v1.0.2 [INFO] [stderr] Downloaded try-lock v0.2.5 [INFO] [stderr] Downloaded tracing-futures v0.2.5 [INFO] [stderr] Downloaded tokio-stream v0.1.17 [INFO] [stderr] Downloaded tower v0.4.13 [INFO] [stderr] Downloaded async-stream v0.3.6 [INFO] [stderr] Downloaded async-stream-impl v0.3.6 [INFO] [stderr] Downloaded bigdecimal v0.3.1 [INFO] [stderr] Downloaded flate2 v1.1.5 [INFO] [stderr] Downloaded tokio-util v0.7.17 [INFO] [stderr] Downloaded h2 v0.3.27 [INFO] [stderr] Downloaded http v0.2.12 [INFO] [stderr] Downloaded tokio-rustls v0.24.1 [INFO] [stderr] Downloaded assert-json-diff v2.0.2 [INFO] [stderr] Downloaded serde_yaml v0.8.26 [INFO] [stderr] Downloaded petgraph v0.6.5 [INFO] [stderr] Downloaded hyper v0.14.32 [INFO] [stderr] Downloaded daml-grpc v0.2.2 [INFO] [stderr] Downloaded icu_normalizer_data v2.1.1 [INFO] [stderr] Downloaded security-framework v2.11.1 [INFO] [stderr] Downloaded rustls-webpki v0.101.7 [INFO] [stderr] Downloaded tokio-util v0.6.10 [INFO] [stderr] Downloaded icu_collections v2.1.1 [INFO] [stderr] Downloaded rustls v0.21.12 [INFO] [stderr] Downloaded icu_properties_data v2.1.1 [INFO] [stderr] Downloaded hyper-timeout v0.4.1 [INFO] [stderr] Downloaded rustls-native-certs v0.5.0 [INFO] [stderr] Downloaded untrusted v0.7.1 [INFO] [stderr] Downloaded encoding_rs v0.8.35 [INFO] [stderr] Downloaded potential_utf v0.1.4 [INFO] [stderr] Downloaded litemap v0.8.1 [INFO] [stderr] Downloaded schannel v0.1.28 [INFO] [stderr] Downloaded security-framework-sys v2.15.0 [INFO] [stderr] Downloaded sct v0.6.1 [INFO] [stderr] Downloaded spin v0.5.2 [INFO] [stderr] Downloaded tokio-rustls v0.22.0 [INFO] [stderr] Downloaded tonic-build v0.6.2 [INFO] [stderr] Downloaded bounded-static-derive v0.2.1 [INFO] [stderr] Downloaded tonic v0.6.2 [INFO] [stderr] Downloaded icu_normalizer v2.1.1 [INFO] [stderr] Downloaded prost-types v0.9.0 [INFO] [stderr] Downloaded socket2 v0.5.10 [INFO] [stderr] Downloaded reqwest v0.11.27 [INFO] [stderr] Downloaded rustls v0.19.1 [INFO] [stderr] Downloaded sct v0.7.1 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.55 [INFO] [stderr] Downloaded tokio-io-timeout v1.2.1 [INFO] [stderr] Downloaded webpki-roots v0.25.4 [INFO] [stderr] Downloaded webpki v0.21.4 [INFO] [stderr] Downloaded uuid v0.8.2 [INFO] [stderr] Downloaded multimap v0.8.3 [INFO] [stderr] Downloaded zip v0.5.13 [INFO] [stderr] Downloaded http-body v0.4.6 [INFO] [stderr] Downloaded mio v1.1.0 [INFO] [stderr] Downloaded tinystr v0.8.2 [INFO] [stderr] Downloaded zerotrie v0.2.3 [INFO] [stderr] Downloaded bounded-static v0.2.1 [INFO] [stderr] Downloaded fixedbitset v0.4.2 [INFO] [stderr] Downloaded home v0.5.12 [INFO] [stderr] Downloaded which v4.4.2 [INFO] [stderr] Downloaded want v0.3.1 [INFO] [stderr] Downloaded rustls-pemfile v1.0.4 [INFO] [stderr] Downloaded sync_wrapper v0.1.2 [INFO] [stderr] Downloaded system-configuration v0.5.1 [INFO] [stderr] Downloaded icu_locale_core v2.1.1 [INFO] [stderr] Downloaded zerovec v0.11.5 [INFO] [stderr] Downloaded hyper-rustls v0.24.2 [INFO] [stderr] Downloaded system-configuration-sys v0.5.0 [INFO] [stderr] Downloaded icu_properties v2.1.1 [INFO] [stderr] Downloaded icu_provider v2.1.1 [INFO] [stderr] Downloaded yoke v0.8.1 [INFO] [stderr] Downloaded daml-lf v0.2.2 [INFO] [stderr] Downloaded ring v0.16.20 [INFO] [stderr] Downloaded prost-build v0.9.0 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7a1d1754b1643c51aa8f531b740f82db0abe6cd81dee33025699390386d500cd [INFO] running `Command { std: "docker" "start" "-a" "7a1d1754b1643c51aa8f531b740f82db0abe6cd81dee33025699390386d500cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7a1d1754b1643c51aa8f531b740f82db0abe6cd81dee33025699390386d500cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a1d1754b1643c51aa8f531b740f82db0abe6cd81dee33025699390386d500cd", kill_on_drop: false }` [INFO] [stdout] 7a1d1754b1643c51aa8f531b740f82db0abe6cd81dee33025699390386d500cd [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 83b3f5927df42e0a28783e38c9b96302d88772e4a24a35b7c75729bcdf849d6c [INFO] running `Command { std: "docker" "start" "-a" "83b3f5927df42e0a28783e38c9b96302d88772e4a24a35b7c75729bcdf849d6c", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling mio v1.1.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling home v0.5.12 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling indexmap v2.12.0 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling icu_properties_data v2.1.1 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling prost-build v0.9.0 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling flate2 v1.1.5 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling prost-derive v0.9.0 [INFO] [stderr] Compiling bounded-static-derive v0.2.1 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling bounded-static v0.2.1 [INFO] [stderr] Compiling bigdecimal v0.3.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling prost v0.9.0 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling prost-types v0.9.0 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling zip v0.5.13 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.1 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling rustls-native-certs v0.5.0 [INFO] [stderr] Compiling tonic-build v0.6.2 [INFO] [stderr] Compiling daml-lf v0.2.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling daml-grpc v0.2.2 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling tokio-io-timeout v1.2.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 tokio-rustls v0.24.1 [INFO] [stderr] Compiling h2 v0.3.27 [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-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: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/request_converter.rs:106:58 [INFO] [stdout] | [INFO] [stdout] 104 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 105 | template_id: &'a DamlJsonTemplateId, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 106 | ) -> DamlJsonReqConResult<(&'a str, &'a DamlTemplate<'_>)> { [INFO] [stdout] | -- -- ^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is named here [INFO] [stdout] | the same lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: 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 1m 19s [INFO] running `Command { std: "docker" "inspect" "83b3f5927df42e0a28783e38c9b96302d88772e4a24a35b7c75729bcdf849d6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83b3f5927df42e0a28783e38c9b96302d88772e4a24a35b7c75729bcdf849d6c", kill_on_drop: false }` [INFO] [stdout] 83b3f5927df42e0a28783e38c9b96302d88772e4a24a35b7c75729bcdf849d6c [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d704fbe0b8ac2b1dec45e1cdd0a40c3b50c166a14320eadc13ba610d07bca7c1 [INFO] running `Command { std: "docker" "start" "-a" "d704fbe0b8ac2b1dec45e1cdd0a40c3b50c166a14320eadc13ba610d07bca7c1", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling prost-derive v0.9.0 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling nu-ansi-term v0.50.3 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling serde_yaml v0.8.26 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling prost v0.9.0 [INFO] [stderr] Compiling prost-types v0.9.0 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling prost-build v0.9.0 [INFO] [stderr] Compiling rustls-native-certs v0.5.0 [INFO] [stderr] Compiling tonic-build v0.6.2 [INFO] [stderr] Compiling daml-lf v0.2.2 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling daml-grpc v0.2.2 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling tokio-io-timeout v1.2.1 [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.27 [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 reqwest v0.11.27 [INFO] [stderr] Compiling tonic v0.6.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: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/request_converter.rs:106:58 [INFO] [stdout] | [INFO] [stdout] 104 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 105 | template_id: &'a DamlJsonTemplateId, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 106 | ) -> DamlJsonReqConResult<(&'a str, &'a DamlTemplate<'_>)> { [INFO] [stdout] | -- -- ^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is named here [INFO] [stdout] | the same lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: 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] error[E0282]: type annotations needed [INFO] [stdout] --> tests/json/all_json_api_tests.rs:325:9 [INFO] [stdout] | [INFO] [stdout] 325 | let client = DamlGrpcClientBuilder::uri(uri) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 332 | client.reset_and_wait().await?; [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 325 | let client: /* Type */ = DamlGrpcClientBuilder::uri(uri) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `daml-json` (test "integration_tests") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/schema_encoder.rs:1998:51 [INFO] [stdout] | [INFO] [stdout] 1998 | JSONSchema::compile(&schema).map_err(|e| anyhow!("failed to compile schema: {}", e.to_string()))?; [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 1998 | JSONSchema::compile(&schema).map_err(|e: /* Type */| anyhow!("failed to compile schema: {}", e.to_string()))?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `daml-json` (lib test) due to 5 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d704fbe0b8ac2b1dec45e1cdd0a40c3b50c166a14320eadc13ba610d07bca7c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d704fbe0b8ac2b1dec45e1cdd0a40c3b50c166a14320eadc13ba610d07bca7c1", kill_on_drop: false }` [INFO] [stdout] d704fbe0b8ac2b1dec45e1cdd0a40c3b50c166a14320eadc13ba610d07bca7c1