[INFO] cloning repository https://github.com/HotoRas/misskey.rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HotoRas/misskey.rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHotoRas%2Fmisskey.rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHotoRas%2Fmisskey.rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 763d379eaeec44b563be24849171d192cc72c933 [INFO] checking HotoRas/misskey.rs against master#a299aa5df79dd8e5a1405b97ddd7b367b61eecc6 for pr-125923-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHotoRas%2Fmisskey.rs" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/HotoRas/misskey.rs on toolchain a299aa5df79dd8e5a1405b97ddd7b367b61eecc6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a299aa5df79dd8e5a1405b97ddd7b367b61eecc6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/HotoRas/misskey.rs [INFO] finished tweaking git repo https://github.com/HotoRas/misskey.rs [INFO] tweaked toml for git repo https://github.com/HotoRas/misskey.rs written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/HotoRas/misskey.rs 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" "+a299aa5df79dd8e5a1405b97ddd7b367b61eecc6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking HotoRas/misskey.rs against try#8585d8c57bfa6d7d66340412e06b5611fa79cc61 for pr-125923-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHotoRas%2Fmisskey.rs" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/HotoRas/misskey.rs on toolchain 8585d8c57bfa6d7d66340412e06b5611fa79cc61 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8585d8c57bfa6d7d66340412e06b5611fa79cc61" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/HotoRas/misskey.rs [INFO] finished tweaking git repo https://github.com/HotoRas/misskey.rs [INFO] tweaked toml for git repo https://github.com/HotoRas/misskey.rs written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/HotoRas/misskey.rs 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" "+8585d8c57bfa6d7d66340412e06b5611fa79cc61" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+8585d8c57bfa6d7d66340412e06b5611fa79cc61" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 241481b192a1c5ff05b5af74d09abcfc820c8d22098be7407b2164d9bbf88491 [INFO] running `Command { std: "docker" "start" "-a" "241481b192a1c5ff05b5af74d09abcfc820c8d22098be7407b2164d9bbf88491", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "241481b192a1c5ff05b5af74d09abcfc820c8d22098be7407b2164d9bbf88491", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "241481b192a1c5ff05b5af74d09abcfc820c8d22098be7407b2164d9bbf88491", kill_on_drop: false }` [INFO] [stdout] 241481b192a1c5ff05b5af74d09abcfc820c8d22098be7407b2164d9bbf88491 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+8585d8c57bfa6d7d66340412e06b5611fa79cc61" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4e8dae5aa7e3462f8c7d945f101fe42a68bc9dab761245cc66669c36d2d103c0 [INFO] running `Command { std: "docker" "start" "-a" "4e8dae5aa7e3462f8c7d945f101fe42a68bc9dab761245cc66669c36d2d103c0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking misskey-rs v0.1.0 (/opt/rustwide/workdir/misskey-rs) [INFO] [stdout] error[E0583]: file not found for module `api_types` [INFO] [stdout] --> misskey-rs/src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | mod api_types; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `api_types`, create file "misskey-rs/src/api_types.rs" or "misskey-rs/src/api_types/mod.rs" [INFO] [stdout] = note: if there is a `mod api_types` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `streaming` [INFO] [stdout] --> misskey-rs/src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | mod streaming; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `streaming`, create file "misskey-rs/src/streaming.rs" or "misskey-rs/src/streaming/mod.rs" [INFO] [stdout] = note: if there is a `mod streaming` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `streaming_types` [INFO] [stdout] --> misskey-rs/src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | mod streaming_types; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `streaming_types`, create file "misskey-rs/src/streaming_types.rs" or "misskey-rs/src/streaming_types/mod.rs" [INFO] [stdout] = note: if there is a `mod streaming_types` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `api_types` [INFO] [stdout] --> misskey-rs/src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | mod api_types; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `api_types`, create file "misskey-rs/src/api_types.rs" or "misskey-rs/src/api_types/mod.rs" [INFO] [stdout] = note: if there is a `mod api_types` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `streaming` [INFO] [stdout] --> misskey-rs/src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | mod streaming; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `streaming`, create file "misskey-rs/src/streaming.rs" or "misskey-rs/src/streaming/mod.rs" [INFO] [stdout] = note: if there is a `mod streaming` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `streaming_types` [INFO] [stdout] --> misskey-rs/src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | mod streaming_types; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `streaming_types`, create file "misskey-rs/src/streaming_types.rs" or "misskey-rs/src/streaming_types/mod.rs" [INFO] [stdout] = note: if there is a `mod streaming_types` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct fields are separated by `,` [INFO] [stdout] --> misskey-rs/src/acct.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Acct { [INFO] [stdout] | ---- while parsing this struct [INFO] [stdout] 3 | pub username: String; [INFO] [stdout] | ^ help: replace `;` with `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `,`, `.`, `?`, `}`, or an operator, found `Some` [INFO] [stdout] --> misskey-rs/src/acct.rs:22:37 [INFO] [stdout] | [INFO] [stdout] 20 | Acct { [INFO] [stdout] | ---- while parsing this struct [INFO] [stdout] 21 | username: split[0], [INFO] [stdout] 22 | host: split.len() > 1 ? Some(split[1]) : None [INFO] [stdout] | -^^^^ expected one of `,`, `.`, `?`, `}`, or an operator [INFO] [stdout] | | [INFO] [stdout] | help: try adding a comma: `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `consts` [INFO] [stdout] --> misskey-rs/src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | mod consts; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `consts`, create file "misskey-rs/src/consts.rs" or "misskey-rs/src/consts/mod.rs" [INFO] [stdout] = note: if there is a `mod consts` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `api` [INFO] [stdout] --> misskey-rs/src/lib.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub mod api; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `api`, create file "misskey-rs/src/api.rs" or "misskey-rs/src/api/mod.rs" [INFO] [stdout] = note: if there is a `mod api` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `entities` [INFO] [stdout] --> misskey-rs/src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | pub mod entities; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `entities`, create file "misskey-rs/src/entities.rs" or "misskey-rs/src/entities/mod.rs" [INFO] [stdout] = note: if there is a `mod entities` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct fields are separated by `,` [INFO] [stdout] --> misskey-rs/src/acct.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Acct { [INFO] [stdout] | ---- while parsing this struct [INFO] [stdout] 3 | pub username: String; [INFO] [stdout] | ^ help: replace `;` with `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `,`, `.`, `?`, `}`, or an operator, found `Some` [INFO] [stdout] --> misskey-rs/src/acct.rs:22:37 [INFO] [stdout] | [INFO] [stdout] 20 | Acct { [INFO] [stdout] | ---- while parsing this struct [INFO] [stdout] 21 | username: split[0], [INFO] [stdout] 22 | host: split.len() > 1 ? Some(split[1]) : None [INFO] [stdout] | -^^^^ expected one of `,`, `.`, `?`, `}`, or an operator [INFO] [stdout] | | [INFO] [stdout] | help: try adding a comma: `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `consts` [INFO] [stdout] --> misskey-rs/src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | mod consts; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `consts`, create file "misskey-rs/src/consts.rs" or "misskey-rs/src/consts/mod.rs" [INFO] [stdout] = note: if there is a `mod consts` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `api` [INFO] [stdout] --> misskey-rs/src/lib.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub mod api; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `api`, create file "misskey-rs/src/api.rs" or "misskey-rs/src/api/mod.rs" [INFO] [stdout] = note: if there is a `mod api` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `entities` [INFO] [stdout] --> misskey-rs/src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | pub mod entities; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `entities`, create file "misskey-rs/src/entities.rs" or "misskey-rs/src/entities/mod.rs" [INFO] [stdout] = note: if there is a `mod entities` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `acct` is defined multiple times [INFO] [stdout] --> misskey-rs/src/lib.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 10 | mod acct; [INFO] [stdout] | --------- previous definition of the module `acct` here [INFO] [stdout] ... [INFO] [stdout] 26 | pub mod acct; [INFO] [stdout] | ^^^^^^^^^^^^^ `acct` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `acct` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `acct` is defined multiple times [INFO] [stdout] --> misskey-rs/src/lib.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 10 | mod acct; [INFO] [stdout] | --------- previous definition of the module `acct` here [INFO] [stdout] ... [INFO] [stdout] 26 | pub mod acct; [INFO] [stdout] | ^^^^^^^^^^^^^ `acct` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `acct` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `api_types::Endpoints` [INFO] [stdout] --> misskey-rs/src/lib.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use api_types::Endpoints; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `Endpoints` in `api_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `api_types::Endpoints` [INFO] [stdout] --> misskey-rs/src/lib.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use api_types::Endpoints; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `Endpoints` in `api_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `streaming::Stream`, `streaming::Connection` [INFO] [stdout] --> misskey-rs/src/lib.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | pub use streaming::{ Stream, Connection as ChannelConnection }; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `Connection` in `streaming` [INFO] [stdout] | | [INFO] [stdout] | no `Stream` in `streaming` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `streaming::Stream`, `streaming::Connection` [INFO] [stdout] --> misskey-rs/src/lib.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | pub use streaming::{ Stream, Connection as ChannelConnection }; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `Connection` in `streaming` [INFO] [stdout] | | [INFO] [stdout] | no `Stream` in `streaming` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `streaming_types::Channels` [INFO] [stdout] --> misskey-rs/src/lib.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use streaming_types::Channels; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ no `Channels` in `streaming_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `streaming_types::Channels` [INFO] [stdout] --> misskey-rs/src/lib.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use streaming_types::Channels; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ no `Channels` in `streaming_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `consts::permissions`, `consts::notificationTypes`, `consts::noteVisibilities`, `consts::mutedNoteReasons`, `consts::followingVisibilities`, `consts::followersVisibilities`, `consts::moderationLogTypes` [INFO] [stdout] --> misskey-rs/src/lib.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | permissions, [INFO] [stdout] | ^^^^^^^^^^^ no `permissions` in `consts` [INFO] [stdout] 16 | notificationTypes, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `notificationTypes` in `consts` [INFO] [stdout] 17 | noteVisibilities, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no `noteVisibilities` in `consts` [INFO] [stdout] 18 | mutedNoteReasons, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no `mutedNoteReasons` in `consts` [INFO] [stdout] 19 | followingVisibilities, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ no `followingVisibilities` in `consts` [INFO] [stdout] 20 | followersVisibilities, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ no `followersVisibilities` in `consts` [INFO] [stdout] 21 | moderationLogTypes, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ no `moderationLogTypes` in `consts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> misskey-rs/src/acct.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | if (acct.starts_with('@')) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 10 - if (acct.starts_with('@')) { [INFO] [stdout] 10 + if acct.starts_with('@') { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> misskey-rs/src/acct.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | if (acct.host == None) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 27 - if (acct.host == None) { [INFO] [stdout] 27 + if acct.host == None { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `consts::permissions`, `consts::notificationTypes`, `consts::noteVisibilities`, `consts::mutedNoteReasons`, `consts::followingVisibilities`, `consts::followersVisibilities`, `consts::moderationLogTypes` [INFO] [stdout] --> misskey-rs/src/lib.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | permissions, [INFO] [stdout] | ^^^^^^^^^^^ no `permissions` in `consts` [INFO] [stdout] 16 | notificationTypes, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `notificationTypes` in `consts` [INFO] [stdout] 17 | noteVisibilities, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no `noteVisibilities` in `consts` [INFO] [stdout] 18 | mutedNoteReasons, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no `mutedNoteReasons` in `consts` [INFO] [stdout] 19 | followingVisibilities, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ no `followingVisibilities` in `consts` [INFO] [stdout] 20 | followersVisibilities, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ no `followersVisibilities` in `consts` [INFO] [stdout] 21 | moderationLogTypes, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ no `moderationLogTypes` in `consts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> misskey-rs/src/acct.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | if (acct.starts_with('@')) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 10 - if (acct.starts_with('@')) { [INFO] [stdout] 10 + if acct.starts_with('@') { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> misskey-rs/src/acct.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | if (acct.host == None) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 27 - if (acct.host == None) { [INFO] [stdout] 27 + if acct.host == None { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> misskey-rs/src/acct.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 8 | let mut _acct: String; [INFO] [stdout] | ------ expected due to this type [INFO] [stdout] ... [INFO] [stdout] 12 | _acct = acct.get_unchecked(1.._acct.len()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- help: try using a conversion method: `.to_string()` [INFO] [stdout] | | [INFO] [stdout] | expected `String`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> misskey-rs/src/acct.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 8 | let mut _acct: String; [INFO] [stdout] | ------ expected due to this type [INFO] [stdout] ... [INFO] [stdout] 12 | _acct = acct.get_unchecked(1.._acct.len()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- help: try using a conversion method: `.to_string()` [INFO] [stdout] | | [INFO] [stdout] | expected `String`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> misskey-rs/src/acct.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 8 | let mut _acct: String; [INFO] [stdout] | ------ expected due to this type [INFO] [stdout] ... [INFO] [stdout] 15 | _acct = acct; [INFO] [stdout] | ^^^^- help: try using a conversion method: `.to_string()` [INFO] [stdout] | | [INFO] [stdout] | expected `String`, found `&String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> misskey-rs/src/acct.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 8 | let mut _acct: String; [INFO] [stdout] | ------ expected due to this type [INFO] [stdout] ... [INFO] [stdout] 15 | _acct = acct; [INFO] [stdout] | ^^^^- help: try using a conversion method: `.to_string()` [INFO] [stdout] | | [INFO] [stdout] | expected `String`, found `&String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> misskey-rs/src/acct.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn parse(acct: &String) -> Option { [INFO] [stdout] | ------------ expected `Option` because of return type [INFO] [stdout] ... [INFO] [stdout] 20 | / Acct { [INFO] [stdout] 21 | | username: split[0], [INFO] [stdout] 22 | | host: split.len() > 1 ? Some(split[1]) : None [INFO] [stdout] 23 | | } [INFO] [stdout] | |_________^ expected `Option`, found `Acct` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found struct `acct::Acct::Acct` [INFO] [stdout] help: try wrapping the expression in `Some` [INFO] [stdout] | [INFO] [stdout] 20 ~ Some(Acct { [INFO] [stdout] 21 | username: split[0], [INFO] [stdout] 22 | host: split.len() > 1 ? Some(split[1]) : None [INFO] [stdout] 23 ~ }) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `host` on type `&acct::Acct::Acct` [INFO] [stdout] --> misskey-rs/src/acct.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | if (acct.host == None) { [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `username` on type `&acct::Acct::Acct` [INFO] [stdout] --> misskey-rs/src/acct.rs:28:18 [INFO] [stdout] | [INFO] [stdout] 28 | acct.username [INFO] [stdout] | ^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> misskey-rs/src/acct.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn parse(acct: &String) -> Option { [INFO] [stdout] | ------------ expected `Option` because of return type [INFO] [stdout] ... [INFO] [stdout] 20 | / Acct { [INFO] [stdout] 21 | | username: split[0], [INFO] [stdout] 22 | | host: split.len() > 1 ? Some(split[1]) : None [INFO] [stdout] 23 | | } [INFO] [stdout] | |_________^ expected `Option`, found `Acct` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found struct `acct::Acct::Acct` [INFO] [stdout] help: try wrapping the expression in `Some` [INFO] [stdout] | [INFO] [stdout] 20 ~ Some(Acct { [INFO] [stdout] 21 | username: split[0], [INFO] [stdout] 22 | host: split.len() > 1 ? Some(split[1]) : None [INFO] [stdout] 23 ~ }) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `username` on type `&acct::Acct::Acct` [INFO] [stdout] --> misskey-rs/src/acct.rs:31:31 [INFO] [stdout] | [INFO] [stdout] 31 | format!("{}@{}", acct.username, acct.host) [INFO] [stdout] | ^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `host` on type `&acct::Acct::Acct` [INFO] [stdout] --> misskey-rs/src/acct.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | if (acct.host == None) { [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `username` on type `&acct::Acct::Acct` [INFO] [stdout] --> misskey-rs/src/acct.rs:28:18 [INFO] [stdout] | [INFO] [stdout] 28 | acct.username [INFO] [stdout] | ^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `username` on type `&acct::Acct::Acct` [INFO] [stdout] --> misskey-rs/src/acct.rs:31:31 [INFO] [stdout] | [INFO] [stdout] 31 | format!("{}@{}", acct.username, acct.host) [INFO] [stdout] | ^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `host` on type `&acct::Acct::Acct` [INFO] [stdout] --> misskey-rs/src/acct.rs:31:46 [INFO] [stdout] | [INFO] [stdout] 31 | format!("{}@{}", acct.username, acct.host) [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `host` on type `&acct::Acct::Acct` [INFO] [stdout] --> misskey-rs/src/acct.rs:31:46 [INFO] [stdout] | [INFO] [stdout] 31 | format!("{}@{}", acct.username, acct.host) [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0428, E0432, E0583, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0428, E0432, E0583, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `misskey-rs` (lib test) due to 21 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `misskey-rs` (lib) due to 21 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4e8dae5aa7e3462f8c7d945f101fe42a68bc9dab761245cc66669c36d2d103c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e8dae5aa7e3462f8c7d945f101fe42a68bc9dab761245cc66669c36d2d103c0", kill_on_drop: false }` [INFO] [stdout] 4e8dae5aa7e3462f8c7d945f101fe42a68bc9dab761245cc66669c36d2d103c0