[INFO] fetching crate daml-grpc 0.2.2... [INFO] testing daml-grpc-0.2.2 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate daml-grpc 0.2.2 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate daml-grpc 0.2.2 [INFO] finished tweaking crates.io crate daml-grpc 0.2.2 [INFO] tweaked toml for crates.io crate daml-grpc 0.2.2 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate daml-grpc 0.2.2 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 177 packages to latest compatible versions [INFO] [stderr] Adding bigdecimal v0.3.1 (available: v0.4.9) [INFO] [stderr] Adding hyper v0.14.32 (available: v1.7.0) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.14.0) [INFO] [stderr] Adding prost v0.9.0 (available: v0.14.1) [INFO] [stderr] Adding prost-derive v0.9.0 (available: v0.14.1) [INFO] [stderr] Adding prost-types v0.9.0 (available: v0.14.1) [INFO] [stderr] Adding tonic v0.6.2 (available: v0.14.2) [INFO] [stderr] Adding tonic-build v0.6.2 (available: v0.14.2) [INFO] [stderr] Adding uuid v0.8.2 (available: v1.18.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8685cbc9db6d81c849886a71bc4e5826a11915f1fe60f88b43ebf614d39acbee [INFO] running `Command { std: "docker" "start" "-a" "8685cbc9db6d81c849886a71bc4e5826a11915f1fe60f88b43ebf614d39acbee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8685cbc9db6d81c849886a71bc4e5826a11915f1fe60f88b43ebf614d39acbee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8685cbc9db6d81c849886a71bc4e5826a11915f1fe60f88b43ebf614d39acbee", kill_on_drop: false }` [INFO] [stdout] 8685cbc9db6d81c849886a71bc4e5826a11915f1fe60f88b43ebf614d39acbee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2fbed342c30cd286d0c5fac4af61f898be22c92b169d2ab35b0a1822f8fa7f35 [INFO] running `Command { std: "docker" "start" "-a" "2fbed342c30cd286d0c5fac4af61f898be22c92b169d2ab35b0a1822f8fa7f35", kill_on_drop: false }` [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling mio v1.1.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling home v0.5.12 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling num-integer v0.1.46 [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 num-bigint v0.4.6 [INFO] [stderr] Compiling prost-build v0.9.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling prost-derive v0.9.0 [INFO] [stderr] Compiling bigdecimal v0.3.1 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling prost v0.9.0 [INFO] [stderr] Compiling prost-types v0.9.0 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling rustls-native-certs v0.5.0 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling tonic-build v0.6.2 [INFO] [stderr] Compiling daml-grpc v0.2.2 (/opt/rustwide/workdir) [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling tokio-io-timeout v1.2.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tokio-util v0.6.10 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [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] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/primitive_types.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use chrono::{Date, DateTime, Utc}; [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/primitive_types.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | pub type DamlDate = Date; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/util.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use chrono::{Date, Timelike}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/util.rs:34:48 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn date_from_days(days: i32) -> DamlResult> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/util.rs:55:29 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn days_from_date(date: Date) -> i32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/util.rs:11:41 [INFO] [stdout] | [INFO] [stdout] 11 | let naive_datetime = NaiveDateTime::from_timestamp(timestamp.seconds, timestamp.nanos as u32); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/util.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | DateTime::from_utc(naive_datetime, Utc) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/util.rs:41:6 [INFO] [stdout] | [INFO] [stdout] 41 | .date()) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/util.rs:56:99 [INFO] [stdout] | [INFO] [stdout] 56 | let duration: chrono::Duration = date.signed_duration_since(DateTime::::from(UNIX_EPOCH).date()); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RetryInfo` is never constructed [INFO] [stdout] --> /opt/rustwide/target/debug/build/daml-grpc-5484bd2ee23a6826/out/google.rpc.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct RetryInfo { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DebugInfo` is never constructed [INFO] [stdout] --> /opt/rustwide/target/debug/build/daml-grpc-5484bd2ee23a6826/out/google.rpc.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct DebugInfo { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QuotaFailure` is never constructed [INFO] [stdout] --> /opt/rustwide/target/debug/build/daml-grpc-5484bd2ee23a6826/out/google.rpc.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 109 | pub struct QuotaFailure { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PreconditionFailure` is never constructed [INFO] [stdout] --> /opt/rustwide/target/debug/build/daml-grpc-5484bd2ee23a6826/out/google.rpc.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 142 | pub struct PreconditionFailure { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BadRequest` is never constructed [INFO] [stdout] --> /opt/rustwide/target/debug/build/daml-grpc-5484bd2ee23a6826/out/google.rpc.rs:173:12 [INFO] [stdout] | [INFO] [stdout] 173 | pub struct BadRequest { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RequestInfo` is never constructed [INFO] [stdout] --> /opt/rustwide/target/debug/build/daml-grpc-5484bd2ee23a6826/out/google.rpc.rs:196:12 [INFO] [stdout] | [INFO] [stdout] 196 | pub struct RequestInfo { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ResourceInfo` is never constructed [INFO] [stdout] --> /opt/rustwide/target/debug/build/daml-grpc-5484bd2ee23a6826/out/google.rpc.rs:208:12 [INFO] [stdout] | [INFO] [stdout] 208 | pub struct ResourceInfo { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Help` is never constructed [INFO] [stdout] --> /opt/rustwide/target/debug/build/daml-grpc-5484bd2ee23a6826/out/google.rpc.rs:236:12 [INFO] [stdout] | [INFO] [stdout] 236 | pub struct Help { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LocalizedMessage` is never constructed [INFO] [stdout] --> /opt/rustwide/target/debug/build/daml-grpc-5484bd2ee23a6826/out/google.rpc.rs:257:12 [INFO] [stdout] | [INFO] [stdout] 257 | pub struct LocalizedMessage { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Violation` is never constructed [INFO] [stdout] --> /opt/rustwide/target/debug/build/daml-grpc-5484bd2ee23a6826/out/google.rpc.rs:119:16 [INFO] [stdout] | [INFO] [stdout] 119 | pub struct Violation { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Violation` is never constructed [INFO] [stdout] --> /opt/rustwide/target/debug/build/daml-grpc-5484bd2ee23a6826/out/google.rpc.rs:151:16 [INFO] [stdout] | [INFO] [stdout] 151 | pub struct Violation { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FieldViolation` is never constructed [INFO] [stdout] --> /opt/rustwide/target/debug/build/daml-grpc-5484bd2ee23a6826/out/google.rpc.rs:182:16 [INFO] [stdout] | [INFO] [stdout] 182 | pub struct FieldViolation { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Link` is never constructed [INFO] [stdout] --> /opt/rustwide/target/debug/build/daml-grpc-5484bd2ee23a6826/out/google.rpc.rs:245:16 [INFO] [stdout] | [INFO] [stdout] 245 | pub struct Link { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 01s [INFO] running `Command { std: "docker" "inspect" "2fbed342c30cd286d0c5fac4af61f898be22c92b169d2ab35b0a1822f8fa7f35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fbed342c30cd286d0c5fac4af61f898be22c92b169d2ab35b0a1822f8fa7f35", kill_on_drop: false }` [INFO] [stdout] 2fbed342c30cd286d0c5fac4af61f898be22c92b169d2ab35b0a1822f8fa7f35 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bd4c2412d4ba0e11f39266e9479017869729c9589cc6252a0e0a552d649b06e1 [INFO] running `Command { std: "docker" "start" "-a" "bd4c2412d4ba0e11f39266e9479017869729c9589cc6252a0e0a552d649b06e1", kill_on_drop: false }` [INFO] [stderr] Compiling prost-derive v0.9.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling tokio-util v0.6.10 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling prost v0.9.0 [INFO] [stderr] Compiling prost-types v0.9.0 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling rustls-native-certs v0.5.0 [INFO] [stderr] Compiling prost-build v0.9.0 [INFO] [stderr] Compiling tonic-build v0.6.2 [INFO] [stderr] Compiling daml-grpc v0.2.2 (/opt/rustwide/workdir) [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-timeout v0.4.1 [INFO] [stderr] Compiling tonic v0.6.2 [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/primitive_types.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use chrono::{Date, DateTime, Utc}; [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/primitive_types.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | pub type DamlDate = Date; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/util.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use chrono::{Date, Timelike}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/util.rs:34:48 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn date_from_days(days: i32) -> DamlResult> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/util.rs:55:29 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn days_from_date(date: Date) -> i32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/primitive_types.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use chrono::{Date, DateTime, Utc}; [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/primitive_types.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | pub type DamlDate = Date; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/util.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use chrono::{Date, Timelike}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/util.rs:34:48 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn date_from_days(days: i32) -> DamlResult> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/util.rs:55:29 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn days_from_date(date: Date) -> i32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/util.rs:11:41 [INFO] [stdout] | [INFO] [stdout] 11 | let naive_datetime = NaiveDateTime::from_timestamp(timestamp.seconds, timestamp.nanos as u32); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/util.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | DateTime::from_utc(naive_datetime, Utc) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/util.rs:41:6 [INFO] [stdout] | [INFO] [stdout] 41 | .date()) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/util.rs:56:99 [INFO] [stdout] | [INFO] [stdout] 56 | let duration: chrono::Duration = date.signed_duration_since(DateTime::::from(UNIX_EPOCH).date()); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RetryInfo` is never constructed [INFO] [stdout] --> /opt/rustwide/target/debug/build/daml-grpc-4ad3a715095743de/out/google.rpc.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct RetryInfo { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DebugInfo` is never constructed [INFO] [stdout] --> /opt/rustwide/target/debug/build/daml-grpc-4ad3a715095743de/out/google.rpc.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct DebugInfo { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QuotaFailure` is never constructed [INFO] [stdout] --> /opt/rustwide/target/debug/build/daml-grpc-4ad3a715095743de/out/google.rpc.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 109 | pub struct QuotaFailure { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PreconditionFailure` is never constructed [INFO] [stdout] --> /opt/rustwide/target/debug/build/daml-grpc-4ad3a715095743de/out/google.rpc.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 142 | pub struct PreconditionFailure { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BadRequest` is never constructed [INFO] [stdout] --> /opt/rustwide/target/debug/build/daml-grpc-4ad3a715095743de/out/google.rpc.rs:173:12 [INFO] [stdout] | [INFO] [stdout] 173 | pub struct BadRequest { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RequestInfo` is never constructed [INFO] [stdout] --> /opt/rustwide/target/debug/build/daml-grpc-4ad3a715095743de/out/google.rpc.rs:196:12 [INFO] [stdout] | [INFO] [stdout] 196 | pub struct RequestInfo { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ResourceInfo` is never constructed [INFO] [stdout] --> /opt/rustwide/target/debug/build/daml-grpc-4ad3a715095743de/out/google.rpc.rs:208:12 [INFO] [stdout] | [INFO] [stdout] 208 | pub struct ResourceInfo { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Help` is never constructed [INFO] [stdout] --> /opt/rustwide/target/debug/build/daml-grpc-4ad3a715095743de/out/google.rpc.rs:236:12 [INFO] [stdout] | [INFO] [stdout] 236 | pub struct Help { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LocalizedMessage` is never constructed [INFO] [stdout] --> /opt/rustwide/target/debug/build/daml-grpc-4ad3a715095743de/out/google.rpc.rs:257:12 [INFO] [stdout] | [INFO] [stdout] 257 | pub struct LocalizedMessage { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Violation` is never constructed [INFO] [stdout] --> /opt/rustwide/target/debug/build/daml-grpc-4ad3a715095743de/out/google.rpc.rs:119:16 [INFO] [stdout] | [INFO] [stdout] 119 | pub struct Violation { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Violation` is never constructed [INFO] [stdout] --> /opt/rustwide/target/debug/build/daml-grpc-4ad3a715095743de/out/google.rpc.rs:151:16 [INFO] [stdout] | [INFO] [stdout] 151 | pub struct Violation { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FieldViolation` is never constructed [INFO] [stdout] --> /opt/rustwide/target/debug/build/daml-grpc-4ad3a715095743de/out/google.rpc.rs:182:16 [INFO] [stdout] | [INFO] [stdout] 182 | pub struct FieldViolation { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Link` is never constructed [INFO] [stdout] --> /opt/rustwide/target/debug/build/daml-grpc-4ad3a715095743de/out/google.rpc.rs:245:16 [INFO] [stdout] | [INFO] [stdout] 245 | pub struct Link { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/util.rs:11:41 [INFO] [stdout] | [INFO] [stdout] 11 | let naive_datetime = NaiveDateTime::from_timestamp(timestamp.seconds, timestamp.nanos as u32); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/util.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | DateTime::from_utc(naive_datetime, Utc) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/util.rs:41:6 [INFO] [stdout] | [INFO] [stdout] 41 | .date()) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/util.rs:56:99 [INFO] [stdout] | [INFO] [stdout] 56 | let duration: chrono::Duration = date.signed_duration_since(DateTime::::from(UNIX_EPOCH).date()); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `daml` [INFO] [stdout] --> tests/common/ping_pong.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | 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[E0433]: failed to resolve: use of unresolved module or unlinked crate `daml` [INFO] [stdout] --> tests/grpc/daml_active_contract_service_tests.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use daml::util::package::find_module_package_id; [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] --> tests/grpc/daml_command_completion_service_tests.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use daml::util::package::find_module_package_id; [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] --> tests/grpc/daml_command_service_tests.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use daml::util::package::find_module_package_id; [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] --> tests/grpc/daml_command_submission_service_tests.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use daml::util::package::find_module_package_id; [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] --> tests/grpc/daml_package_management_service.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use daml::lf::DarFile; [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] --> tests/grpc/daml_package_service_tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use daml::util::package::find_module_package_id; [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] --> tests/grpc/daml_transaction_service_tests.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use daml::util::package::find_module_package_id; [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/common/ping_pong.rs:168:10 [INFO] [stdout] | [INFO] [stdout] 167 | let client = DamlGrpcClientBuilder::uri(uri) [INFO] [stdout] | __________________- [INFO] [stdout] 168 | | .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] 168 - .reset_timeout(Duration::from_millis(RESET_TIMEOUT_MS)) [INFO] [stdout] 168 + .timeout(Duration::from_millis(RESET_TIMEOUT_MS)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/ping_pong.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | let client = DamlGrpcClientBuilder::uri(uri) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | Ok(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] 167 | let client: /* Type */ = DamlGrpcClientBuilder::uri(uri) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> tests/grpc/daml_active_contract_service_tests.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let package_id = find_module_package_id(&ledger_client, PINGPONG_MODULE_NAME).await?; [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> tests/grpc/daml_active_contract_service_tests.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 17 | let package_id = find_module_package_id(&ledger_client, PINGPONG_MODULE_NAME).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> tests/grpc/daml_active_contract_service_tests.rs:17:88 [INFO] [stdout] | [INFO] [stdout] 17 | let package_id = find_module_package_id(&ledger_client, PINGPONG_MODULE_NAME).await?; [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by an implicit `Sized` bound in `ControlFlow` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/control_flow.rs:88:0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> tests/grpc/daml_command_completion_service_tests.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let package_id = find_module_package_id(&ledger_client, PINGPONG_MODULE_NAME).await?; [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> tests/grpc/daml_command_completion_service_tests.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | let package_id = find_module_package_id(&ledger_client, PINGPONG_MODULE_NAME).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> tests/grpc/daml_command_completion_service_tests.rs:13:88 [INFO] [stdout] | [INFO] [stdout] 13 | let package_id = find_module_package_id(&ledger_client, PINGPONG_MODULE_NAME).await?; [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by an implicit `Sized` bound in `ControlFlow` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/control_flow.rs:88:0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> tests/grpc/daml_command_service_tests.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let package_id = find_module_package_id(&ledger_client, PINGPONG_MODULE_NAME).await?; [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> tests/grpc/daml_command_service_tests.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | let package_id = find_module_package_id(&ledger_client, PINGPONG_MODULE_NAME).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> tests/grpc/daml_command_service_tests.rs:21:88 [INFO] [stdout] | [INFO] [stdout] 21 | let package_id = find_module_package_id(&ledger_client, PINGPONG_MODULE_NAME).await?; [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by an implicit `Sized` bound in `ControlFlow` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/control_flow.rs:88:0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> tests/grpc/daml_command_service_tests.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let package_id = find_module_package_id(&ledger_client, PINGPONG_MODULE_NAME).await?; [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> tests/grpc/daml_command_service_tests.rs:33:22 [INFO] [stdout] | [INFO] [stdout] 33 | let package_id = find_module_package_id(&ledger_client, PINGPONG_MODULE_NAME).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> tests/grpc/daml_command_service_tests.rs:33:88 [INFO] [stdout] | [INFO] [stdout] 33 | let package_id = find_module_package_id(&ledger_client, PINGPONG_MODULE_NAME).await?; [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by an implicit `Sized` bound in `ControlFlow` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/control_flow.rs:88:0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> tests/grpc/daml_command_service_tests.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | let package_id = find_module_package_id(&ledger_client, PINGPONG_MODULE_NAME).await?; [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> tests/grpc/daml_command_service_tests.rs:44:22 [INFO] [stdout] | [INFO] [stdout] 44 | let package_id = find_module_package_id(&ledger_client, PINGPONG_MODULE_NAME).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> tests/grpc/daml_command_service_tests.rs:44:88 [INFO] [stdout] | [INFO] [stdout] 44 | let package_id = find_module_package_id(&ledger_client, PINGPONG_MODULE_NAME).await?; [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by an implicit `Sized` bound in `ControlFlow` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/control_flow.rs:88:0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> tests/grpc/daml_command_service_tests.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | let package_id = find_module_package_id(&ledger_client, PINGPONG_MODULE_NAME).await?; [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> tests/grpc/daml_command_service_tests.rs:60:22 [INFO] [stdout] | [INFO] [stdout] 60 | let package_id = find_module_package_id(&ledger_client, PINGPONG_MODULE_NAME).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> tests/grpc/daml_command_service_tests.rs:60:88 [INFO] [stdout] | [INFO] [stdout] 60 | let package_id = find_module_package_id(&ledger_client, PINGPONG_MODULE_NAME).await?; [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by an implicit `Sized` bound in `ControlFlow` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/control_flow.rs:88:0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> tests/grpc/daml_command_service_tests.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | let package_id = find_module_package_id(&ledger_client, PINGPONG_MODULE_NAME).await?; [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> tests/grpc/daml_command_service_tests.rs:88:22 [INFO] [stdout] | [INFO] [stdout] 88 | let package_id = find_module_package_id(&ledger_client, PINGPONG_MODULE_NAME).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> tests/grpc/daml_command_service_tests.rs:88:88 [INFO] [stdout] | [INFO] [stdout] 88 | let package_id = find_module_package_id(&ledger_client, PINGPONG_MODULE_NAME).await?; [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by an implicit `Sized` bound in `ControlFlow` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/control_flow.rs:88:0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> tests/grpc/daml_command_service_tests.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | let package_id = find_module_package_id(&ledger_client, PINGPONG_MODULE_NAME).await?; [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> tests/grpc/daml_command_service_tests.rs:142:22 [INFO] [stdout] | [INFO] [stdout] 142 | let package_id = find_module_package_id(&ledger_client, PINGPONG_MODULE_NAME).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> tests/grpc/daml_command_service_tests.rs:142:88 [INFO] [stdout] | [INFO] [stdout] 142 | let package_id = find_module_package_id(&ledger_client, PINGPONG_MODULE_NAME).await?; [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by an implicit `Sized` bound in `ControlFlow` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/control_flow.rs:88:0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> tests/grpc/daml_command_submission_service_tests.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let package_id = find_module_package_id(&ledger_client, PINGPONG_MODULE_NAME).await?; [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> tests/grpc/daml_command_submission_service_tests.rs:24:22 [INFO] [stdout] | [INFO] [stdout] 24 | let package_id = find_module_package_id(&ledger_client, PINGPONG_MODULE_NAME).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> tests/grpc/daml_command_submission_service_tests.rs:24:88 [INFO] [stdout] | [INFO] [stdout] 24 | let package_id = find_module_package_id(&ledger_client, PINGPONG_MODULE_NAME).await?; [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by an implicit `Sized` bound in `ControlFlow` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/control_flow.rs:88:0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `time_service` found for struct `DamlGrpcClient` in the current scope [INFO] [stdout] --> tests/grpc/daml_config_management_service.rs:27:58 [INFO] [stdout] | [INFO] [stdout] 27 | let ledger_times: Vec> = ledger_client.time_service().get_time().await?.take(1).try_collect().await?; [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `DamlGrpcClient` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/grpc/daml_config_management_service.rs:27:44 [INFO] [stdout] | [INFO] [stdout] 27 | let ledger_times: Vec> = ledger_client.time_service().get_time().await?.take(1).try_collect().await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `time_service` found for struct `DamlGrpcClient` in the current scope [INFO] [stdout] --> tests/grpc/daml_time_service_tests.rs:12:58 [INFO] [stdout] | [INFO] [stdout] 12 | let ledger_times: Vec> = ledger_client.time_service().get_time().await?.take(1).try_collect().await?; [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `DamlGrpcClient` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/grpc/daml_time_service_tests.rs:12:44 [INFO] [stdout] | [INFO] [stdout] 12 | let ledger_times: Vec> = ledger_client.time_service().get_time().await?.take(1).try_collect().await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `time_service` found for struct `DamlGrpcClient` in the current scope [INFO] [stdout] --> tests/grpc/daml_time_service_tests.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | ledger_client.time_service().set_time(current_time, new_time).await?; [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `DamlGrpcClient` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `time_service` found for struct `DamlGrpcClient` in the current scope [INFO] [stdout] --> tests/grpc/daml_time_service_tests.rs:25:58 [INFO] [stdout] | [INFO] [stdout] 25 | let ledger_times: Vec> = ledger_client.time_service().get_time().await?.take(1).try_collect().await?; [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `DamlGrpcClient` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/grpc/daml_time_service_tests.rs:25:44 [INFO] [stdout] | [INFO] [stdout] 25 | let ledger_times: Vec> = ledger_client.time_service().get_time().await?.take(1).try_collect().await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> tests/grpc/daml_transaction_service_tests.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let package_id = find_module_package_id(&ledger_client, PINGPONG_MODULE_NAME).await?; [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> tests/grpc/daml_transaction_service_tests.rs:24:22 [INFO] [stdout] | [INFO] [stdout] 24 | let package_id = find_module_package_id(&ledger_client, PINGPONG_MODULE_NAME).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> tests/grpc/daml_transaction_service_tests.rs:24:88 [INFO] [stdout] | [INFO] [stdout] 24 | let package_id = find_module_package_id(&ledger_client, PINGPONG_MODULE_NAME).await?; [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by an implicit `Sized` bound in `ControlFlow` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/control_flow.rs:88:0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> tests/grpc/daml_transaction_service_tests.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | let package_id = find_module_package_id(&ledger_client, PINGPONG_MODULE_NAME).await?; [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> tests/grpc/daml_transaction_service_tests.rs:100:22 [INFO] [stdout] | [INFO] [stdout] 100 | let package_id = find_module_package_id(&ledger_client, PINGPONG_MODULE_NAME).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> tests/grpc/daml_transaction_service_tests.rs:100:88 [INFO] [stdout] | [INFO] [stdout] 100 | let package_id = find_module_package_id(&ledger_client, PINGPONG_MODULE_NAME).await?; [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by an implicit `Sized` bound in `ControlFlow` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/control_flow.rs:88:0 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] WARN rustc_errors::emitter Invalid span /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/macros/mod.rs:46:35: 46:35 (#305), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/macros/mod.rs" }) } [INFO] [stderr] WARN rustc_errors::emitter Invalid span /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/macros/mod.rs:46:35: 46:35 (#326), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/macros/mod.rs" }) } [INFO] [stdout] error[E0277]: can't compare `str` with `&str` [INFO] [stdout] --> tests/grpc/daml_transaction_service_tests.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | assert_eq!(package_id, event.template_id().package_id()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `str == &str` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq<&str>` is not implemented for `str` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> tests/grpc/daml_transaction_service_tests.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | let package_id = find_module_package_id(&ledger_client, PINGPONG_MODULE_NAME).await?; [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> tests/grpc/daml_transaction_service_tests.rs:133:22 [INFO] [stdout] | [INFO] [stdout] 133 | let package_id = find_module_package_id(&ledger_client, PINGPONG_MODULE_NAME).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> tests/grpc/daml_transaction_service_tests.rs:133:88 [INFO] [stdout] | [INFO] [stdout] 133 | let package_id = find_module_package_id(&ledger_client, PINGPONG_MODULE_NAME).await?; [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by an implicit `Sized` bound in `ControlFlow` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/control_flow.rs:88:0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `str` with `&str` [INFO] [stdout] --> tests/grpc/daml_transaction_service_tests.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 150 | assert_eq!(package_id, event.template_id().package_id()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `str == &str` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq<&str>` is not implemented for `str` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] WARN rustc_errors::emitter Invalid span /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/macros/mod.rs:46:35: 46:35 (#344), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/macros/mod.rs" }) } [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> tests/grpc/daml_transaction_service_tests.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | let package_id = find_module_package_id(&ledger_client, PINGPONG_MODULE_NAME).await?; [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] WARN rustc_errors::emitter Invalid span /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/macros/mod.rs:46:35: 46:35 (#363), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/macros/mod.rs" }) } [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> tests/grpc/daml_transaction_service_tests.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 166 | let package_id = find_module_package_id(&ledger_client, PINGPONG_MODULE_NAME).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> tests/grpc/daml_transaction_service_tests.rs:166:88 [INFO] [stdout] | [INFO] [stdout] 166 | let package_id = find_module_package_id(&ledger_client, PINGPONG_MODULE_NAME).await?; [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by an implicit `Sized` bound in `ControlFlow` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/control_flow.rs:88:0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `str` with `&str` [INFO] [stdout] --> tests/grpc/daml_transaction_service_tests.rs:183:5 [INFO] [stdout] | [INFO] [stdout] 183 | assert_eq!(package_id, event.template_id().package_id()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `str == &str` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq<&str>` is not implemented for `str` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> tests/grpc/daml_transaction_service_tests.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | let package_id = find_module_package_id(&ledger_client, PINGPONG_MODULE_NAME).await?; [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> tests/grpc/daml_transaction_service_tests.rs:199:22 [INFO] [stdout] | [INFO] [stdout] 199 | let package_id = find_module_package_id(&ledger_client, PINGPONG_MODULE_NAME).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> tests/grpc/daml_transaction_service_tests.rs:199:88 [INFO] [stdout] | [INFO] [stdout] 199 | let package_id = find_module_package_id(&ledger_client, PINGPONG_MODULE_NAME).await?; [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by an implicit `Sized` bound in `ControlFlow` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/control_flow.rs:88:0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `str` with `&str` [INFO] [stdout] --> tests/grpc/daml_transaction_service_tests.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 216 | assert_eq!(package_id, event.template_id().package_id()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `str == &str` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq<&str>` is not implemented for `str` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `daml-grpc` (test "integration_tests") due to 63 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: struct `RetryInfo` is never constructed [INFO] [stdout] --> /opt/rustwide/target/debug/build/daml-grpc-4ad3a715095743de/out/google.rpc.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct RetryInfo { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DebugInfo` is never constructed [INFO] [stdout] --> /opt/rustwide/target/debug/build/daml-grpc-4ad3a715095743de/out/google.rpc.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct DebugInfo { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QuotaFailure` is never constructed [INFO] [stdout] --> /opt/rustwide/target/debug/build/daml-grpc-4ad3a715095743de/out/google.rpc.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 109 | pub struct QuotaFailure { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PreconditionFailure` is never constructed [INFO] [stdout] --> /opt/rustwide/target/debug/build/daml-grpc-4ad3a715095743de/out/google.rpc.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 142 | pub struct PreconditionFailure { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BadRequest` is never constructed [INFO] [stdout] --> /opt/rustwide/target/debug/build/daml-grpc-4ad3a715095743de/out/google.rpc.rs:173:12 [INFO] [stdout] | [INFO] [stdout] 173 | pub struct BadRequest { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RequestInfo` is never constructed [INFO] [stdout] --> /opt/rustwide/target/debug/build/daml-grpc-4ad3a715095743de/out/google.rpc.rs:196:12 [INFO] [stdout] | [INFO] [stdout] 196 | pub struct RequestInfo { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ResourceInfo` is never constructed [INFO] [stdout] --> /opt/rustwide/target/debug/build/daml-grpc-4ad3a715095743de/out/google.rpc.rs:208:12 [INFO] [stdout] | [INFO] [stdout] 208 | pub struct ResourceInfo { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Help` is never constructed [INFO] [stdout] --> /opt/rustwide/target/debug/build/daml-grpc-4ad3a715095743de/out/google.rpc.rs:236:12 [INFO] [stdout] | [INFO] [stdout] 236 | pub struct Help { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LocalizedMessage` is never constructed [INFO] [stdout] --> /opt/rustwide/target/debug/build/daml-grpc-4ad3a715095743de/out/google.rpc.rs:257:12 [INFO] [stdout] | [INFO] [stdout] 257 | pub struct LocalizedMessage { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Violation` is never constructed [INFO] [stdout] --> /opt/rustwide/target/debug/build/daml-grpc-4ad3a715095743de/out/google.rpc.rs:119:16 [INFO] [stdout] | [INFO] [stdout] 119 | pub struct Violation { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Violation` is never constructed [INFO] [stdout] --> /opt/rustwide/target/debug/build/daml-grpc-4ad3a715095743de/out/google.rpc.rs:151:16 [INFO] [stdout] | [INFO] [stdout] 151 | pub struct Violation { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FieldViolation` is never constructed [INFO] [stdout] --> /opt/rustwide/target/debug/build/daml-grpc-4ad3a715095743de/out/google.rpc.rs:182:16 [INFO] [stdout] | [INFO] [stdout] 182 | pub struct FieldViolation { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Link` is never constructed [INFO] [stdout] --> /opt/rustwide/target/debug/build/daml-grpc-4ad3a715095743de/out/google.rpc.rs:245:16 [INFO] [stdout] | [INFO] [stdout] 245 | pub struct Link { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "bd4c2412d4ba0e11f39266e9479017869729c9589cc6252a0e0a552d649b06e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd4c2412d4ba0e11f39266e9479017869729c9589cc6252a0e0a552d649b06e1", kill_on_drop: false }` [INFO] [stdout] bd4c2412d4ba0e11f39266e9479017869729c9589cc6252a0e0a552d649b06e1