[INFO] fetching crate daml-json 0.2.2...
[INFO] checking daml-json-0.2.2 against nightly-2024-02-05 for check-cfg
[INFO] extracting crate daml-json 0.2.2 into /workspace/builds/worker-7-tc1/source
[INFO] validating manifest of crates.io crate daml-json 0.2.2 on toolchain nightly-2024-02-05
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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-7-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded tonic-build v0.6.2
[INFO] [stderr]   Downloaded tonic v0.6.2
[INFO] [stderr]   Downloaded hyper-timeout v0.4.1
[INFO] [stderr]   Downloaded bounded-static v0.2.1
[INFO] [stderr]   Downloaded tokio-io-timeout v1.2.0
[INFO] [stderr]   Downloaded prost-types v0.9.0
[INFO] [stderr]   Downloaded bounded-static-derive v0.2.1
[INFO] [stderr]   Downloaded daml-grpc v0.2.2
[INFO] [stderr]   Downloaded rustls-native-certs v0.5.0
[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-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6a71e112771b1145628910717ef899da538730afda8c97480637d37b3b037e36
[INFO] running `Command { std: "docker" "start" "-a" "6a71e112771b1145628910717ef899da538730afda8c97480637d37b3b037e36", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6a71e112771b1145628910717ef899da538730afda8c97480637d37b3b037e36", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6a71e112771b1145628910717ef899da538730afda8c97480637d37b3b037e36", kill_on_drop: false }`
[INFO] [stdout] 6a71e112771b1145628910717ef899da538730afda8c97480637d37b3b037e36
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 831a59d41542ab53695abe2bd672bfa6b2045c2d250f59ec09ec0a70b7faad06
[INFO] running `Command { std: "docker" "start" "-a" "831a59d41542ab53695abe2bd672bfa6b2045c2d250f59ec09ec0a70b7faad06", kill_on_drop: false }`
[INFO] [stderr]    Compiling either v1.9.0
[INFO] [stderr]     Checking futures-core v0.3.30
[INFO] [stderr]     Checking futures-sink v0.3.30
[INFO] [stderr]     Checking tracing-core v0.1.32
[INFO] [stderr]    Compiling anyhow v1.0.79
[INFO] [stderr]    Compiling memchr v2.7.1
[INFO] [stderr]    Compiling home v0.5.9
[INFO] [stderr]    Compiling syn v2.0.48
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking mio v0.8.10
[INFO] [stderr]     Checking getrandom v0.2.12
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling hashbrown v0.14.3
[INFO] [stderr]    Compiling bytes v1.5.0
[INFO] [stderr]    Compiling ring v0.17.7
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling unicode-segmentation v1.10.1
[INFO] [stderr]     Checking futures-channel v0.3.30
[INFO] [stderr]    Compiling fixedbitset v0.4.2
[INFO] [stderr]     Checking spin v0.5.2
[INFO] [stderr]     Checking untrusted v0.7.1
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling which v4.4.2
[INFO] [stderr]    Compiling multimap v0.8.3
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]     Checking spin v0.9.8
[INFO] [stderr]     Checking untrusted v0.9.0
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling crc32fast v1.3.2
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]    Compiling aho-corasick v1.1.2
[INFO] [stderr]    Compiling rustls v0.21.10
[INFO] [stderr]     Checking tinyvec_macros v0.1.1
[INFO] [stderr]     Checking tinyvec v1.6.0
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]    Compiling prost-build v0.9.0
[INFO] [stderr]    Compiling indexmap v2.2.2
[INFO] [stderr]    Compiling num-bigint v0.4.4
[INFO] [stderr]    Compiling serde_json v1.0.113
[INFO] [stderr]     Checking miniz_oxide v0.7.2
[INFO] [stderr]     Checking form_urlencoded v1.2.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking unicode-bidi v0.3.15
[INFO] [stderr]     Checking tower-layer v0.3.2
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking regex-syntax v0.8.2
[INFO] [stderr]     Checking iana-time-zone v0.1.60
[INFO] [stderr]     Checking flate2 v1.0.28
[INFO] [stderr]     Checking regex-syntax v0.6.29
[INFO] [stderr]     Checking rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling petgraph v0.6.4
[INFO] [stderr]     Checking unicode-normalization v0.1.22
[INFO] [stderr]     Checking uuid v0.8.2
[INFO] [stderr]     Checking encoding_rs v0.8.33
[INFO] [stderr]     Checking sync_wrapper v0.1.2
[INFO] [stderr]     Checking ipnet v2.9.0
[INFO] [stderr]    Compiling regex-automata v0.4.5
[INFO] [stderr]     Checking mime v0.3.17
[INFO] [stderr]     Checking webpki-roots v0.25.4
[INFO] [stderr]     Checking nu-ansi-term v0.46.0
[INFO] [stderr]     Checking sharded-slab v0.1.7
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking thread_local v1.1.7
[INFO] [stderr]     Checking idna v0.5.0
[INFO] [stderr]     Checking maplit v1.0.2
[INFO] [stderr]     Checking chrono v0.4.33
[INFO] [stderr]     Checking url v2.5.0
[INFO] [stderr]     Checking regex-automata v0.1.10
[INFO] [stderr]     Checking bigdecimal v0.3.1
[INFO] [stderr]     Checking matchers v0.1.0
[INFO] [stderr]     Checking regex v1.10.3
[INFO] [stderr]     Checking webpki v0.21.4
[INFO] [stderr]     Checking sct v0.6.1
[INFO] [stderr]    Compiling prost-derive v0.9.0
[INFO] [stderr]    Compiling bounded-static-derive v0.2.1
[INFO] [stderr]     Checking rustls v0.19.1
[INFO] [stderr]    Compiling tokio-macros v2.2.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling serde_derive v1.0.196
[INFO] [stderr]    Compiling pin-project-internal v1.1.4
[INFO] [stderr]    Compiling thiserror-impl v1.0.56
[INFO] [stderr]    Compiling async-stream-impl v0.3.5
[INFO] [stderr]    Compiling async-trait v0.1.77
[INFO] [stderr]     Checking rustls-webpki v0.101.7
[INFO] [stderr]     Checking sct v0.7.1
[INFO] [stderr]     Checking bounded-static v0.2.1
[INFO] [stderr]     Checking async-stream v0.3.5
[INFO] [stderr]     Checking tokio v1.36.0
[INFO] [stderr]     Checking rustls-native-certs v0.5.0
[INFO] [stderr]     Checking futures-util v0.3.30
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]     Checking pin-project v1.1.4
[INFO] [stderr]     Checking thiserror v1.0.56
[INFO] [stderr]    Compiling prost v0.9.0
[INFO] [stderr]     Checking zip v0.5.13
[INFO] [stderr]     Checking tracing-futures v0.2.5
[INFO] [stderr]     Checking tracing-subscriber v0.3.18
[INFO] [stderr]    Compiling prost-types v0.9.0
[INFO] [stderr]     Checking serde v1.0.196
[INFO] [stderr]    Compiling tonic-build v0.6.2
[INFO] [stderr]    Compiling daml-lf v0.2.2
[INFO] [stderr]     Checking futures-executor v0.3.30
[INFO] [stderr]     Checking futures v0.3.30
[INFO] [stderr]    Compiling daml-grpc v0.2.2
[INFO] [stderr]     Checking tokio-util v0.7.10
[INFO] [stderr]     Checking tokio-io-timeout v1.2.0
[INFO] [stderr]     Checking tokio-rustls v0.24.1
[INFO] [stderr]     Checking tokio-rustls v0.22.0
[INFO] [stderr]     Checking tokio-util v0.6.10
[INFO] [stderr]     Checking tokio-stream v0.1.14
[INFO] [stderr]     Checking h2 v0.3.24
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking serde_yaml v0.8.26
[INFO] [stderr]     Checking assert-json-diff v2.0.2
[INFO] [stderr]     Checking hyper v0.14.28
[INFO] [stderr]     Checking hyper-timeout v0.4.1
[INFO] [stderr]     Checking hyper-rustls v0.24.2
[INFO] [stderr]     Checking tonic v0.6.2
[INFO] [stderr]     Checking reqwest v0.11.24
[INFO] [stderr]     Checking daml-json v0.2.2 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `daml`
[INFO] [stdout]    --> src/value_decode.rs:317:9
[INFO] [stdout]     |
[INFO] [stdout] 317 |     use daml::macros::daml_value;
[INFO] [stdout]     |         ^^^^ use of undeclared crate or module `daml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `daml`
[INFO] [stdout]    --> src/value_encode.rs:131:9
[INFO] [stdout]     |
[INFO] [stdout] 131 |     use daml::macros::daml_value;
[INFO] [stdout]     |         ^^^^ use of undeclared crate or module `daml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `daml`
[INFO] [stdout]    --> src/request_converter.rs:233:9
[INFO] [stdout]     |
[INFO] [stdout] 233 |     use daml::macros::daml_path;
[INFO] [stdout]     |         ^^^^ use of undeclared crate or module `daml`
[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 undeclared crate or module `jsonschema`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime<Tz>` 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<Tz>` 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: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime<Tz>` 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<Tz>` 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: aborting due to 4 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[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 5 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "831a59d41542ab53695abe2bd672bfa6b2045c2d250f59ec09ec0a70b7faad06", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "831a59d41542ab53695abe2bd672bfa6b2045c2d250f59ec09ec0a70b7faad06", kill_on_drop: false }`
[INFO] [stdout] 831a59d41542ab53695abe2bd672bfa6b2045c2d250f59ec09ec0a70b7faad06
