[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 master#42b384ec0dfcd528d99a4db0a337d9188a9eecaa 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-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/clpi/rs-gr on toolchain 42b384ec0dfcd528d99a4db0a337d9188a9eecaa [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+42b384ec0dfcd528d99a4db0a337d9188a9eecaa" "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" "+42b384ec0dfcd528d99a4db0a337d9188a9eecaa" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded valuable-serde v0.1.0 [INFO] [stderr] Downloaded rand_pcg v0.1.2 [INFO] [stderr] Downloaded autocfg v0.1.8 [INFO] [stderr] Downloaded quickcheck v0.8.5 [INFO] [stderr] Downloaded redox_syscall v0.5.4 [INFO] [stderr] Downloaded tokio-stream v0.1.16 [INFO] [stderr] Downloaded rand_xorshift v0.1.1 [INFO] [stderr] Downloaded rand_chacha v0.1.1 [INFO] [stderr] Downloaded rand_hc v0.1.0 [INFO] [stderr] Downloaded async-trait v0.1.82 [INFO] [stderr] Downloaded rand_isaac v0.1.1 [INFO] [stderr] Downloaded rand v0.6.5 [INFO] [stderr] Downloaded cloudabi v0.0.3 [INFO] [stderr] Downloaded bytemuck v1.18.0 [INFO] [stderr] Downloaded rand_os v0.1.3 [INFO] [stderr] Downloaded rand_jitter v0.1.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+42b384ec0dfcd528d99a4db0a337d9188a9eecaa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1c58066038c8c2939f16eac7d35653db8c2f2eb058923c1aaa6d8757333eed13 [INFO] running `Command { std: "docker" "start" "-a" "1c58066038c8c2939f16eac7d35653db8c2f2eb058923c1aaa6d8757333eed13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1c58066038c8c2939f16eac7d35653db8c2f2eb058923c1aaa6d8757333eed13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c58066038c8c2939f16eac7d35653db8c2f2eb058923c1aaa6d8757333eed13", kill_on_drop: false }` [INFO] [stdout] 1c58066038c8c2939f16eac7d35653db8c2f2eb058923c1aaa6d8757333eed13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+42b384ec0dfcd528d99a4db0a337d9188a9eecaa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7734d385c7b050f225e79fb1ecc077037e9932e2b666efa3bd3226d2602f6ffe [INFO] running `Command { std: "docker" "start" "-a" "7734d385c7b050f225e79fb1ecc077037e9932e2b666efa3bd3226d2602f6ffe", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Checking arbitrary v1.3.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking rayon-core v1.12.1 [INFO] [stderr] Checking gimli v0.31.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking bytes v1.7.2 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Checking object v0.36.4 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking bytemuck v1.18.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking atomic v0.6.0 [INFO] [stderr] Checking addr2line v0.24.1 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking quickcheck v0.8.5 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Compiling ll v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking fastrand v2.1.1 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking tempfile v3.12.0 [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] Checking backtrace v0.3.74 [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 indexmap v2.5.0 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking tracing-serde v0.1.3 [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 petgraph v0.6.5 [INFO] [stderr] Checking time v0.3.36 [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:26:49 [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] 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<'_>` [INFO] [stdout] --> src/graph/mod.rs:30:16 [INFO] [stdout] | [INFO] [stdout] 30 | pub graph: StableDiGraph, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: multiple `impl`s or `where` clauses satisfying `K: Deserialize<'_>` 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 `StableGraph` to implement `Deserialize<'_>` [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] = 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<'_>` [INFO] [stdout] --> src/graph/mod.rs:30:16 [INFO] [stdout] | [INFO] [stdout] 30 | pub graph: StableDiGraph, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: multiple `impl`s or `where` clauses satisfying `K: Deserialize<'_>` 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 `StableGraph` to implement `Deserialize<'_>` [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] = 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] 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] 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/42b384ec0dfcd528d99a4db0a337d9188a9eecaa/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] 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[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: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[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: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[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] [stderr] error: could not compile `ll` (lib test) due to 26 previous errors; 18 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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[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:26:49 [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] 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<'_>` [INFO] [stdout] --> src/graph/mod.rs:30:16 [INFO] [stdout] | [INFO] [stdout] 30 | pub graph: StableDiGraph, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: multiple `impl`s or `where` clauses satisfying `K: Deserialize<'_>` 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 `StableGraph` to implement `Deserialize<'_>` [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] = 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<'_>` [INFO] [stdout] --> src/graph/mod.rs:30:16 [INFO] [stdout] | [INFO] [stdout] 30 | pub graph: StableDiGraph, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: multiple `impl`s or `where` clauses satisfying `K: Deserialize<'_>` 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 `StableGraph` to implement `Deserialize<'_>` [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] = 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[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/42b384ec0dfcd528d99a4db0a337d9188a9eecaa/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: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[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: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[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) due to 26 previous errors; 18 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7734d385c7b050f225e79fb1ecc077037e9932e2b666efa3bd3226d2602f6ffe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7734d385c7b050f225e79fb1ecc077037e9932e2b666efa3bd3226d2602f6ffe", kill_on_drop: false }` [INFO] [stdout] 7734d385c7b050f225e79fb1ecc077037e9932e2b666efa3bd3226d2602f6ffe