[INFO] fetching crate daml-macro 0.2.2... [INFO] building daml-macro-0.2.2 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate daml-macro 0.2.2 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate daml-macro 0.2.2 [INFO] finished tweaking crates.io crate daml-macro 0.2.2 [INFO] tweaked toml for crates.io crate daml-macro 0.2.2 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate daml-macro 0.2.2 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 170 packages to latest compatible versions [INFO] [stderr] Adding bigdecimal v0.3.1 (available: v0.4.8) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded prost-derive v0.9.0 [INFO] [stderr] Downloaded rustls-native-certs v0.5.0 [INFO] [stderr] Downloaded prost v0.9.0 [INFO] [stderr] Downloaded tonic-build v0.6.2 [INFO] [stderr] Downloaded tokio-rustls v0.22.0 [INFO] [stderr] Downloaded rustls v0.19.1 [INFO] [stderr] Downloaded tonic v0.6.2 [INFO] [stderr] Downloaded prost-types v0.9.0 [INFO] [stderr] Downloaded daml-grpc 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-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4e2b2246c30391830a5bcd50ac2df2d6e3f8515d90c931322c8e2082509313b5 [INFO] running `Command { std: "docker" "start" "-a" "4e2b2246c30391830a5bcd50ac2df2d6e3f8515d90c931322c8e2082509313b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4e2b2246c30391830a5bcd50ac2df2d6e3f8515d90c931322c8e2082509313b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e2b2246c30391830a5bcd50ac2df2d6e3f8515d90c931322c8e2082509313b5", kill_on_drop: false }` [INFO] [stdout] 4e2b2246c30391830a5bcd50ac2df2d6e3f8515d90c931322c8e2082509313b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9512cb15133078f3c9f002a9cca9ee5cc3a63347ce6359f89d6545845da86e3a [INFO] running `Command { std: "docker" "start" "-a" "9512cb15133078f3c9f002a9cca9ee5cc3a63347ce6359f89d6545845da86e3a", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling find-msvc-tools v0.1.2 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling cc v1.2.39 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling prost-build v0.9.0 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling prost-derive v0.9.0 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling prost v0.9.0 [INFO] [stderr] Compiling prost-types v0.9.0 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tonic-build v0.6.2 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling rustls-native-certs v0.5.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling bigdecimal v0.3.1 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling daml-grpc v0.2.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-io-timeout v1.2.1 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tokio-util v0.6.10 [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 tonic v0.6.2 [INFO] [stderr] Compiling daml-macro v0.2.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 52s [INFO] running `Command { std: "docker" "inspect" "9512cb15133078f3c9f002a9cca9ee5cc3a63347ce6359f89d6545845da86e3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9512cb15133078f3c9f002a9cca9ee5cc3a63347ce6359f89d6545845da86e3a", kill_on_drop: false }` [INFO] [stdout] 9512cb15133078f3c9f002a9cca9ee5cc3a63347ce6359f89d6545845da86e3a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cc408185edea51ab21dc2a662431fb9bc46e28702f5c9a900480dbaf6a2e61e9 [INFO] running `Command { std: "docker" "start" "-a" "cc408185edea51ab21dc2a662431fb9bc46e28702f5c9a900480dbaf6a2e61e9", kill_on_drop: false }` [INFO] [stderr] Compiling daml-macro v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/value.rs:230:77 [INFO] [stdout] | [INFO] [stdout] 230 | ... $crate::daml_grpc::data::value::DamlValue::new_date($crate::chrono::Date::<$crate::chrono::Utc>::from_utc($crate::chrono::NaiveDate... [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/path.rs:725:9 [INFO] [stdout] | [INFO] [stdout] 725 | / daml_value![{ [INFO] [stdout] 726 | | sender: "Alice"::p, [INFO] [stdout] 727 | | receiver: "Bob"::p, [INFO] [stdout] 728 | | person: { [INFO] [stdout] ... | [INFO] [stdout] 768 | | other_var_list_opt: {=>Foo [{?= {color: "Green"}}]} [INFO] [stdout] 769 | | }] [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `daml_value` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/value.rs:230:77 [INFO] [stdout] | [INFO] [stdout] 230 | ... $crate::daml_grpc::data::value::DamlValue::new_date($crate::chrono::Date::<$crate::chrono::Utc>::from_utc($crate::chrono::NaiveDate... [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 322 | ... let value: DamlValue = daml_value!["2019-01-02"::d]; [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `daml_value` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/value.rs:230:77 [INFO] [stdout] | [INFO] [stdout] 230 | ... $crate::daml_grpc::data::value::DamlValue::new_date($crate::chrono::Date::<$crate::chrono::Utc>::from_utc($crate::chrono::NaiveDate... [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 564 | ... let value: DamlValue = daml_value![{ [INFO] [stdout] | ______________________________- [INFO] [stdout] 565 | | ... party: party::p, [INFO] [stdout] 566 | | ... age: age, [INFO] [stdout] 567 | | ... dob: dob::d, [INFO] [stdout] 568 | | ... sex: "Male", [INFO] [stdout] 569 | | ... address: home_address [INFO] [stdout] 570 | | ... }]; [INFO] [stdout] | |________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `daml_value` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/test_util.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{Date, DateTime, NaiveDate, Utc}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/test_util.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn make_date(date_str: &str) -> Result, Box> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/test_util.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | Ok(Date::::from_utc(NaiveDate::parse_from_str(date_str, "%Y-%m-%d")?, Utc)) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.16s [INFO] running `Command { std: "docker" "inspect" "cc408185edea51ab21dc2a662431fb9bc46e28702f5c9a900480dbaf6a2e61e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc408185edea51ab21dc2a662431fb9bc46e28702f5c9a900480dbaf6a2e61e9", kill_on_drop: false }` [INFO] [stdout] cc408185edea51ab21dc2a662431fb9bc46e28702f5c9a900480dbaf6a2e61e9