[INFO] cloning repository https://github.com/craig-mcmahon/saas-sync [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/craig-mcmahon/saas-sync" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcraig-mcmahon%2Fsaas-sync", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcraig-mcmahon%2Fsaas-sync'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 337bc764e7d2838d0c1fa84b613cb06877f16a0b [INFO] checking craig-mcmahon/saas-sync/337bc764e7d2838d0c1fa84b613cb06877f16a0b against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcraig-mcmahon%2Fsaas-sync" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/craig-mcmahon/saas-sync on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/craig-mcmahon/saas-sync [INFO] finished tweaking git repo https://github.com/craig-mcmahon/saas-sync [INFO] tweaked toml for git repo https://github.com/craig-mcmahon/saas-sync written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/craig-mcmahon/saas-sync 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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 55507349a25b65dafb01469f774856cb5200586407e7bb27147231a14d7b2f85 [INFO] running `Command { std: "docker" "start" "-a" "55507349a25b65dafb01469f774856cb5200586407e7bb27147231a14d7b2f85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "55507349a25b65dafb01469f774856cb5200586407e7bb27147231a14d7b2f85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55507349a25b65dafb01469f774856cb5200586407e7bb27147231a14d7b2f85", kill_on_drop: false }` [INFO] [stdout] 55507349a25b65dafb01469f774856cb5200586407e7bb27147231a14d7b2f85 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 10846d6be76e1e4893adf478dfefe1fa8362238d67f97fb3097b15f5c719d414 [INFO] running `Command { std: "docker" "start" "-a" "10846d6be76e1e4893adf478dfefe1fa8362238d67f97fb3097b15f5c719d414", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.92 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling wasm-bindgen v0.2.92 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling cc v1.0.96 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling serde v1.0.200 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking parking_lot v0.12.2 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking http-body-util v0.1.1 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking rustls-pki-types v1.7.0 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking rustls-pemfile v2.1.2 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking uuid v1.8.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.92 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.200 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.92 [INFO] [stderr] Checking js-sys v0.3.69 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.42 [INFO] [stderr] Checking web-sys v0.3.69 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking serde-wasm-bindgen v0.5.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde-wasm-bindgen v0.6.5 [INFO] [stderr] Checking h2 v0.4.4 [INFO] [stderr] Checking worker-kv v0.7.0 [INFO] [stderr] Checking worker-sys v0.3.0 [INFO] [stderr] Checking wasm-streams v0.4.0 [INFO] [stderr] Compiling worker-macros v0.3.0 [INFO] [stderr] Checking worker v0.3.0 [INFO] [stderr] Checking hyper v1.3.1 [INFO] [stderr] Checking hyper-util v0.1.3 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.4 [INFO] [stderr] Checking saas-sync v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/slack.rs (5 fixes) [INFO] [stderr] Fixed src/trello.rs (3 fixes) [INFO] [stdout] warning: field `model` is never read [INFO] [stdout] --> src/trello.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct TrelloWebhook { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 11 | pub model: TrelloWebhookModel, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrelloWebhook` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `name`, `desc`, `url`, and `short_url` are never read [INFO] [stdout] --> src/trello.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct TrelloWebhookModel { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 18 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 19 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 20 | pub desc: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 21 | pub url: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 22 | pub short_url: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrelloWebhookModel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `id_member_creator`, and `date` are never read [INFO] [stdout] --> src/trello.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct TrelloWebhookAction { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 28 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 29 | pub id_member_creator: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub date: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrelloWebhookAction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/trello.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct TrelloWebhookActionAppCreator { [INFO] [stdout] | ----------------------------- field in this struct [INFO] [stdout] 41 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrelloWebhookActionAppCreator` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/trello.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct TrelloWebhookActionData { [INFO] [stdout] | ----------------------- field in this struct [INFO] [stdout] 47 | pub id: Option, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrelloWebhookActionData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `id_short` are never read [INFO] [stdout] --> src/trello.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct TrelloWebhookActionCard { [INFO] [stdout] | ----------------------- fields in this struct [INFO] [stdout] 55 | pub id: String, [INFO] [stdout] 56 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 57 | pub id_short: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrelloWebhookActionCard` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `type_`, `closed`, and `short_link` are never read [INFO] [stdout] --> src/trello.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 79 | pub struct TrelloWebhookActionDisplayEntitiesCard { [INFO] [stdout] | -------------------------------------- fields in this struct [INFO] [stdout] 80 | #[serde(rename = "type")] [INFO] [stdout] 81 | pub type_: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 82 | pub closed: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub short_link: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrelloWebhookActionDisplayEntitiesCard` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `type_`, `id`, and `username` are never read [INFO] [stdout] --> src/trello.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct TrelloWebhookActionDisplayMemberCreator { [INFO] [stdout] | --------------------------------------- fields in this struct [INFO] [stdout] 92 | #[serde(rename = "type")] [INFO] [stdout] 93 | pub type_: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 94 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 95 | pub username: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrelloWebhookActionDisplayMemberCreator` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `type_` and `id` are never read [INFO] [stdout] --> src/trello.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct TrelloWebhookActionDisplayListBeforeAfter { [INFO] [stdout] | ----------------------------------------- fields in this struct [INFO] [stdout] 102 | #[serde(rename = "type")] [INFO] [stdout] 103 | pub type_: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 104 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrelloWebhookActionDisplayListBeforeAfter` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `source` is never read [INFO] [stdout] --> src/action.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Action { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | pub source: ActionTargetSource, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Action` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `url` and `service` are never read [INFO] [stdout] --> src/action.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct ActionTargetSource { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 20 | pub id: Option, [INFO] [stdout] 21 | pub url: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 22 | pub service: ActionService, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ActionTargetSource` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `name` are never read [INFO] [stdout] --> src/account.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Account { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 6 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 7 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fs` [INFO] [stdout] --> src/trello.rs:296:20 [INFO] [stdout] | [INFO] [stdout] 296 | let data = fs::read_to_string("./data/trello/card-archived.json").expect("Error reading file"); [INFO] [stdout] | ^^ use of undeclared crate or module `fs` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 294 + use std::fs; [INFO] [stdout] | [INFO] [stdout] 294 + use tokio::fs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TrelloWebhook` in this scope [INFO] [stdout] --> src/trello.rs:298:22 [INFO] [stdout] | [INFO] [stdout] 298 | let webhook: TrelloWebhook = serde_json::from_str(&data).expect("Error parsing json"); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 294 + use crate::TrelloWebhook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `generate_action` in this scope [INFO] [stdout] --> src/trello.rs:300:22 [INFO] [stdout] | [INFO] [stdout] 300 | let action = generate_action(&webhook, Err(Error::RustError("test".to_string()))); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 294 + use crate::trello::generate_action; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Error` [INFO] [stdout] --> src/trello.rs:300:52 [INFO] [stdout] | [INFO] [stdout] 300 | let action = generate_action(&webhook, Err(Error::RustError("test".to_string()))); [INFO] [stdout] | ^^^^^ use of undeclared type `Error` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 294 + use crate::Error; [INFO] [stdout] | [INFO] [stdout] 294 + use crate::js_sys::Error; [INFO] [stdout] | [INFO] [stdout] 294 + use crate::serde_wasm_bindgen::Error; [INFO] [stdout] | [INFO] [stdout] 294 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] and 14 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fs` [INFO] [stdout] --> src/trello.rs:309:20 [INFO] [stdout] | [INFO] [stdout] 309 | let data = fs::read_to_string("./data/trello/card-title-changed.json").expect("Error reading file"); [INFO] [stdout] | ^^ use of undeclared crate or module `fs` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 294 + use std::fs; [INFO] [stdout] | [INFO] [stdout] 294 + use tokio::fs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TrelloWebhook` in this scope [INFO] [stdout] --> src/trello.rs:311:22 [INFO] [stdout] | [INFO] [stdout] 311 | let webhook: TrelloWebhook = serde_json::from_str(&data).expect("Error parsing json"); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 294 + use crate::TrelloWebhook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `generate_action` in this scope [INFO] [stdout] --> src/trello.rs:313:22 [INFO] [stdout] | [INFO] [stdout] 313 | let action = generate_action(&webhook, Err(Error::RustError("test".to_string()))); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 294 + use crate::trello::generate_action; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Error` [INFO] [stdout] --> src/trello.rs:313:52 [INFO] [stdout] | [INFO] [stdout] 313 | let action = generate_action(&webhook, Err(Error::RustError("test".to_string()))); [INFO] [stdout] | ^^^^^ use of undeclared type `Error` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 294 + use crate::Error; [INFO] [stdout] | [INFO] [stdout] 294 + use crate::js_sys::Error; [INFO] [stdout] | [INFO] [stdout] 294 + use crate::serde_wasm_bindgen::Error; [INFO] [stdout] | [INFO] [stdout] 294 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] and 14 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fs` [INFO] [stdout] --> src/trello.rs:323:20 [INFO] [stdout] | [INFO] [stdout] 323 | let data = fs::read_to_string("./data/trello/card-moved.json").expect("Error reading file"); [INFO] [stdout] | ^^ use of undeclared crate or module `fs` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 294 + use std::fs; [INFO] [stdout] | [INFO] [stdout] 294 + use tokio::fs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TrelloWebhook` in this scope [INFO] [stdout] --> src/trello.rs:325:22 [INFO] [stdout] | [INFO] [stdout] 325 | let webhook: TrelloWebhook = serde_json::from_str(&data).expect("Error parsing json"); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 294 + use crate::TrelloWebhook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `generate_action` in this scope [INFO] [stdout] --> src/trello.rs:327:22 [INFO] [stdout] | [INFO] [stdout] 327 | let action = generate_action(&webhook, Err(Error::RustError("test".to_string()))); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 294 + use crate::trello::generate_action; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Error` [INFO] [stdout] --> src/trello.rs:327:52 [INFO] [stdout] | [INFO] [stdout] 327 | let action = generate_action(&webhook, Err(Error::RustError("test".to_string()))); [INFO] [stdout] | ^^^^^ use of undeclared type `Error` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 294 + use crate::Error; [INFO] [stdout] | [INFO] [stdout] 294 + use crate::js_sys::Error; [INFO] [stdout] | [INFO] [stdout] 294 + use crate::serde_wasm_bindgen::Error; [INFO] [stdout] | [INFO] [stdout] 294 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] and 14 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fs` [INFO] [stdout] --> src/trello.rs:338:20 [INFO] [stdout] | [INFO] [stdout] 338 | let data = fs::read_to_string("./data/trello/card-description-edited.json").expect("Error reading file"); [INFO] [stdout] | ^^ use of undeclared crate or module `fs` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 294 + use std::fs; [INFO] [stdout] | [INFO] [stdout] 294 + use tokio::fs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TrelloWebhook` in this scope [INFO] [stdout] --> src/trello.rs:340:22 [INFO] [stdout] | [INFO] [stdout] 340 | let webhook: TrelloWebhook = serde_json::from_str(&data).expect("Error parsing json"); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 294 + use crate::TrelloWebhook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `generate_action` in this scope [INFO] [stdout] --> src/trello.rs:342:22 [INFO] [stdout] | [INFO] [stdout] 342 | let action = generate_action(&webhook, Err(Error::RustError("test".to_string()))); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 294 + use crate::trello::generate_action; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Error` [INFO] [stdout] --> src/trello.rs:342:52 [INFO] [stdout] | [INFO] [stdout] 342 | let action = generate_action(&webhook, Err(Error::RustError("test".to_string()))); [INFO] [stdout] | ^^^^^ use of undeclared type `Error` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 294 + use crate::Error; [INFO] [stdout] | [INFO] [stdout] 294 + use crate::js_sys::Error; [INFO] [stdout] | [INFO] [stdout] 294 + use crate::serde_wasm_bindgen::Error; [INFO] [stdout] | [INFO] [stdout] 294 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] and 14 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fs` [INFO] [stdout] --> src/trello.rs:352:20 [INFO] [stdout] | [INFO] [stdout] 352 | let data = fs::read_to_string("./data/trello/card-comment-added.json").expect("Error reading file"); [INFO] [stdout] | ^^ use of undeclared crate or module `fs` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 294 + use std::fs; [INFO] [stdout] | [INFO] [stdout] 294 + use tokio::fs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TrelloWebhook` in this scope [INFO] [stdout] --> src/trello.rs:354:22 [INFO] [stdout] | [INFO] [stdout] 354 | let webhook: TrelloWebhook = serde_json::from_str(&data).expect("Error parsing json"); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 294 + use crate::TrelloWebhook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `generate_action` in this scope [INFO] [stdout] --> src/trello.rs:356:22 [INFO] [stdout] | [INFO] [stdout] 356 | let action = generate_action(&webhook, Err(Error::RustError("test".to_string()))); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 294 + use crate::trello::generate_action; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Error` [INFO] [stdout] --> src/trello.rs:356:52 [INFO] [stdout] | [INFO] [stdout] 356 | let action = generate_action(&webhook, Err(Error::RustError("test".to_string()))); [INFO] [stdout] | ^^^^^ use of undeclared type `Error` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 294 + use crate::Error; [INFO] [stdout] | [INFO] [stdout] 294 + use crate::js_sys::Error; [INFO] [stdout] | [INFO] [stdout] 294 + use crate::serde_wasm_bindgen::Error; [INFO] [stdout] | [INFO] [stdout] 294 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] and 14 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fs` [INFO] [stdout] --> src/trello.rs:368:20 [INFO] [stdout] | [INFO] [stdout] 368 | let data = fs::read_to_string("./data/trello/card-copied.json").expect("Error reading file"); [INFO] [stdout] | ^^ use of undeclared crate or module `fs` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 294 + use std::fs; [INFO] [stdout] | [INFO] [stdout] 294 + use tokio::fs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TrelloWebhook` in this scope [INFO] [stdout] --> src/trello.rs:370:22 [INFO] [stdout] | [INFO] [stdout] 370 | let webhook: TrelloWebhook = serde_json::from_str(&data).expect("Error parsing json"); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 294 + use crate::TrelloWebhook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `generate_action` in this scope [INFO] [stdout] --> src/trello.rs:372:22 [INFO] [stdout] | [INFO] [stdout] 372 | let action = generate_action(&webhook, Err(Error::RustError("test".to_string()))); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 294 + use crate::trello::generate_action; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Error` [INFO] [stdout] --> src/trello.rs:372:52 [INFO] [stdout] | [INFO] [stdout] 372 | let action = generate_action(&webhook, Err(Error::RustError("test".to_string()))); [INFO] [stdout] | ^^^^^ use of undeclared type `Error` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 294 + use crate::Error; [INFO] [stdout] | [INFO] [stdout] 294 + use crate::js_sys::Error; [INFO] [stdout] | [INFO] [stdout] 294 + use crate::serde_wasm_bindgen::Error; [INFO] [stdout] | [INFO] [stdout] 294 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] and 14 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fs` [INFO] [stdout] --> src/trello.rs:382:20 [INFO] [stdout] | [INFO] [stdout] 382 | let data = fs::read_to_string("./data/trello/card-comment-added-from-api.json").expect("Error reading file"); [INFO] [stdout] | ^^ use of undeclared crate or module `fs` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 294 + use std::fs; [INFO] [stdout] | [INFO] [stdout] 294 + use tokio::fs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TrelloWebhook` in this scope [INFO] [stdout] --> src/trello.rs:384:22 [INFO] [stdout] | [INFO] [stdout] 384 | let webhook: TrelloWebhook = serde_json::from_str(&data).expect("Error parsing json"); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 294 + use crate::TrelloWebhook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `generate_action` in this scope [INFO] [stdout] --> src/trello.rs:386:22 [INFO] [stdout] | [INFO] [stdout] 386 | let action = generate_action(&webhook, Err(Error::RustError("test".to_string()))); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 294 + use crate::trello::generate_action; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Error` [INFO] [stdout] --> src/trello.rs:386:52 [INFO] [stdout] | [INFO] [stdout] 386 | let action = generate_action(&webhook, Err(Error::RustError("test".to_string()))); [INFO] [stdout] | ^^^^^ use of undeclared type `Error` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 294 + use crate::Error; [INFO] [stdout] | [INFO] [stdout] 294 + use crate::js_sys::Error; [INFO] [stdout] | [INFO] [stdout] 294 + use crate::serde_wasm_bindgen::Error; [INFO] [stdout] | [INFO] [stdout] 294 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] and 14 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fs` [INFO] [stdout] --> src/slack.rs:290:20 [INFO] [stdout] | [INFO] [stdout] 290 | let data = fs::read_to_string("./data/slack/new-thread.json").expect("Error reading file"); [INFO] [stdout] | ^^ use of undeclared crate or module `fs` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 288 + use std::fs; [INFO] [stdout] | [INFO] [stdout] 288 + use tokio::fs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventWebhook` in this scope [INFO] [stdout] --> src/slack.rs:292:22 [INFO] [stdout] | [INFO] [stdout] 292 | let webhook: EventWebhook = serde_json::from_str(&data).expect("Error parsing json"); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 288 + use crate::slack::EventWebhook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Error` [INFO] [stdout] --> src/slack.rs:294:66 [INFO] [stdout] | [INFO] [stdout] 294 | let action = crate::slack::generate_action(&webhook, Err(Error::RustError("test".to_string()))); [INFO] [stdout] | ^^^^^ use of undeclared type `Error` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 288 + use crate::Error; [INFO] [stdout] | [INFO] [stdout] 288 + use crate::js_sys::Error; [INFO] [stdout] | [INFO] [stdout] 288 + use crate::serde_wasm_bindgen::Error; [INFO] [stdout] | [INFO] [stdout] 288 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] and 14 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ActionType` [INFO] [stdout] --> src/slack.rs:296:41 [INFO] [stdout] | [INFO] [stdout] 296 | assert!(matches!(action.action, ActionType::None)); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ActionType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 288 + use crate::slack::ActionType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fs` [INFO] [stdout] --> src/slack.rs:301:20 [INFO] [stdout] | [INFO] [stdout] 301 | let data = fs::read_to_string("./data/slack/unknown-thread-reply.json").expect("Error reading file"); [INFO] [stdout] | ^^ use of undeclared crate or module `fs` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 288 + use std::fs; [INFO] [stdout] | [INFO] [stdout] 288 + use tokio::fs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventWebhook` in this scope [INFO] [stdout] --> src/slack.rs:303:22 [INFO] [stdout] | [INFO] [stdout] 303 | let webhook: EventWebhook = serde_json::from_str(&data).expect("Error parsing json"); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 288 + use crate::slack::EventWebhook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Error` [INFO] [stdout] --> src/slack.rs:305:66 [INFO] [stdout] | [INFO] [stdout] 305 | let action = crate::slack::generate_action(&webhook, Err(Error::RustError("test".to_string()))); [INFO] [stdout] | ^^^^^ use of undeclared type `Error` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 288 + use crate::Error; [INFO] [stdout] | [INFO] [stdout] 288 + use crate::js_sys::Error; [INFO] [stdout] | [INFO] [stdout] 288 + use crate::serde_wasm_bindgen::Error; [INFO] [stdout] | [INFO] [stdout] 288 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] and 14 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ActionType` [INFO] [stdout] --> src/slack.rs:307:41 [INFO] [stdout] | [INFO] [stdout] 307 | assert!(matches!(action.action, ActionType::None)); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ActionType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 288 + use crate::slack::ActionType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fs` [INFO] [stdout] --> src/slack.rs:312:20 [INFO] [stdout] | [INFO] [stdout] 312 | let data = fs::read_to_string("./data/slack/thread-replied.json").expect("Error reading file"); [INFO] [stdout] | ^^ use of undeclared crate or module `fs` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 288 + use std::fs; [INFO] [stdout] | [INFO] [stdout] 288 + use tokio::fs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventWebhook` in this scope [INFO] [stdout] --> src/slack.rs:314:22 [INFO] [stdout] | [INFO] [stdout] 314 | let webhook: EventWebhook = serde_json::from_str(&data).expect("Error parsing json"); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 288 + use crate::slack::EventWebhook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Link` in this scope [INFO] [stdout] --> src/slack.rs:315:20 [INFO] [stdout] | [INFO] [stdout] 315 | let link = Link{ [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 288 + use crate::database::Link; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ActionType` [INFO] [stdout] --> src/slack.rs:321:41 [INFO] [stdout] | [INFO] [stdout] 321 | assert!(matches!(action.action, ActionType::UpdateThread)); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ActionType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 288 + use crate::slack::ActionType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fs` [INFO] [stdout] --> src/slack.rs:326:20 [INFO] [stdout] | [INFO] [stdout] 326 | let data = fs::read_to_string("./data/slack/thread-replied-bot.json").expect("Error reading file"); [INFO] [stdout] | ^^ use of undeclared crate or module `fs` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 288 + use std::fs; [INFO] [stdout] | [INFO] [stdout] 288 + use tokio::fs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventWebhook` in this scope [INFO] [stdout] --> src/slack.rs:328:22 [INFO] [stdout] | [INFO] [stdout] 328 | let webhook: EventWebhook = serde_json::from_str(&data).expect("Error parsing json"); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 288 + use crate::slack::EventWebhook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Error` [INFO] [stdout] --> src/slack.rs:330:66 [INFO] [stdout] | [INFO] [stdout] 330 | let action = crate::slack::generate_action(&webhook, Err(Error::RustError("test".to_string()))); [INFO] [stdout] | ^^^^^ use of undeclared type `Error` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 288 + use crate::Error; [INFO] [stdout] | [INFO] [stdout] 288 + use crate::js_sys::Error; [INFO] [stdout] | [INFO] [stdout] 288 + use crate::serde_wasm_bindgen::Error; [INFO] [stdout] | [INFO] [stdout] 288 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] and 14 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ActionType` [INFO] [stdout] --> src/slack.rs:332:41 [INFO] [stdout] | [INFO] [stdout] 332 | assert!(matches!(action.action, ActionType::None)); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ActionType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 288 + use crate::slack::ActionType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 44 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `saas-sync` (lib test) due to 45 previous errors [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "10846d6be76e1e4893adf478dfefe1fa8362238d67f97fb3097b15f5c719d414", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10846d6be76e1e4893adf478dfefe1fa8362238d67f97fb3097b15f5c719d414", kill_on_drop: false }` [INFO] [stdout] 10846d6be76e1e4893adf478dfefe1fa8362238d67f97fb3097b15f5c719d414