[INFO] cloning repository https://github.com/clpi/rs-gr [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/clpi/rs-gr" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fclpi%2Frs-gr", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fclpi%2Frs-gr'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 72d335b80a1617219b4e0412eedf00e27fa94b61 [INFO] checking clpi/rs-gr against try#149edce6c6ee840adb602803b96d083101ef3592 for pr-133502-16 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fclpi%2Frs-gr" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/clpi/rs-gr [INFO] finished tweaking git repo https://github.com/clpi/rs-gr [INFO] tweaked toml for git repo https://github.com/clpi/rs-gr written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/clpi/rs-gr on toolchain 149edce6c6ee840adb602803b96d083101ef3592 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+149edce6c6ee840adb602803b96d083101ef3592" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/clpi/rs-gr 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" "+149edce6c6ee840adb602803b96d083101ef3592" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+149edce6c6ee840adb602803b96d083101ef3592" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b3e2541498a3cd6827fae134b82b27c30bd2e48a60ea945f5f47613611bbebd1 [INFO] running `Command { std: "docker" "start" "-a" "b3e2541498a3cd6827fae134b82b27c30bd2e48a60ea945f5f47613611bbebd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b3e2541498a3cd6827fae134b82b27c30bd2e48a60ea945f5f47613611bbebd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3e2541498a3cd6827fae134b82b27c30bd2e48a60ea945f5f47613611bbebd1", kill_on_drop: false }` [INFO] [stdout] b3e2541498a3cd6827fae134b82b27c30bd2e48a60ea945f5f47613611bbebd1 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+149edce6c6ee840adb602803b96d083101ef3592" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7775ec915339adfd39e145e71fa9d7d4b868aa132a4f2165dfae2c7515cdaec1 [INFO] running `Command { std: "docker" "start" "-a" "7775ec915339adfd39e145e71fa9d7d4b868aa132a4f2165dfae2c7515cdaec1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking arbitrary v1.3.2 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking rayon-core v1.12.1 [INFO] [stderr] Checking bytes v1.7.2 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking gimli v0.31.0 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking object v0.36.4 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Checking bytemuck v1.18.0 [INFO] [stderr] Checking atomic v0.6.0 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking addr2line v0.24.1 [INFO] [stderr] Checking quickcheck v0.8.5 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking fastrand v2.1.1 [INFO] [stderr] Compiling ll v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking tempfile v3.12.0 [INFO] [stderr] Checking backtrace v0.3.74 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling async-trait v0.1.82 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling phf_macros v0.10.0 [INFO] [stderr] Checking phf v0.10.1 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking tracing-serde v0.1.3 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking petgraph v0.6.5 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking tokio-stream v0.1.16 [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/config/mod.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cache_dir`, `config_dir`, `data_dir`, and `state_dir` [INFO] [stdout] --> src/config/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | cache_dir, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 5 | state_dir, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 6 | data_dir, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 7 | config_dir [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_trait::async_trait` [INFO] [stdout] --> src/data/cache.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::task::Context` [INFO] [stdout] --> src/data/cache.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::task::Context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::Adapter` [INFO] [stdout] --> src/data/memory.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::Adapter; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_trait::async_trait` [INFO] [stdout] --> src/data/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BTreeMap`, `BTreeSet`, `BinaryHeap`, `HashMap`, `HashSet`, and `VecDeque` [INFO] [stdout] --> src/data/mod.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::{BTreeMap, BTreeSet, BinaryHeap, HashMap, HashSet, VecDeque}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ptr::addr_of_mut` [INFO] [stdout] --> src/data/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::ptr::addr_of_mut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Path` and `str::FromStr` [INFO] [stdout] --> src/fs/mod.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | path::{Path, PathBuf}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | str::FromStr, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsyncReadExt`, `AsyncRead`, `AsyncWriteExt`, `AsyncWrite`, and `OpenOptions` [INFO] [stdout] --> src/fs/mod.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | fs::{File, OpenOptions}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 8 | io::{copy, AsyncRead, AsyncReadExt, AsyncWrite, AsyncWriteExt, Error as IoError}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Bfs`, `Data`, `Dfs`, `Graph`, `StableGraph`, `astar`, `connected_components`, `greedy_feedback_arc_set`, `has_path_connecting`, and `min_spanning_tree` [INFO] [stdout] --> src/graph/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | astar, connected_components, greedy_feedback_arc_set, has_path_connecting, [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | min_spanning_tree, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | graph::{Edge, Graph, Node}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | prelude::StableUnGraph, [INFO] [stdout] 10 | stable_graph::{StableDiGraph, StableGraph}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 11 | visit::{Bfs, Data, Dfs, EdgeIndexable}, [INFO] [stdout] | ^^^ ^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `de::DeserializeOwned` [INFO] [stdout] --> src/graph/mod.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use serde::{de::DeserializeOwned, Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Instant` and `SystemTimeError` [INFO] [stdout] --> src/graph/mod.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | time::{Instant, SystemTime, SystemTimeError}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error::Error as StdError` and `marker::PhantomData` [INFO] [stdout] --> src/graph/mod.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | use std::{error::Error as StdError, fmt::Debug, marker::PhantomData}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::ext::InstantExt` [INFO] [stdout] --> src/graph/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use time::ext::InstantExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/rt/mod.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `task` [INFO] [stdout] --> src/util/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | task, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error::*`, `rt::*`, and `util::*` [INFO] [stdout] --> src/lib.rs:10:41 [INFO] [stdout] | [INFO] [stdout] 10 | pub use super::{config::*, data::*, error::*, fs::*, graph::*, rt::*, util::*}; [INFO] [stdout] | ^^^^^^^^ ^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0119]: conflicting implementations of trait `Default` for type `AppGraph<_, _>` [INFO] [stdout] --> src/graph/mod.rs:22:35 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Serialize, Debug, Clone, Default, Deserialize)] [INFO] [stdout] | ^^^^^^^ conflicting implementation for `AppGraph<_, _>` [INFO] [stdout] ... [INFO] [stdout] 36 | / impl Default for AppGraph [INFO] [stdout] 37 | | where [INFO] [stdout] 38 | | Self: Serialize + Clone + Default + Debug + 'static, [INFO] [stdout] 39 | | K: Clone + Default + Debug + 'static + Deserialize<'static> + Serialize, [INFO] [stdout] 40 | | V: Serialize + Clone + Debug + Default + 'static + Deserialize<'static>, [INFO] [stdout] | |____________________________________________________________________________- first implementation here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed: cannot satisfy `K: Deserialize<'static>` [INFO] [stdout] --> src/graph/mod.rs:22:44 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Serialize, Debug, Clone, Default, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: multiple `impl`s or `where` clauses satisfying `K: Deserialize<'static>` found [INFO] [stdout] --> src/graph/mod.rs:22:44 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Serialize, Debug, Clone, Default, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | K: Clone + Default + Debug + 'static + Deserialize<'static> + Serialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `AppGraph` [INFO] [stdout] --> src/graph/mod.rs:27:44 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct AppGraph [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | K: Clone + Default + Debug + 'static + Deserialize<'static> + Serialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `AppGraph` [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed: cannot satisfy `K: Deserialize<'static>` [INFO] [stdout] --> src/graph/mod.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct AppGraph [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: multiple `impl`s or `where` clauses satisfying `K: Deserialize<'static>` found [INFO] [stdout] --> src/graph/mod.rs:22:44 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Serialize, Debug, Clone, Default, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | K: Clone + Default + Debug + 'static + Deserialize<'static> + Serialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required for `AppGraph` to implement `Deserialize<'de>` [INFO] [stdout] --> src/graph/mod.rs:22:44 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Serialize, Debug, Clone, Default, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 23 | #[serde(rename_all = "snake_case")] [INFO] [stdout] 24 | pub struct AppGraph [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | K: Clone + Default + Debug + 'static + Deserialize<'static> + Serialize, [INFO] [stdout] | -------------------- unsatisfied trait bound introduced in this `derive` macro [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed: cannot satisfy `K: Deserialize<'static>` [INFO] [stdout] --> src/graph/mod.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | Self: Serialize + Clone + Default + Debug + 'static, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: multiple `impl`s or `where` clauses satisfying `K: Deserialize<'static>` found [INFO] [stdout] --> src/graph/mod.rs:22:44 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Serialize, Debug, Clone, Default, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | K: Clone + Default + Debug + 'static + Deserialize<'static> + Serialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `AppGraph` [INFO] [stdout] --> src/graph/mod.rs:27:44 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct AppGraph [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | K: Clone + Default + Debug + 'static + Deserialize<'static> + Serialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `AppGraph` [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed: cannot satisfy `K: Deserialize<'static>` [INFO] [stdout] --> src/graph/mod.rs:22:44 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Serialize, Debug, Clone, Default, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: multiple `impl`s or `where` clauses satisfying `K: Deserialize<'static>` found [INFO] [stdout] --> src/graph/mod.rs:22:44 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Serialize, Debug, Clone, Default, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | K: Clone + Default + Debug + 'static + Deserialize<'static> + Serialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `graph::_:: for AppGraph>::deserialize::__Visitor` [INFO] [stdout] --> src/graph/mod.rs:27:44 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Serialize, Debug, Clone, Default, Deserialize)] [INFO] [stdout] | ----------- required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | K: Clone + Default + Debug + 'static + Deserialize<'static> + Serialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `__Visitor` [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed: cannot satisfy `K: Deserialize<'static>` [INFO] [stdout] --> src/graph/mod.rs:22:44 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Serialize, Debug, Clone, Default, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: multiple `impl`s or `where` clauses satisfying `K: Deserialize<'static>` found [INFO] [stdout] --> src/graph/mod.rs:22:44 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Serialize, Debug, Clone, Default, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | K: Clone + Default + Debug + 'static + Deserialize<'static> + Serialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required for `graph::_:: for AppGraph>::deserialize::__Visitor<'de, K, V>` to implement `Visitor<'de>` [INFO] [stdout] --> src/graph/mod.rs:22:44 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Serialize, Debug, Clone, Default, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | K: Clone + Default + Debug + 'static + Deserialize<'static> + Serialize, [INFO] [stdout] | -------------------- unsatisfied trait bound introduced in this `derive` macro [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `s` does not live long enough [INFO] [stdout] --> src/graph/mod.rs:166:21 [INFO] [stdout] | [INFO] [stdout] 165 | let s = tokio::fs::read(&self.path).await?; [INFO] [stdout] | - binding `s` declared here [INFO] [stdout] 166 | Self::deser(&s).await [INFO] [stdout] | ------------^^- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `s` is borrowed for `'static` [INFO] [stdout] 167 | } [INFO] [stdout] | - `s` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/config/mod.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cache_dir`, `config_dir`, `data_dir`, and `state_dir` [INFO] [stdout] --> src/config/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | cache_dir, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 5 | state_dir, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 6 | data_dir, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 7 | config_dir [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_trait::async_trait` [INFO] [stdout] --> src/data/cache.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::task::Context` [INFO] [stdout] --> src/data/cache.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::task::Context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::Adapter` [INFO] [stdout] --> src/data/memory.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::Adapter; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_trait::async_trait` [INFO] [stdout] --> src/data/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BTreeMap`, `BTreeSet`, `BinaryHeap`, `HashMap`, `HashSet`, and `VecDeque` [INFO] [stdout] --> src/data/mod.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::{BTreeMap, BTreeSet, BinaryHeap, HashMap, HashSet, VecDeque}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ptr::addr_of_mut` [INFO] [stdout] --> src/data/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::ptr::addr_of_mut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Path` and `str::FromStr` [INFO] [stdout] --> src/fs/mod.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | path::{Path, PathBuf}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | str::FromStr, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsyncReadExt`, `AsyncRead`, `AsyncWriteExt`, `AsyncWrite`, and `OpenOptions` [INFO] [stdout] --> src/fs/mod.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | fs::{File, OpenOptions}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 8 | io::{copy, AsyncRead, AsyncReadExt, AsyncWrite, AsyncWriteExt, Error as IoError}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Bfs`, `Data`, `Dfs`, `Graph`, `StableGraph`, `astar`, `connected_components`, `greedy_feedback_arc_set`, `has_path_connecting`, and `min_spanning_tree` [INFO] [stdout] --> src/graph/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | astar, connected_components, greedy_feedback_arc_set, has_path_connecting, [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | min_spanning_tree, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | graph::{Edge, Graph, Node}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | prelude::StableUnGraph, [INFO] [stdout] 10 | stable_graph::{StableDiGraph, StableGraph}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 11 | visit::{Bfs, Data, Dfs, EdgeIndexable}, [INFO] [stdout] | ^^^ ^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `de::DeserializeOwned` [INFO] [stdout] --> src/graph/mod.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use serde::{de::DeserializeOwned, Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Instant` and `SystemTimeError` [INFO] [stdout] --> src/graph/mod.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | time::{Instant, SystemTime, SystemTimeError}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error::Error as StdError` and `marker::PhantomData` [INFO] [stdout] --> src/graph/mod.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | use std::{error::Error as StdError, fmt::Debug, marker::PhantomData}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::ext::InstantExt` [INFO] [stdout] --> src/graph/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use time::ext::InstantExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/rt/mod.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `task` [INFO] [stdout] --> src/util/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | task, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error::*`, `rt::*`, and `util::*` [INFO] [stdout] --> src/lib.rs:10:41 [INFO] [stdout] | [INFO] [stdout] 10 | pub use super::{config::*, data::*, error::*, fs::*, graph::*, rt::*, util::*}; [INFO] [stdout] | ^^^^^^^^ ^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `tokio::time::Instant: Serialize` is not satisfied [INFO] [stdout] --> src/fs/mod.rs:12:41 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, PartialEq, Hash, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ the trait `Serialize` is not implemented for `tokio::time::Instant` [INFO] [stdout] ... [INFO] [stdout] 17 | / #[serde(default)] [INFO] [stdout] 18 | | updated: Instant, [INFO] [stdout] | |____________________- required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `tokio::time::Instant` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 184 others [INFO] [stdout] note: required by a bound in `fs::_::_serde::ser::SerializeStruct::serialize_field` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.210/src/ser/mod.rs:1867:21 [INFO] [stdout] | [INFO] [stdout] 1865 | fn serialize_field(&mut self, key: &'static str, value: &T) -> Result<(), Self::Error> [INFO] [stdout] | --------------- required by a bound in this associated function [INFO] [stdout] 1866 | where [INFO] [stdout] 1867 | T: ?Sized + Serialize; [INFO] [stdout] | ^^^^^^^^^ required by this bound in `SerializeStruct::serialize_field` [INFO] [stdout] = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `tokio::time::Instant: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/fs/mod.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | updated: Instant, [INFO] [stdout] | ^^^^^^^ the trait `Deserialize<'_>` is not implemented for `tokio::time::Instant` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `tokio::time::Instant` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] `&'a Path` implements `Deserialize<'de>` [INFO] [stdout] `&'a [u8]` implements `Deserialize<'de>` [INFO] [stdout] `&'a str` implements `Deserialize<'de>` [INFO] [stdout] `()` implements `Deserialize<'de>` [INFO] [stdout] `(T,)` implements `Deserialize<'de>` [INFO] [stdout] `(T0, T1)` implements `Deserialize<'de>` [INFO] [stdout] `(T0, T1, T2)` implements `Deserialize<'de>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Deserialize<'de>` [INFO] [stdout] and 190 others [INFO] [stdout] note: required by a bound in `next_element` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.210/src/de/mod.rs:1732:12 [INFO] [stdout] | [INFO] [stdout] 1730 | fn next_element(&mut self) -> Result, Self::Error> [INFO] [stdout] | ------------ required by a bound in this associated function [INFO] [stdout] 1731 | where [INFO] [stdout] 1732 | T: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `SeqAccess::next_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `tokio::time::Instant: Default` is not satisfied [INFO] [stdout] --> src/fs/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | / #[serde(default)] [INFO] [stdout] 18 | | updated: Instant, [INFO] [stdout] | |____________________^ the trait `Default` is not implemented for `tokio::time::Instant` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `tokio::time::Instant: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/fs/mod.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | updated: Instant, [INFO] [stdout] | ^^^^^^^ the trait `Deserialize<'_>` is not implemented for `tokio::time::Instant` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `tokio::time::Instant` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] `&'a Path` implements `Deserialize<'de>` [INFO] [stdout] `&'a [u8]` implements `Deserialize<'de>` [INFO] [stdout] `&'a str` implements `Deserialize<'de>` [INFO] [stdout] `()` implements `Deserialize<'de>` [INFO] [stdout] `(T,)` implements `Deserialize<'de>` [INFO] [stdout] `(T0, T1)` implements `Deserialize<'de>` [INFO] [stdout] `(T0, T1, T2)` implements `Deserialize<'de>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Deserialize<'de>` [INFO] [stdout] and 190 others [INFO] [stdout] note: required by a bound in `next_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.210/src/de/mod.rs:1871:12 [INFO] [stdout] | [INFO] [stdout] 1869 | fn next_value(&mut self) -> Result [INFO] [stdout] | ---------- required by a bound in this associated function [INFO] [stdout] 1870 | where [INFO] [stdout] 1871 | V: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `MapAccess::next_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `tokio::time::Instant: Default` is not satisfied [INFO] [stdout] --> src/fs/mod.rs:12:52 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, PartialEq, Hash, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ the trait `Default` is not implemented for `tokio::time::Instant` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0119]: conflicting implementations of trait `Default` for type `AppGraph<_, _>` [INFO] [stdout] --> src/graph/mod.rs:22:35 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Serialize, Debug, Clone, Default, Deserialize)] [INFO] [stdout] | ^^^^^^^ conflicting implementation for `AppGraph<_, _>` [INFO] [stdout] ... [INFO] [stdout] 36 | / impl Default for AppGraph [INFO] [stdout] 37 | | where [INFO] [stdout] 38 | | Self: Serialize + Clone + Default + Debug + 'static, [INFO] [stdout] 39 | | K: Clone + Default + Debug + 'static + Deserialize<'static> + Serialize, [INFO] [stdout] 40 | | V: Serialize + Clone + Debug + Default + 'static + Deserialize<'static>, [INFO] [stdout] | |____________________________________________________________________________- first implementation here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed: cannot satisfy `K: Deserialize<'static>` [INFO] [stdout] --> src/graph/mod.rs:22:44 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Serialize, Debug, Clone, Default, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: multiple `impl`s or `where` clauses satisfying `K: Deserialize<'static>` found [INFO] [stdout] --> src/graph/mod.rs:22:44 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Serialize, Debug, Clone, Default, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | K: Clone + Default + Debug + 'static + Deserialize<'static> + Serialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `AppGraph` [INFO] [stdout] --> src/graph/mod.rs:27:44 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct AppGraph [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | K: Clone + Default + Debug + 'static + Deserialize<'static> + Serialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `AppGraph` [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed: cannot satisfy `K: Deserialize<'static>` [INFO] [stdout] --> src/graph/mod.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct AppGraph [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: multiple `impl`s or `where` clauses satisfying `K: Deserialize<'static>` found [INFO] [stdout] --> src/graph/mod.rs:22:44 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Serialize, Debug, Clone, Default, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | K: Clone + Default + Debug + 'static + Deserialize<'static> + Serialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required for `AppGraph` to implement `Deserialize<'de>` [INFO] [stdout] --> src/graph/mod.rs:22:44 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Serialize, Debug, Clone, Default, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 23 | #[serde(rename_all = "snake_case")] [INFO] [stdout] 24 | pub struct AppGraph [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | K: Clone + Default + Debug + 'static + Deserialize<'static> + Serialize, [INFO] [stdout] | -------------------- unsatisfied trait bound introduced in this `derive` macro [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed: cannot satisfy `K: Deserialize<'static>` [INFO] [stdout] --> src/graph/mod.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | Self: Serialize + Clone + Default + Debug + 'static, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: multiple `impl`s or `where` clauses satisfying `K: Deserialize<'static>` found [INFO] [stdout] --> src/graph/mod.rs:22:44 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Serialize, Debug, Clone, Default, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | K: Clone + Default + Debug + 'static + Deserialize<'static> + Serialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `AppGraph` [INFO] [stdout] --> src/graph/mod.rs:27:44 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct AppGraph [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | K: Clone + Default + Debug + 'static + Deserialize<'static> + Serialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `AppGraph` [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed: cannot satisfy `K: Deserialize<'static>` [INFO] [stdout] --> src/graph/mod.rs:22:44 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Serialize, Debug, Clone, Default, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: multiple `impl`s or `where` clauses satisfying `K: Deserialize<'static>` found [INFO] [stdout] --> src/graph/mod.rs:22:44 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Serialize, Debug, Clone, Default, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | K: Clone + Default + Debug + 'static + Deserialize<'static> + Serialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `graph::_:: for AppGraph>::deserialize::__Visitor` [INFO] [stdout] --> src/graph/mod.rs:27:44 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Serialize, Debug, Clone, Default, Deserialize)] [INFO] [stdout] | ----------- required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | K: Clone + Default + Debug + 'static + Deserialize<'static> + Serialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `__Visitor` [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed: cannot satisfy `K: Deserialize<'static>` [INFO] [stdout] --> src/graph/mod.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct AppGraph [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: multiple `impl`s or `where` clauses satisfying `K: Deserialize<'static>` found [INFO] [stdout] --> src/graph/mod.rs:22:44 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Serialize, Debug, Clone, Default, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | K: Clone + Default + Debug + 'static + Deserialize<'static> + Serialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `AppGraph` [INFO] [stdout] --> src/graph/mod.rs:27:44 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct AppGraph [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | K: Clone + Default + Debug + 'static + Deserialize<'static> + Serialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `AppGraph` [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed: cannot satisfy `K: Deserialize<'static>` [INFO] [stdout] --> src/graph/mod.rs:22:44 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Serialize, Debug, Clone, Default, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: multiple `impl`s or `where` clauses satisfying `K: Deserialize<'static>` found [INFO] [stdout] --> src/graph/mod.rs:22:44 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Serialize, Debug, Clone, Default, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | K: Clone + Default + Debug + 'static + Deserialize<'static> + Serialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required for `graph::_:: for AppGraph>::deserialize::__Visitor<'de, K, V>` to implement `Visitor<'de>` [INFO] [stdout] --> src/graph/mod.rs:22:44 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Serialize, Debug, Clone, Default, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | K: Clone + Default + Debug + 'static + Deserialize<'static> + Serialize, [INFO] [stdout] | -------------------- unsatisfied trait bound introduced in this `derive` macro [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] error: internal compiler error: compiler/rustc_trait_selection/src/solve/fulfill/derive_errors.rs:121:17: did not expect successful goal when collecting ambiguity errors for `Binder { value: TraitPredicate( as fs::_::_serde::Deserialize<'_>>, polarity:Positive), bound_vars: [] }` [INFO] [stdout] --> src/graph/mod.rs:22:44 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Serialize, Debug, Clone, Default, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error: internal compiler error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] thread 'rustc' (1279) panicked at compiler/rustc_trait_selection/src/solve/fulfill/derive_errors.rs:121:17: [INFO] [stderr] Box [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x7236c2066663 - ::fmt::h9de798e07da6fb38 [INFO] [stderr] 1: 0x7236c2802d7c - core::fmt::write::h310ddca5e2e73c27 [INFO] [stderr] 2: 0x7236c201b151 - std::io::Write::write_fmt::h44bbaadde6df8cbf [INFO] [stderr] 3: 0x7236c202c432 - std::sys::backtrace::BacktraceLock::print::hb06a99f1eef542b2 [INFO] [stderr] 4: 0x7236c2032499 - std::panicking::default_hook::{{closure}}::hda1e658cde85ae7f [INFO] [stderr] 5: 0x7236c2031fc3 - std::panicking::default_hook::h6c78345d5d6f0029 [INFO] [stderr] 6: 0x7236c101f287 - std[91ceda6436dae70b]::panicking::update_hook::>::{closure#0} [INFO] [stderr] 7: 0x7236c20328bf - std::panicking::panic_with_hook::hf5f4a758982c1fb1 [INFO] [stderr] 8: 0x7236c105ae51 - std[91ceda6436dae70b]::panicking::begin_panic::::{closure#0} [INFO] [stderr] 9: 0x7236c104e9e6 - std[91ceda6436dae70b]::sys::backtrace::__rust_end_short_backtrace::::{closure#0}, !> [INFO] [stderr] 10: 0x7236c104e9d4 - std[91ceda6436dae70b]::panicking::begin_panic:: [INFO] [stderr] 11: 0x7236c1066291 - ::emit_producing_guarantee [INFO] [stderr] 12: 0x7236c15ab26c - ::span_bug:: [INFO] [stderr] 13: 0x7236c15d0d47 - rustc_middle[4c9c77d0905e777f]::util::bug::opt_span_bug_fmt::::{closure#0} [INFO] [stderr] 14: 0x7236c15d0f2a - rustc_middle[4c9c77d0905e777f]::ty::context::tls::with_opt::::{closure#0}, !>::{closure#0} [INFO] [stderr] 15: 0x7236c15bd7db - rustc_middle[4c9c77d0905e777f]::ty::context::tls::with_context_opt::::{closure#0}, !>::{closure#0}, !> [INFO] [stderr] 16: 0x7236bf3c2097 - rustc_middle[4c9c77d0905e777f]::util::bug::span_bug_fmt:: [INFO] [stderr] 17: 0x7236c3328cbf - >::from_solver_error [INFO] [stderr] 18: 0x7236c2e94f12 - rustc_hir_typeck[edc4071330821e56]::typeck_with_inspect::{closure#0} [INFO] [stderr] 19: 0x7236c2e88ab0 - rustc_query_impl[131a71ab8afb0a58]::plumbing::__rust_begin_short_backtrace::> [INFO] [stderr] 20: 0x7236c2e78781 - rustc_query_system[71b8d3f1b7260838]::query::plumbing::try_execute_query::, rustc_query_system[71b8d3f1b7260838]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[131a71ab8afb0a58]::plumbing::QueryCtxt, false> [INFO] [stderr] 21: 0x7236c2e78109 - rustc_query_impl[131a71ab8afb0a58]::query_impl::typeck::get_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 22: 0x7236c2bc16ed - ::par_hir_body_owners::::{closure#0} [INFO] [stderr] 23: 0x7236c2bc097a - rustc_hir_analysis[6b0c0e96bb3ad27d]::check_crate [INFO] [stderr] 24: 0x7236c2e70870 - rustc_interface[9dc0cb415389002e]::passes::analysis [INFO] [stderr] 25: 0x7236c2e70527 - rustc_query_impl[131a71ab8afb0a58]::plumbing::__rust_begin_short_backtrace::> [INFO] [stderr] 26: 0x7236c37b808e - rustc_query_system[71b8d3f1b7260838]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[131a71ab8afb0a58]::plumbing::QueryCtxt, false> [INFO] [stderr] 27: 0x7236c37b7dd4 - rustc_query_impl[131a71ab8afb0a58]::query_impl::analysis::get_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 28: 0x7236c3a7d98f - rustc_interface[9dc0cb415389002e]::passes::create_and_enter_global_ctxt::, rustc_driver_impl[9be4968407ae8bf7]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0} [INFO] [stderr] 29: 0x7236c3a75803 - , rustc_driver_impl[9be4968407ae8bf7]::run_compiler::{closure#0}::{closure#2}>::{closure#2} as core[28a9181cea2e7e5b]::ops::function::FnOnce<(&rustc_session[7859864fea45efc0]::session::Session, rustc_middle[4c9c77d0905e777f]::ty::context::CurrentGcx, alloc[6caa8a575cdc8d8c]::sync::Arc, &std[91ceda6436dae70b]::sync::once_lock::OnceLock, &rustc_data_structures[ae2d73059c671c73]::sync::worker_local::WorkerLocal, &rustc_data_structures[ae2d73059c671c73]::sync::worker_local::WorkerLocal, rustc_driver_impl[9be4968407ae8bf7]::run_compiler::{closure#0}::{closure#2})>>::call_once::{shim:vtable#0} [INFO] [stderr] 30: 0x7236c3915a7e - rustc_interface[9dc0cb415389002e]::interface::run_compiler::<(), rustc_driver_impl[9be4968407ae8bf7]::run_compiler::{closure#0}>::{closure#1} [INFO] [stderr] 31: 0x7236c387a747 - std[91ceda6436dae70b]::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> [INFO] [stderr] 32: 0x7236c387a428 - <::spawn_unchecked_::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[28a9181cea2e7e5b]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stderr] 33: 0x7236c3880b0d - std::sys::thread::unix::Thread::new::thread_start::h32812e81a1f318aa [INFO] [stderr] 34: 0x7236bd47baa4 - [INFO] [stderr] 35: 0x7236bd508a34 - clone [INFO] [stderr] 36: 0x0 - [INFO] [stderr] [INFO] [stderr] note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md [INFO] [stderr] [INFO] [stderr] note: please make sure that you have updated to the latest nightly [INFO] [stderr] [INFO] [stderr] warning: the ICE couldn't be written to `/opt/rustwide/workdir/rustc-ice-2025-10-04T03_40_17-1275.txt`: Read-only file system (os error 30) [INFO] [stderr] [INFO] [stderr] note: rustc 1.92.0-nightly (149edce6c 2025-10-02) running on x86_64-unknown-linux-gnu [INFO] [stderr] [INFO] [stderr] note: compiler flags: --crate-type lib -C embed-bitcode=no -C debuginfo=2 [INFO] [stderr] [INFO] [stderr] note: some of the compiler flags provided by cargo are hidden [INFO] [stderr] [INFO] [stderr] query stack during panic: [INFO] [stderr] #0 [typeck] type-checking `graph::_::::deserialize::::visit_seq` [INFO] [stderr] #1 [analysis] running analysis passes on this crate [INFO] [stderr] end of query stack [INFO] [stderr] [INFO] [stderr] thread 'rustc' (1279) panicked at compiler/rustc_trait_selection/src/solve/fulfill/derive_errors.rs:121:17: [INFO] [stderr] Box [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x7236c2066663 - ::fmt::h9de798e07da6fb38 [INFO] [stderr] 1: 0x7236c2802d7c - core::fmt::write::h310ddca5e2e73c27 [INFO] [stderr] 2: 0x7236c201b151 - std::io::Write::write_fmt::h44bbaadde6df8cbf [INFO] [stderr] 3: 0x7236c202c432 - std::sys::backtrace::BacktraceLock::print::hb06a99f1eef542b2 [INFO] [stderr] 4: 0x7236c2032499 - std::panicking::default_hook::{{closure}}::hda1e658cde85ae7f [INFO] [stderr] 5: 0x7236c2031fc3 - std::panicking::default_hook::h6c78345d5d6f0029 [INFO] [stderr] 6: 0x7236c101f287 - std[91ceda6436dae70b]::panicking::update_hook::>::{closure#0} [INFO] [stderr] 7: 0x7236c20328bf - std::panicking::panic_with_hook::hf5f4a758982c1fb1 [INFO] [stderr] 8: 0x7236c105ae51 - std[91ceda6436dae70b]::panicking::begin_panic::::{closure#0} [INFO] [stderr] 9: 0x7236c104e9e6 - std[91ceda6436dae70b]::sys::backtrace::__rust_end_short_backtrace::::{closure#0}, !> [INFO] [stderr] 10: 0x7236c104e9d4 - std[91ceda6436dae70b]::panicking::begin_panic:: [INFO] [stderr] 11: 0x7236c1066291 - ::emit_producing_guarantee [INFO] [stderr] 12: 0x7236c15ab26c - ::span_bug:: [INFO] [stderr] 13: 0x7236c15d0d47 - rustc_middle[4c9c77d0905e777f]::util::bug::opt_span_bug_fmt::::{closure#0} [INFO] [stderr] 14: 0x7236c15d0f2a - rustc_middle[4c9c77d0905e777f]::ty::context::tls::with_opt::::{closure#0}, !>::{closure#0} [INFO] [stderr] 15: 0x7236c15bd7db - rustc_middle[4c9c77d0905e777f]::ty::context::tls::with_context_opt::::{closure#0}, !>::{closure#0}, !> [INFO] [stderr] 16: 0x7236bf3c2097 - rustc_middle[4c9c77d0905e777f]::util::bug::span_bug_fmt:: [INFO] [stderr] 17: 0x7236c3328cbf - >::from_solver_error [INFO] [stderr] 18: 0x7236c13610e2 - , core[28a9181cea2e7e5b]::option::Option>)>, as rustc_infer[6d44be5ff61caf49]::traits::engine::TraitEngine>::collect_remaining_errors::{closure#0}>, core[28a9181cea2e7e5b]::iter::adapters::map::Map>, as rustc_infer[6d44be5ff61caf49]::traits::engine::TraitEngine>::collect_remaining_errors::{closure#1}>>, as rustc_infer[6d44be5ff61caf49]::traits::engine::TraitEngine>::collect_remaining_errors::{closure#2}> as core[28a9181cea2e7e5b]::iter::traits::iterator::Iterator>::next [INFO] [stdout] error[E0597]: `s` does not live long enough [INFO] [stdout] --> src/graph/mod.rs:166:21 [INFO] [stdout] | [INFO] [stdout] 165 | let s = tokio::fs::read(&self.path).await?; [INFO] [stdout] | - binding `s` declared here [INFO] [stdout] 166 | Self::deser(&s).await [INFO] [stdout] | ------------^^- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `s` is borrowed for `'static` [INFO] [stdout] 167 | } [INFO] [stdout] | - `s` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 19: 0x7236c2e9a241 - rustc_hir_typeck[edc4071330821e56]::typeck_with_inspect::{closure#0} [INFO] [stderr] 20: 0x7236c2e88ab0 - rustc_query_impl[131a71ab8afb0a58]::plumbing::__rust_begin_short_backtrace::> [INFO] [stderr] 21: 0x7236c2e78781 - rustc_query_system[71b8d3f1b7260838]::query::plumbing::try_execute_query::, rustc_query_system[71b8d3f1b7260838]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[131a71ab8afb0a58]::plumbing::QueryCtxt, false> [INFO] [stderr] 22: 0x7236c2e78109 - rustc_query_impl[131a71ab8afb0a58]::query_impl::typeck::get_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 23: 0x7236c2bc16ed - ::par_hir_body_owners::::{closure#0} [INFO] [stderr] 24: 0x7236c2bc097a - rustc_hir_analysis[6b0c0e96bb3ad27d]::check_crate [INFO] [stderr] 25: 0x7236c2e70870 - rustc_interface[9dc0cb415389002e]::passes::analysis [INFO] [stderr] 26: 0x7236c2e70527 - rustc_query_impl[131a71ab8afb0a58]::plumbing::__rust_begin_short_backtrace::> [INFO] [stderr] 27: 0x7236c37b808e - rustc_query_system[71b8d3f1b7260838]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[131a71ab8afb0a58]::plumbing::QueryCtxt, false> [INFO] [stderr] 28: 0x7236c37b7dd4 - rustc_query_impl[131a71ab8afb0a58]::query_impl::analysis::get_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 29: 0x7236c3a7d98f - rustc_interface[9dc0cb415389002e]::passes::create_and_enter_global_ctxt::, rustc_driver_impl[9be4968407ae8bf7]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0} [INFO] [stderr] 30: 0x7236c3a75803 - , rustc_driver_impl[9be4968407ae8bf7]::run_compiler::{closure#0}::{closure#2}>::{closure#2} as core[28a9181cea2e7e5b]::ops::function::FnOnce<(&rustc_session[7859864fea45efc0]::session::Session, rustc_middle[4c9c77d0905e777f]::ty::context::CurrentGcx, alloc[6caa8a575cdc8d8c]::sync::Arc, &std[91ceda6436dae70b]::sync::once_lock::OnceLock, &rustc_data_structures[ae2d73059c671c73]::sync::worker_local::WorkerLocal, &rustc_data_structures[ae2d73059c671c73]::sync::worker_local::WorkerLocal, rustc_driver_impl[9be4968407ae8bf7]::run_compiler::{closure#0}::{closure#2})>>::call_once::{shim:vtable#0} [INFO] [stderr] 31: 0x7236c3915a7e - rustc_interface[9dc0cb415389002e]::interface::run_compiler::<(), rustc_driver_impl[9be4968407ae8bf7]::run_compiler::{closure#0}>::{closure#1} [INFO] [stderr] 32: 0x7236c387a747 - std[91ceda6436dae70b]::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> [INFO] [stderr] 33: 0x7236c387a428 - <::spawn_unchecked_::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[28a9181cea2e7e5b]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stderr] 34: 0x7236c3880b0d - std::sys::thread::unix::Thread::new::thread_start::h32812e81a1f318aa [INFO] [stderr] 35: 0x7236bd47baa4 - [INFO] [stderr] 36: 0x7236bd508a34 - clone [INFO] [stderr] 37: 0x0 - [INFO] [stderr] [INFO] [stderr] note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md [INFO] [stderr] [INFO] [stderr] note: please make sure that you have updated to the latest nightly [INFO] [stderr] [INFO] [stderr] warning: the ICE couldn't be written to `/opt/rustwide/workdir/rustc-ice-2025-10-04T03_40_17-1275.txt`: Read-only file system (os error 30) [INFO] [stderr] [INFO] [stderr] note: rustc 1.92.0-nightly (149edce6c 2025-10-02) running on x86_64-unknown-linux-gnu [INFO] [stderr] [INFO] [stderr] note: compiler flags: --crate-type lib -C embed-bitcode=no -C debuginfo=2 [INFO] [stderr] [INFO] [stderr] note: some of the compiler flags provided by cargo are hidden [INFO] [stderr] [INFO] [stderr] query stack during panic: [INFO] [stderr] #0 [typeck] type-checking `graph::_::::deserialize::::visit_map` [INFO] [stderr] #1 [analysis] running analysis passes on this crate [INFO] [stderr] end of query stack [INFO] [stdout] error[E0277]: the trait bound `tokio::time::Instant: Serialize` is not satisfied [INFO] [stdout] --> src/fs/mod.rs:12:41 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, PartialEq, Hash, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ the trait `Serialize` is not implemented for `tokio::time::Instant` [INFO] [stdout] ... [INFO] [stdout] 17 | / #[serde(default)] [INFO] [stdout] 18 | | updated: Instant, [INFO] [stdout] | |____________________- required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `tokio::time::Instant` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 184 others [INFO] [stdout] note: required by a bound in `fs::_::_serde::ser::SerializeStruct::serialize_field` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.210/src/ser/mod.rs:1867:21 [INFO] [stdout] | [INFO] [stdout] 1865 | fn serialize_field(&mut self, key: &'static str, value: &T) -> Result<(), Self::Error> [INFO] [stdout] | --------------- required by a bound in this associated function [INFO] [stdout] 1866 | where [INFO] [stdout] 1867 | T: ?Sized + Serialize; [INFO] [stdout] | ^^^^^^^^^ required by this bound in `SerializeStruct::serialize_field` [INFO] [stdout] = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `tokio::time::Instant: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/fs/mod.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | updated: Instant, [INFO] [stdout] | ^^^^^^^ the trait `Deserialize<'_>` is not implemented for `tokio::time::Instant` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `tokio::time::Instant` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] `&'a Path` implements `Deserialize<'de>` [INFO] [stdout] `&'a [u8]` implements `Deserialize<'de>` [INFO] [stdout] `&'a str` implements `Deserialize<'de>` [INFO] [stdout] `()` implements `Deserialize<'de>` [INFO] [stdout] `(T,)` implements `Deserialize<'de>` [INFO] [stdout] `(T0, T1)` implements `Deserialize<'de>` [INFO] [stdout] `(T0, T1, T2)` implements `Deserialize<'de>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Deserialize<'de>` [INFO] [stdout] and 190 others [INFO] [stdout] note: required by a bound in `next_element` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.210/src/de/mod.rs:1732:12 [INFO] [stdout] | [INFO] [stdout] 1730 | fn next_element(&mut self) -> Result, Self::Error> [INFO] [stdout] | ------------ required by a bound in this associated function [INFO] [stdout] 1731 | where [INFO] [stdout] 1732 | T: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `SeqAccess::next_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `tokio::time::Instant: Default` is not satisfied [INFO] [stdout] --> src/fs/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | / #[serde(default)] [INFO] [stdout] 18 | | updated: Instant, [INFO] [stdout] | |____________________^ the trait `Default` is not implemented for `tokio::time::Instant` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `tokio::time::Instant: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/fs/mod.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | updated: Instant, [INFO] [stdout] | ^^^^^^^ the trait `Deserialize<'_>` is not implemented for `tokio::time::Instant` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `tokio::time::Instant` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] `&'a Path` implements `Deserialize<'de>` [INFO] [stdout] `&'a [u8]` implements `Deserialize<'de>` [INFO] [stdout] `&'a str` implements `Deserialize<'de>` [INFO] [stdout] `()` implements `Deserialize<'de>` [INFO] [stdout] `(T,)` implements `Deserialize<'de>` [INFO] [stdout] `(T0, T1)` implements `Deserialize<'de>` [INFO] [stdout] `(T0, T1, T2)` implements `Deserialize<'de>` [INFO] [stdout] `(T0, T1, T2, T3)` implements `Deserialize<'de>` [INFO] [stdout] and 190 others [INFO] [stdout] note: required by a bound in `next_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.210/src/de/mod.rs:1871:12 [INFO] [stdout] | [INFO] [stdout] 1869 | fn next_value(&mut self) -> Result [INFO] [stdout] | ---------- required by a bound in this associated function [INFO] [stdout] 1870 | where [INFO] [stdout] 1871 | V: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `MapAccess::next_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `tokio::time::Instant: Default` is not satisfied [INFO] [stdout] --> src/fs/mod.rs:12:52 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, PartialEq, Hash, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ the trait `Default` is not implemented for `tokio::time::Instant` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed: cannot satisfy `K: Deserialize<'static>` [INFO] [stdout] --> src/graph/mod.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct AppGraph [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: multiple `impl`s or `where` clauses satisfying `K: Deserialize<'static>` found [INFO] [stdout] --> src/graph/mod.rs:22:44 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Serialize, Debug, Clone, Default, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | K: Clone + Default + Debug + 'static + Deserialize<'static> + Serialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `AppGraph` [INFO] [stdout] --> src/graph/mod.rs:27:44 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct AppGraph [INFO] [stdout] | -------- required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | K: Clone + Default + Debug + 'static + Deserialize<'static> + Serialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `AppGraph` [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: internal compiler error: compiler/rustc_trait_selection/src/solve/fulfill/derive_errors.rs:121:17: did not expect successful goal when collecting ambiguity errors for `Binder { value: TraitPredicate( as fs::_::_serde::Deserialize<'_>>, polarity:Positive), bound_vars: [] }` [INFO] [stdout] --> src/graph/mod.rs:22:44 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Serialize, Debug, Clone, Default, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error: internal compiler error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] thread 'rustc' (1282) panicked at compiler/rustc_trait_selection/src/solve/fulfill/derive_errors.rs:121:17: [INFO] [stderr] Box [INFO] [stderr] stack backtrace: [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/graph/mod.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 66 | .insert( [INFO] [stdout] | ------ arguments to this method are incorrect [INFO] [stdout] 67 | ni.clone() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `usize`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/149edce6c6ee840adb602803b96d083101ef3592/library/alloc/src/collections/btree/map.rs:1046:12 [INFO] [stdout] help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 67 | (ni.clone() as u32).try_into().unwrap(), [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 0: 0x7e8758466663 - ::fmt::h9de798e07da6fb38 [INFO] [stderr] 1: 0x7e8758c02d7c - core::fmt::write::h310ddca5e2e73c27 [INFO] [stderr] 2: 0x7e875841b151 - std::io::Write::write_fmt::h44bbaadde6df8cbf [INFO] [stderr] 3: 0x7e875842c432 - std::sys::backtrace::BacktraceLock::print::hb06a99f1eef542b2 [INFO] [stderr] 4: 0x7e8758432499 - std::panicking::default_hook::{{closure}}::hda1e658cde85ae7f [INFO] [stderr] 5: 0x7e8758431fc3 - std::panicking::default_hook::h6c78345d5d6f0029 [INFO] [stderr] 6: 0x7e875741f287 - std[91ceda6436dae70b]::panicking::update_hook::>::{closure#0} [INFO] [stdout] error[E0308]: arguments to this method are incorrect [INFO] [stdout] --> src/graph/mod.rs:76:28 [INFO] [stdout] | [INFO] [stdout] 76 | let e = self.graph.add_edge(a, b, v.clone()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: expected `NodeIndex`, found `usize` [INFO] [stdout] --> src/graph/mod.rs:76:37 [INFO] [stdout] | [INFO] [stdout] 76 | let e = self.graph.add_edge(a, b, v.clone()); [INFO] [stdout] | ^ [INFO] [stdout] = note: expected struct `NodeIndex` [INFO] [stdout] found type `usize` [INFO] [stdout] note: expected `NodeIndex`, found `usize` [INFO] [stdout] --> src/graph/mod.rs:76:40 [INFO] [stdout] | [INFO] [stdout] 76 | let e = self.graph.add_edge(a, b, v.clone()); [INFO] [stdout] | ^ [INFO] [stdout] = note: expected struct `NodeIndex` [INFO] [stdout] found type `usize` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/petgraph-0.6.5/src/graph_impl/stable_graph/mod.rs:351:12 [INFO] [stdout] | [INFO] [stdout] 351 | pub fn add_edge(&mut self, a: NodeIndex, b: NodeIndex, weight: E) -> EdgeIndex { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 7: 0x7e87584328bf - std::panicking::panic_with_hook::hf5f4a758982c1fb1 [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/graph/mod.rs:103:32 [INFO] [stdout] | [INFO] [stdout] 103 | self.graph.node_weight(n) [INFO] [stdout] | ----------- ^ expected `NodeIndex`, found `usize` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `NodeIndex` [INFO] [stdout] found type `usize` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/petgraph-0.6.5/src/graph_impl/stable_graph/mod.rs:480:12 [INFO] [stdout] | [INFO] [stdout] 480 | pub fn node_weight(&self, a: NodeIndex) -> Option<&N> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 8: 0x7e875745ae51 - std[91ceda6436dae70b]::panicking::begin_panic::::{closure#0} [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/graph/mod.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 51 | impl AppGraph [INFO] [stdout] | - found this type parameter [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn get_node(&self, n: usize) -> Option<&Node> { [INFO] [stdout] | ---------------- expected `std::option::Option<&petgraph::graph::Node>` because of return type [INFO] [stdout] 103 | self.graph.node_weight(n) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Option<&Node>`, found `Option<&K>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<&petgraph::graph::Node>` [INFO] [stdout] found enum `std::option::Option<&K>` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 9: 0x7e875744e9e6 - std[91ceda6436dae70b]::sys::backtrace::__rust_end_short_backtrace::::{closure#0}, !> [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/graph/mod.rs:106:32 [INFO] [stdout] | [INFO] [stdout] 106 | self.graph.edge_weight(e) [INFO] [stdout] | ----------- ^ expected `EdgeIndex`, found `usize` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `petgraph::prelude::EdgeIndex` [INFO] [stdout] found type `usize` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/petgraph-0.6.5/src/graph_impl/stable_graph/mod.rs:526:12 [INFO] [stdout] | [INFO] [stdout] 526 | pub fn edge_weight(&self, e: EdgeIndex) -> Option<&E> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 10: 0x7e875744e9d4 - std[91ceda6436dae70b]::panicking::begin_panic:: [INFO] [stderr] 11: 0x7e8757466291 - ::emit_producing_guarantee [INFO] [stderr] 12: 0x7e87579ab26c - ::span_bug:: [INFO] [stderr] 13: 0x7e87579d0d47 - rustc_middle[4c9c77d0905e777f]::util::bug::opt_span_bug_fmt::::{closure#0} [INFO] [stderr] 14: 0x7e87579d0f2a - rustc_middle[4c9c77d0905e777f]::ty::context::tls::with_opt::::{closure#0}, !>::{closure#0} [INFO] [stderr] 15: 0x7e87579bd7db - rustc_middle[4c9c77d0905e777f]::ty::context::tls::with_context_opt::::{closure#0}, !>::{closure#0}, !> [INFO] [stderr] 16: 0x7e87557c2097 - rustc_middle[4c9c77d0905e777f]::util::bug::span_bug_fmt:: [INFO] [stderr] 17: 0x7e8759728cbf - >::from_solver_error [INFO] [stderr] 18: 0x7e8759294f12 - rustc_hir_typeck[edc4071330821e56]::typeck_with_inspect::{closure#0} [INFO] [stderr] 19: 0x7e8759288ab0 - rustc_query_impl[131a71ab8afb0a58]::plumbing::__rust_begin_short_backtrace::> [INFO] [stderr] 20: 0x7e8759278781 - rustc_query_system[71b8d3f1b7260838]::query::plumbing::try_execute_query::, rustc_query_system[71b8d3f1b7260838]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[131a71ab8afb0a58]::plumbing::QueryCtxt, false> [INFO] [stderr] 21: 0x7e8759278109 - rustc_query_impl[131a71ab8afb0a58]::query_impl::typeck::get_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 22: 0x7e8758fc16ed - ::par_hir_body_owners::::{closure#0} [INFO] [stderr] 23: 0x7e8758fc097a - rustc_hir_analysis[6b0c0e96bb3ad27d]::check_crate [INFO] [stderr] 24: 0x7e8759270870 - rustc_interface[9dc0cb415389002e]::passes::analysis [INFO] [stderr] 25: 0x7e8759270527 - rustc_query_impl[131a71ab8afb0a58]::plumbing::__rust_begin_short_backtrace::> [INFO] [stderr] 26: 0x7e8759bb808e - rustc_query_system[71b8d3f1b7260838]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[131a71ab8afb0a58]::plumbing::QueryCtxt, false> [INFO] [stderr] 27: 0x7e8759bb7dd4 - rustc_query_impl[131a71ab8afb0a58]::query_impl::analysis::get_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 28: 0x7e8759e7d98f - rustc_interface[9dc0cb415389002e]::passes::create_and_enter_global_ctxt::, rustc_driver_impl[9be4968407ae8bf7]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0} [INFO] [stderr] 29: 0x7e8759e75803 - , rustc_driver_impl[9be4968407ae8bf7]::run_compiler::{closure#0}::{closure#2}>::{closure#2} as core[28a9181cea2e7e5b]::ops::function::FnOnce<(&rustc_session[7859864fea45efc0]::session::Session, rustc_middle[4c9c77d0905e777f]::ty::context::CurrentGcx, alloc[6caa8a575cdc8d8c]::sync::Arc, &std[91ceda6436dae70b]::sync::once_lock::OnceLock, &rustc_data_structures[ae2d73059c671c73]::sync::worker_local::WorkerLocal, &rustc_data_structures[ae2d73059c671c73]::sync::worker_local::WorkerLocal, rustc_driver_impl[9be4968407ae8bf7]::run_compiler::{closure#0}::{closure#2})>>::call_once::{shim:vtable#0} [INFO] [stderr] 30: 0x7e8759d15a7e - rustc_interface[9dc0cb415389002e]::interface::run_compiler::<(), rustc_driver_impl[9be4968407ae8bf7]::run_compiler::{closure#0}>::{closure#1} [INFO] [stderr] 31: 0x7e8759c7a747 - std[91ceda6436dae70b]::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> [INFO] [stderr] 32: 0x7e8759c7a428 - <::spawn_unchecked_::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[28a9181cea2e7e5b]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stderr] 33: 0x7e8759c80b0d - std::sys::thread::unix::Thread::new::thread_start::h32812e81a1f318aa [INFO] [stderr] 34: 0x7e875388aaa4 - [INFO] [stderr] 35: 0x7e8753917a34 - clone [INFO] [stderr] 36: 0x0 - [INFO] [stderr] [INFO] [stderr] note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md [INFO] [stderr] [INFO] [stderr] note: please make sure that you have updated to the latest nightly [INFO] [stderr] [INFO] [stderr] warning: the ICE couldn't be written to `/opt/rustwide/workdir/rustc-ice-2025-10-04T03_40_17-1277.txt`: Read-only file system (os error 30) [INFO] [stderr] [INFO] [stderr] note: rustc 1.92.0-nightly (149edce6c 2025-10-02) running on x86_64-unknown-linux-gnu [INFO] [stderr] [INFO] [stderr] note: compiler flags: -C embed-bitcode=no -C debuginfo=2 [INFO] [stderr] [INFO] [stderr] note: some of the compiler flags provided by cargo are hidden [INFO] [stderr] [INFO] [stderr] query stack during panic: [INFO] [stderr] #0 [typeck] type-checking `graph::_::::deserialize::::visit_seq` [INFO] [stderr] #1 [analysis] running analysis passes on this crate [INFO] [stderr] end of query stack [INFO] [stderr] [INFO] [stderr] thread 'rustc' (1282) panicked at compiler/rustc_trait_selection/src/solve/fulfill/derive_errors.rs:121:17: [INFO] [stderr] Box [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x7e8758466663 - ::fmt::h9de798e07da6fb38 [INFO] [stderr] 1: 0x7e8758c02d7c - core::fmt::write::h310ddca5e2e73c27 [INFO] [stderr] 2: 0x7e875841b151 - std::io::Write::write_fmt::h44bbaadde6df8cbf [INFO] [stderr] 3: 0x7e875842c432 - std::sys::backtrace::BacktraceLock::print::hb06a99f1eef542b2 [INFO] [stderr] 4: 0x7e8758432499 - std::panicking::default_hook::{{closure}}::hda1e658cde85ae7f [INFO] [stderr] 5: 0x7e8758431fc3 - std::panicking::default_hook::h6c78345d5d6f0029 [INFO] [stderr] 6: 0x7e875741f287 - std[91ceda6436dae70b]::panicking::update_hook::>::{closure#0} [INFO] [stderr] 7: 0x7e87584328bf - std::panicking::panic_with_hook::hf5f4a758982c1fb1 [INFO] [stderr] 8: 0x7e875745ae51 - std[91ceda6436dae70b]::panicking::begin_panic::::{closure#0} [INFO] [stderr] 9: 0x7e875744e9e6 - std[91ceda6436dae70b]::sys::backtrace::__rust_end_short_backtrace::::{closure#0}, !> [INFO] [stderr] 10: 0x7e875744e9d4 - std[91ceda6436dae70b]::panicking::begin_panic:: [INFO] [stderr] 11: 0x7e8757466291 - ::emit_producing_guarantee [INFO] [stderr] 12: 0x7e87579ab26c - ::span_bug:: [INFO] [stderr] 13: 0x7e87579d0d47 - rustc_middle[4c9c77d0905e777f]::util::bug::opt_span_bug_fmt::::{closure#0} [INFO] [stderr] 14: 0x7e87579d0f2a - rustc_middle[4c9c77d0905e777f]::ty::context::tls::with_opt::::{closure#0}, !>::{closure#0} [INFO] [stderr] 15: 0x7e87579bd7db - rustc_middle[4c9c77d0905e777f]::ty::context::tls::with_context_opt::::{closure#0}, !>::{closure#0}, !> [INFO] [stderr] 16: 0x7e87557c2097 - rustc_middle[4c9c77d0905e777f]::util::bug::span_bug_fmt:: [INFO] [stderr] 17: 0x7e8759728cbf - >::from_solver_error [INFO] [stderr] 18: 0x7e87577610e2 - , core[28a9181cea2e7e5b]::option::Option>)>, as rustc_infer[6d44be5ff61caf49]::traits::engine::TraitEngine>::collect_remaining_errors::{closure#0}>, core[28a9181cea2e7e5b]::iter::adapters::map::Map>, as rustc_infer[6d44be5ff61caf49]::traits::engine::TraitEngine>::collect_remaining_errors::{closure#1}>>, as rustc_infer[6d44be5ff61caf49]::traits::engine::TraitEngine>::collect_remaining_errors::{closure#2}> as core[28a9181cea2e7e5b]::iter::traits::iterator::Iterator>::next [INFO] [stderr] 19: 0x7e875929a241 - rustc_hir_typeck[edc4071330821e56]::typeck_with_inspect::{closure#0} [INFO] [stderr] 20: 0x7e8759288ab0 - rustc_query_impl[131a71ab8afb0a58]::plumbing::__rust_begin_short_backtrace::> [INFO] [stderr] 21: 0x7e8759278781 - rustc_query_system[71b8d3f1b7260838]::query::plumbing::try_execute_query::, rustc_query_system[71b8d3f1b7260838]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[131a71ab8afb0a58]::plumbing::QueryCtxt, false> [INFO] [stderr] 22: 0x7e8759278109 - rustc_query_impl[131a71ab8afb0a58]::query_impl::typeck::get_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 23: 0x7e8758fc16ed - ::par_hir_body_owners::::{closure#0} [INFO] [stderr] 24: 0x7e8758fc097a - rustc_hir_analysis[6b0c0e96bb3ad27d]::check_crate [INFO] [stderr] 25: 0x7e8759270870 - rustc_interface[9dc0cb415389002e]::passes::analysis [INFO] [stderr] 26: 0x7e8759270527 - rustc_query_impl[131a71ab8afb0a58]::plumbing::__rust_begin_short_backtrace::> [INFO] [stderr] 27: 0x7e8759bb808e - rustc_query_system[71b8d3f1b7260838]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[131a71ab8afb0a58]::plumbing::QueryCtxt, false> [INFO] [stderr] 28: 0x7e8759bb7dd4 - rustc_query_impl[131a71ab8afb0a58]::query_impl::analysis::get_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 29: 0x7e8759e7d98f - rustc_interface[9dc0cb415389002e]::passes::create_and_enter_global_ctxt::, rustc_driver_impl[9be4968407ae8bf7]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0} [INFO] [stderr] 30: 0x7e8759e75803 - , rustc_driver_impl[9be4968407ae8bf7]::run_compiler::{closure#0}::{closure#2}>::{closure#2} as core[28a9181cea2e7e5b]::ops::function::FnOnce<(&rustc_session[7859864fea45efc0]::session::Session, rustc_middle[4c9c77d0905e777f]::ty::context::CurrentGcx, alloc[6caa8a575cdc8d8c]::sync::Arc, &std[91ceda6436dae70b]::sync::once_lock::OnceLock, &rustc_data_structures[ae2d73059c671c73]::sync::worker_local::WorkerLocal, &rustc_data_structures[ae2d73059c671c73]::sync::worker_local::WorkerLocal, rustc_driver_impl[9be4968407ae8bf7]::run_compiler::{closure#0}::{closure#2})>>::call_once::{shim:vtable#0} [INFO] [stderr] 31: 0x7e8759d15a7e - rustc_interface[9dc0cb415389002e]::interface::run_compiler::<(), rustc_driver_impl[9be4968407ae8bf7]::run_compiler::{closure#0}>::{closure#1} [INFO] [stderr] 32: 0x7e8759c7a747 - std[91ceda6436dae70b]::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> [INFO] [stderr] 33: 0x7e8759c7a428 - <::spawn_unchecked_::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[28a9181cea2e7e5b]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stderr] 34: 0x7e8759c80b0d - std::sys::thread::unix::Thread::new::thread_start::h32812e81a1f318aa [INFO] [stderr] 35: 0x7e875388aaa4 - [INFO] [stderr] 36: 0x7e8753917a34 - clone [INFO] [stderr] 37: 0x0 - [INFO] [stderr] [INFO] [stderr] note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md [INFO] [stderr] [INFO] [stderr] note: please make sure that you have updated to the latest nightly [INFO] [stderr] [INFO] [stderr] warning: the ICE couldn't be written to `/opt/rustwide/workdir/rustc-ice-2025-10-04T03_40_17-1277.txt`: Read-only file system (os error 30) [INFO] [stderr] [INFO] [stderr] note: rustc 1.92.0-nightly (149edce6c 2025-10-02) running on x86_64-unknown-linux-gnu [INFO] [stderr] [INFO] [stderr] note: compiler flags: -C embed-bitcode=no -C debuginfo=2 [INFO] [stderr] [INFO] [stderr] note: some of the compiler flags provided by cargo are hidden [INFO] [stderr] [INFO] [stderr] query stack during panic: [INFO] [stderr] #0 [typeck] type-checking `graph::_::::deserialize::::visit_map` [INFO] [stderr] #1 [analysis] running analysis passes on this crate [INFO] [stderr] end of query stack [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/graph/mod.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 51 | impl AppGraph [INFO] [stdout] | - found this type parameter [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn get_edge(&self, e: usize) -> Option<&Edge> { [INFO] [stdout] | ---------------- expected `std::option::Option<&petgraph::graph::Edge>` because of return type [INFO] [stdout] 106 | self.graph.edge_weight(e) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Option<&Edge>`, found `Option<&V>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<&petgraph::graph::Edge>` [INFO] [stdout] found enum `std::option::Option<&V>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/graph/mod.rs:110:36 [INFO] [stdout] | [INFO] [stdout] 110 | self.graph.node_weight_mut(n) [INFO] [stdout] | --------------- ^ expected `NodeIndex`, found `usize` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `NodeIndex` [INFO] [stdout] found type `usize` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/petgraph-0.6.5/src/graph_impl/stable_graph/mod.rs:490:12 [INFO] [stdout] | [INFO] [stdout] 490 | pub fn node_weight_mut(&mut self, a: NodeIndex) -> Option<&mut N> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/graph/mod.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 51 | impl AppGraph [INFO] [stdout] | - found this type parameter [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn get_node_mut(&mut self, n: usize) -> Option<&mut Node> { [INFO] [stdout] | -------------------- expected `std::option::Option<&mut petgraph::graph::Node>` because of return type [INFO] [stdout] 110 | self.graph.node_weight_mut(n) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Option<&mut Node>`, found `Option<&mut K>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<&mut petgraph::graph::Node>` [INFO] [stdout] found enum `std::option::Option<&mut K>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/graph/mod.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 66 | .insert( [INFO] [stdout] | ------ arguments to this method are incorrect [INFO] [stdout] 67 | ni.clone() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `usize`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/149edce6c6ee840adb602803b96d083101ef3592/library/alloc/src/collections/btree/map.rs:1046:12 [INFO] [stdout] help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 67 | (ni.clone() as u32).try_into().unwrap(), [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this method are incorrect [INFO] [stdout] --> src/graph/mod.rs:76:28 [INFO] [stdout] | [INFO] [stdout] 76 | let e = self.graph.add_edge(a, b, v.clone()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: expected `NodeIndex`, found `usize` [INFO] [stdout] --> src/graph/mod.rs:76:37 [INFO] [stdout] | [INFO] [stdout] 76 | let e = self.graph.add_edge(a, b, v.clone()); [INFO] [stdout] | ^ [INFO] [stdout] = note: expected struct `NodeIndex` [INFO] [stdout] found type `usize` [INFO] [stdout] note: expected `NodeIndex`, found `usize` [INFO] [stdout] --> src/graph/mod.rs:76:40 [INFO] [stdout] | [INFO] [stdout] 76 | let e = self.graph.add_edge(a, b, v.clone()); [INFO] [stdout] | ^ [INFO] [stdout] = note: expected struct `NodeIndex` [INFO] [stdout] found type `usize` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/petgraph-0.6.5/src/graph_impl/stable_graph/mod.rs:351:12 [INFO] [stdout] | [INFO] [stdout] 351 | pub fn add_edge(&mut self, a: NodeIndex, b: NodeIndex, weight: E) -> EdgeIndex { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/graph/mod.rs:113:36 [INFO] [stdout] | [INFO] [stdout] 113 | self.graph.edge_weight_mut(e) [INFO] [stdout] | --------------- ^ expected `EdgeIndex`, found `usize` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `petgraph::prelude::EdgeIndex` [INFO] [stdout] found type `usize` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/petgraph-0.6.5/src/graph_impl/stable_graph/mod.rs:536:12 [INFO] [stdout] | [INFO] [stdout] 536 | pub fn edge_weight_mut(&mut self, e: EdgeIndex) -> Option<&mut E> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/graph/mod.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 51 | impl AppGraph [INFO] [stdout] | - found this type parameter [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn get_edge_mut(&mut self, e: usize) -> Option<&mut Edge> { [INFO] [stdout] | -------------------- expected `std::option::Option<&mut petgraph::graph::Edge>` because of return type [INFO] [stdout] 113 | self.graph.edge_weight_mut(e) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Option<&mut Edge>`, found `Option<&mut V>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<&mut petgraph::graph::Edge>` [INFO] [stdout] found enum `std::option::Option<&mut V>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/graph/mod.rs:103:32 [INFO] [stdout] | [INFO] [stdout] 103 | self.graph.node_weight(n) [INFO] [stdout] | ----------- ^ expected `NodeIndex`, found `usize` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `NodeIndex` [INFO] [stdout] found type `usize` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/petgraph-0.6.5/src/graph_impl/stable_graph/mod.rs:480:12 [INFO] [stdout] | [INFO] [stdout] 480 | pub fn node_weight(&self, a: NodeIndex) -> Option<&N> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/graph/mod.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 51 | impl AppGraph [INFO] [stdout] | - found this type parameter [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn get_node(&self, n: usize) -> Option<&Node> { [INFO] [stdout] | ---------------- expected `std::option::Option<&petgraph::graph::Node>` because of return type [INFO] [stdout] 103 | self.graph.node_weight(n) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Option<&Node>`, found `Option<&K>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<&petgraph::graph::Node>` [INFO] [stdout] found enum `std::option::Option<&K>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/graph/mod.rs:106:32 [INFO] [stdout] | [INFO] [stdout] 106 | self.graph.edge_weight(e) [INFO] [stdout] | ----------- ^ expected `EdgeIndex`, found `usize` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `petgraph::prelude::EdgeIndex` [INFO] [stdout] found type `usize` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/petgraph-0.6.5/src/graph_impl/stable_graph/mod.rs:526:12 [INFO] [stdout] | [INFO] [stdout] 526 | pub fn edge_weight(&self, e: EdgeIndex) -> Option<&E> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/graph/mod.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 51 | impl AppGraph [INFO] [stdout] | - found this type parameter [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn get_edge(&self, e: usize) -> Option<&Edge> { [INFO] [stdout] | ---------------- expected `std::option::Option<&petgraph::graph::Edge>` because of return type [INFO] [stdout] 106 | self.graph.edge_weight(e) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Option<&Edge>`, found `Option<&V>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<&petgraph::graph::Edge>` [INFO] [stdout] found enum `std::option::Option<&V>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `node_bound` found for struct `StableGraph` in the current scope [INFO] [stdout] --> src/graph/mod.rs:116:20 [INFO] [stdout] | [INFO] [stdout] 116 | self.graph.node_bound(n) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `node_count` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/petgraph-0.6.5/src/graph_impl/stable_graph/mod.rs:239:5 [INFO] [stdout] | [INFO] [stdout] 239 | pub fn node_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `NodeIndexable` which provides `node_bound` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use petgraph::visit::NodeIndexable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> src/graph/mod.rs:119:20 [INFO] [stdout] | [INFO] [stdout] 119 | self.graph.edge_bound(e) [INFO] [stdout] | ^^^^^^^^^^ - unexpected argument of type `usize` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/petgraph-0.6.5/src/visit/mod.rs:361:12 [INFO] [stdout] | [INFO] [stdout] 361 | fn edge_bound(self: &Self) -> usize; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 119 - self.graph.edge_bound(e) [INFO] [stdout] 119 + self.graph.edge_bound() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/graph/mod.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn get_edge_index(&self, e: usize) -> Option { [INFO] [stdout] | ----------------- expected `std::option::Option` because of return type [INFO] [stdout] 119 | self.graph.edge_bound(e) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ expected `Option`, found `usize` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option` [INFO] [stdout] found type `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/graph/mod.rs:110:36 [INFO] [stdout] | [INFO] [stdout] 110 | self.graph.node_weight_mut(n) [INFO] [stdout] | --------------- ^ expected `NodeIndex`, found `usize` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `NodeIndex` [INFO] [stdout] found type `usize` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/petgraph-0.6.5/src/graph_impl/stable_graph/mod.rs:490:12 [INFO] [stdout] | [INFO] [stdout] 490 | pub fn node_weight_mut(&mut self, a: NodeIndex) -> Option<&mut N> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/graph/mod.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 51 | impl AppGraph [INFO] [stdout] | - found this type parameter [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn get_node_mut(&mut self, n: usize) -> Option<&mut Node> { [INFO] [stdout] | -------------------- expected `std::option::Option<&mut petgraph::graph::Node>` because of return type [INFO] [stdout] 110 | self.graph.node_weight_mut(n) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Option<&mut Node>`, found `Option<&mut K>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<&mut petgraph::graph::Node>` [INFO] [stdout] found enum `std::option::Option<&mut K>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0119, E0277, E0283, E0308, E0597, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/graph/mod.rs:113:36 [INFO] [stdout] | [INFO] [stdout] 113 | self.graph.edge_weight_mut(e) [INFO] [stdout] | --------------- ^ expected `EdgeIndex`, found `usize` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `petgraph::prelude::EdgeIndex` [INFO] [stdout] found type `usize` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/petgraph-0.6.5/src/graph_impl/stable_graph/mod.rs:536:12 [INFO] [stdout] | [INFO] [stdout] 536 | pub fn edge_weight_mut(&mut self, e: EdgeIndex) -> Option<&mut E> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/graph/mod.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 51 | impl AppGraph [INFO] [stdout] | - found this type parameter [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn get_edge_mut(&mut self, e: usize) -> Option<&mut Edge> { [INFO] [stdout] | -------------------- expected `std::option::Option<&mut petgraph::graph::Edge>` because of return type [INFO] [stdout] 113 | self.graph.edge_weight_mut(e) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Option<&mut Edge>`, found `Option<&mut V>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<&mut petgraph::graph::Edge>` [INFO] [stdout] found enum `std::option::Option<&mut V>` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ll` (lib) due to 26 previous errors; 18 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `node_bound` found for struct `StableGraph` in the current scope [INFO] [stdout] --> src/graph/mod.rs:116:20 [INFO] [stdout] | [INFO] [stdout] 116 | self.graph.node_bound(n) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `node_count` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/petgraph-0.6.5/src/graph_impl/stable_graph/mod.rs:239:5 [INFO] [stdout] | [INFO] [stdout] 239 | pub fn node_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `NodeIndexable` which provides `node_bound` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use petgraph::visit::NodeIndexable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> src/graph/mod.rs:119:20 [INFO] [stdout] | [INFO] [stdout] 119 | self.graph.edge_bound(e) [INFO] [stdout] | ^^^^^^^^^^ - unexpected argument of type `usize` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/petgraph-0.6.5/src/visit/mod.rs:361:12 [INFO] [stdout] | [INFO] [stdout] 361 | fn edge_bound(self: &Self) -> usize; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 119 - self.graph.edge_bound(e) [INFO] [stdout] 119 + self.graph.edge_bound() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/graph/mod.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn get_edge_index(&self, e: usize) -> Option { [INFO] [stdout] | ----------------- expected `std::option::Option` because of return type [INFO] [stdout] 119 | self.graph.edge_bound(e) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ expected `Option`, found `usize` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option` [INFO] [stdout] found type `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0119, E0277, E0283, E0308, E0597, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ll` (lib test) due to 26 previous errors; 18 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7775ec915339adfd39e145e71fa9d7d4b868aa132a4f2165dfae2c7515cdaec1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7775ec915339adfd39e145e71fa9d7d4b868aa132a4f2165dfae2c7515cdaec1", kill_on_drop: false }` [INFO] [stdout] 7775ec915339adfd39e145e71fa9d7d4b868aa132a4f2165dfae2c7515cdaec1