[INFO] cloning repository https://github.com/kevinkuo0320/Tonic_gRPC_Tutorial [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kevinkuo0320/Tonic_gRPC_Tutorial" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkevinkuo0320%2FTonic_gRPC_Tutorial", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkevinkuo0320%2FTonic_gRPC_Tutorial'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bdc8edf8973472b22491fdab2f1028c2c213069f [INFO] testing kevinkuo0320/Tonic_gRPC_Tutorial against beta-2025-09-21 for beta-1.91-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkevinkuo0320%2FTonic_gRPC_Tutorial" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/kevinkuo0320/Tonic_gRPC_Tutorial [INFO] finished tweaking git repo https://github.com/kevinkuo0320/Tonic_gRPC_Tutorial [INFO] tweaked toml for git repo https://github.com/kevinkuo0320/Tonic_gRPC_Tutorial written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kevinkuo0320/Tonic_gRPC_Tutorial on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kevinkuo0320/Tonic_gRPC_Tutorial already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bbf3fb6ea8c6ca0a05d245ad5c8a87d6af9e71db01d76b41cb68a361beffde7f [INFO] running `Command { std: "docker" "start" "-a" "bbf3fb6ea8c6ca0a05d245ad5c8a87d6af9e71db01d76b41cb68a361beffde7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bbf3fb6ea8c6ca0a05d245ad5c8a87d6af9e71db01d76b41cb68a361beffde7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbf3fb6ea8c6ca0a05d245ad5c8a87d6af9e71db01d76b41cb68a361beffde7f", kill_on_drop: false }` [INFO] [stdout] bbf3fb6ea8c6ca0a05d245ad5c8a87d6af9e71db01d76b41cb68a361beffde7f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3ec5fe37c2696d3f96b575edb4878154972872123a7f34d868018562188fcebc [INFO] running `Command { std: "docker" "start" "-a" "3ec5fe37c2696d3f96b575edb4878154972872123a7f34d868018562188fcebc", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.50 [INFO] [stderr] Compiling unicode-ident v1.0.6 [INFO] [stderr] Compiling quote v1.0.23 [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling futures-core v0.3.25 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling bytes v1.3.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling futures-channel v0.3.25 [INFO] [stderr] Compiling futures-task v0.3.25 [INFO] [stderr] Compiling futures-sink v0.3.25 [INFO] [stderr] Compiling futures-util v0.3.25 [INFO] [stderr] Compiling once_cell v1.17.0 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling futures-io v0.3.25 [INFO] [stderr] Compiling anyhow v1.0.68 [INFO] [stderr] Compiling itoa v1.0.5 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling tokio v1.24.2 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling rustversion v1.0.11 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling tracing-core v0.1.30 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling prettyplease v0.1.23 [INFO] [stderr] Compiling serde_derive v1.0.152 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling serde v1.0.152 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling async-trait v0.1.63 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling fastrand v1.8.0 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling mio v0.8.5 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling which v4.4.0 [INFO] [stderr] Compiling petgraph v0.6.2 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling http-range-header v0.3.0 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling axum-core v0.3.2 [INFO] [stderr] Compiling axum v0.6.3 [INFO] [stderr] Compiling matchit v0.7.0 [INFO] [stderr] Compiling serde_json v1.0.91 [INFO] [stderr] Compiling sync_wrapper v0.1.1 [INFO] [stderr] Compiling ryu v1.0.12 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling regex v1.7.1 [INFO] [stderr] Compiling tokio-macros v1.8.2 [INFO] [stderr] Compiling futures-macro v0.3.25 [INFO] [stderr] Compiling tracing-attributes v0.1.23 [INFO] [stderr] Compiling prost-derive v0.11.6 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling async-stream-impl v0.3.3 [INFO] [stderr] Compiling async-stream-impl v0.2.1 [INFO] [stderr] Compiling async-stream v0.2.1 [INFO] [stderr] Compiling async-stream v0.3.3 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling pin-project v1.0.12 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling prost v0.11.6 [INFO] [stderr] Compiling prost-types v0.11.6 [INFO] [stderr] Compiling prost-build v0.11.6 [INFO] [stderr] Compiling futures-executor v0.3.25 [INFO] [stderr] Compiling futures v0.3.25 [INFO] [stderr] Compiling tonic-build v0.8.4 [INFO] [stderr] Compiling tokio-util v0.7.4 [INFO] [stderr] Compiling tokio-io-timeout v1.2.0 [INFO] [stderr] Compiling tokio-stream v0.1.11 [INFO] [stderr] Compiling routeguide v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling h2 v0.3.15 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tower-http v0.3.5 [INFO] [stderr] Compiling hyper v0.14.23 [INFO] [stderr] Compiling hyper-timeout v0.4.1 [INFO] [stderr] Compiling tonic v0.8.3 [INFO] [stdout] error[E0277]: the trait bound `std::ops::Range<{integer}>: SampleBorrow>` is not satisfied [INFO] [stdout] --> src/client.rs:44:42 [INFO] [stdout] | [INFO] [stdout] 44 | let point_count: i32 = rng.gen_range(2..100); [INFO] [stdout] | --------- ^^^^^^ the trait `SampleUniform` is not implemented for `std::ops::Range<{integer}>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `rand` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.7.3/src/distributions/uniform.rs:199:1 [INFO] [stdout] | [INFO] [stdout] 199 | pub trait SampleUniform: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/client.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::rngs::ThreadRng; [INFO] [stdout] | ---- one version of crate `rand` used here, as a direct dependency of the current crate [INFO] [stdout] ... [INFO] [stdout] 8 | use tonic::transport::Channel; [INFO] [stdout] | ----- one version of crate `rand` used here, as a dependency of crate `tower` [INFO] [stdout] | [INFO] [stdout] --> /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ops/range.rs:80:1 [INFO] [stdout] | [INFO] [stdout] = note: this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.8.5/src/distributions/distribution.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub trait Distribution { [INFO] [stdout] | ------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `std::ops::Range<{integer}>` to implement `SampleBorrow>` [INFO] [stdout] note: required by a bound in `gen_range` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.7.3/src/lib.rs:214:13 [INFO] [stdout] | [INFO] [stdout] 212 | fn gen_range(&mut self, low: B1, high: B2) -> T [INFO] [stdout] | --------- required by a bound in this associated function [INFO] [stdout] 213 | where [INFO] [stdout] 214 | B1: SampleBorrow + Sized, [INFO] [stdout] | ^^^^^^^^^^^^^^^ required by this bound in `Rng::gen_range` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Point: Hash` is not satisfied [INFO] [stdout] --> src/server.rs:122:44 [INFO] [stdout] | [INFO] [stdout] 122 | let location_notes = notes.entry(location).or_insert(vec![]); [INFO] [stdout] | ^^^^^ the trait `Hash` is not implemented for `Point` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `HashMap::::entry` [INFO] [stdout] --> /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/collections/hash/map.rs:887:5 [INFO] [stdout] = note: this error originates in the macro `stream_1` which comes from the expansion of the macro `async_stream::try_stream` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `Point` with `#[derive(Hash)]` [INFO] [stdout] --> /opt/rustwide/target/debug/build/routeguide-06c8cb8bc6cdcebe/out/routeguide.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 + #[derive(Hash)] [INFO] [stdout] 8 | pub struct Point { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/client.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | let point_count: i32 = rng.gen_range(2..100); [INFO] [stdout] | ^^^^^^^^^-------- argument #2 is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.7.3/src/lib.rs:212:8 [INFO] [stdout] | [INFO] [stdout] 212 | fn gen_range(&mut self, low: B1, high: B2) -> T [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 44 | let point_count: i32 = rng.gen_range(2..100, /* high */); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/client.rs:44:28 [INFO] [stdout] | [INFO] [stdout] 44 | let point_count: i32 = rng.gen_range(2..100); [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^ expected `i32`, found `Range<{integer}>` [INFO] [stdout] | | [INFO] [stdout] | expected due to this [INFO] [stdout] | [INFO] [stdout] = note: expected type `i32` [INFO] [stdout] found struct `std::ops::Range<{integer}>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `std::ops::Range<{integer}>: SampleBorrow>` is not satisfied [INFO] [stdout] --> src/client.rs:119:35 [INFO] [stdout] | [INFO] [stdout] 119 | let latitude = (rng.gen_range(0..180) - 90) * 10_000_000; [INFO] [stdout] | --------- ^^^^^^ the trait `SampleUniform` is not implemented for `std::ops::Range<{integer}>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `rand` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.7.3/src/distributions/uniform.rs:199:1 [INFO] [stdout] | [INFO] [stdout] 199 | pub trait SampleUniform: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/client.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::rngs::ThreadRng; [INFO] [stdout] | ---- one version of crate `rand` used here, as a direct dependency of the current crate [INFO] [stdout] ... [INFO] [stdout] 8 | use tonic::transport::Channel; [INFO] [stdout] | ----- one version of crate `rand` used here, as a dependency of crate `tower` [INFO] [stdout] | [INFO] [stdout] --> /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ops/range.rs:80:1 [INFO] [stdout] | [INFO] [stdout] = note: this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.8.5/src/distributions/distribution.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub trait Distribution { [INFO] [stdout] | ------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `std::ops::Range<{integer}>` to implement `SampleBorrow>` [INFO] [stdout] note: required by a bound in `gen_range` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.7.3/src/lib.rs:214:13 [INFO] [stdout] | [INFO] [stdout] 212 | fn gen_range(&mut self, low: B1, high: B2) -> T [INFO] [stdout] | --------- required by a bound in this associated function [INFO] [stdout] 213 | where [INFO] [stdout] 214 | B1: SampleBorrow + Sized, [INFO] [stdout] | ^^^^^^^^^^^^^^^ required by this bound in `Rng::gen_range` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/client.rs:119:25 [INFO] [stdout] | [INFO] [stdout] 119 | let latitude = (rng.gen_range(0..180) - 90) * 10_000_000; [INFO] [stdout] | ^^^^^^^^^-------- argument #2 is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.7.3/src/lib.rs:212:8 [INFO] [stdout] | [INFO] [stdout] 212 | fn gen_range(&mut self, low: B1, high: B2) -> T [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 119 | let latitude = (rng.gen_range(0..180, /* high */) - 90) * 10_000_000; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: cannot subtract `{integer}` from `std::ops::Range<{integer}>` [INFO] [stdout] --> src/client.rs:119:43 [INFO] [stdout] | [INFO] [stdout] 119 | let latitude = (rng.gen_range(0..180) - 90) * 10_000_000; [INFO] [stdout] | --------------------- ^ -- {integer} [INFO] [stdout] | | [INFO] [stdout] | std::ops::Range<{integer}> [INFO] [stdout] | [INFO] [stdout] note: the foreign item type `std::ops::Range<{integer}>` doesn't implement `Sub<{integer}>` [INFO] [stdout] --> /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ops/range.rs:80:1 [INFO] [stdout] | [INFO] [stdout] = note: not implement `Sub<{integer}>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `std::ops::Range<{integer}>: SampleBorrow>` is not satisfied [INFO] [stdout] --> src/client.rs:120:36 [INFO] [stdout] | [INFO] [stdout] 120 | let longitude = (rng.gen_range(0..360) - 180) * 10_000_000; [INFO] [stdout] | --------- ^^^^^^ the trait `SampleUniform` is not implemented for `std::ops::Range<{integer}>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `rand` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.7.3/src/distributions/uniform.rs:199:1 [INFO] [stdout] | [INFO] [stdout] 199 | pub trait SampleUniform: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: src/client.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::rngs::ThreadRng; [INFO] [stdout] | ---- one version of crate `rand` used here, as a direct dependency of the current crate [INFO] [stdout] ... [INFO] [stdout] 8 | use tonic::transport::Channel; [INFO] [stdout] | ----- one version of crate `rand` used here, as a dependency of crate `tower` [INFO] [stdout] | [INFO] [stdout] --> /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ops/range.rs:80:1 [INFO] [stdout] | [INFO] [stdout] = note: this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.8.5/src/distributions/distribution.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub trait Distribution { [INFO] [stdout] | ------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `std::ops::Range<{integer}>` to implement `SampleBorrow>` [INFO] [stdout] note: required by a bound in `gen_range` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.7.3/src/lib.rs:214:13 [INFO] [stdout] | [INFO] [stdout] 212 | fn gen_range(&mut self, low: B1, high: B2) -> T [INFO] [stdout] | --------- required by a bound in this associated function [INFO] [stdout] 213 | where [INFO] [stdout] 214 | B1: SampleBorrow + Sized, [INFO] [stdout] | ^^^^^^^^^^^^^^^ required by this bound in `Rng::gen_range` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/client.rs:120:26 [INFO] [stdout] | [INFO] [stdout] 120 | let longitude = (rng.gen_range(0..360) - 180) * 10_000_000; [INFO] [stdout] | ^^^^^^^^^-------- argument #2 is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.7.3/src/lib.rs:212:8 [INFO] [stdout] | [INFO] [stdout] 212 | fn gen_range(&mut self, low: B1, high: B2) -> T [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 120 | let longitude = (rng.gen_range(0..360, /* high */) - 180) * 10_000_000; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: cannot subtract `{integer}` from `std::ops::Range<{integer}>` [INFO] [stdout] --> src/client.rs:120:44 [INFO] [stdout] | [INFO] [stdout] 120 | let longitude = (rng.gen_range(0..360) - 180) * 10_000_000; [INFO] [stdout] | --------------------- ^ --- {integer} [INFO] [stdout] | | [INFO] [stdout] | std::ops::Range<{integer}> [INFO] [stdout] | [INFO] [stdout] note: the foreign item type `std::ops::Range<{integer}>` doesn't implement `Sub<{integer}>` [INFO] [stdout] --> /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ops/range.rs:80:1 [INFO] [stdout] | [INFO] [stdout] = note: not implement `Sub<{integer}>` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `routeguide` (bin "routeguide-server") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0308, E0369. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `routeguide` (bin "routeguide-client") due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "3ec5fe37c2696d3f96b575edb4878154972872123a7f34d868018562188fcebc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ec5fe37c2696d3f96b575edb4878154972872123a7f34d868018562188fcebc", kill_on_drop: false }` [INFO] [stdout] 3ec5fe37c2696d3f96b575edb4878154972872123a7f34d868018562188fcebc