[INFO] cloning repository https://github.com/matrix-spaces-generator/spacehub-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/matrix-spaces-generator/spacehub-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatrix-spaces-generator%2Fspacehub-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatrix-spaces-generator%2Fspacehub-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0b3a46956cc02ac68399873c79beb4c2de92aefd [INFO] testing matrix-spaces-generator/spacehub-rs against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatrix-spaces-generator%2Fspacehub-rs" "/workspace/builds/worker-19/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-19/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/matrix-spaces-generator/spacehub-rs on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/matrix-spaces-generator/spacehub-rs [INFO] finished tweaking git repo https://github.com/matrix-spaces-generator/spacehub-rs [INFO] tweaked toml for git repo https://github.com/matrix-spaces-generator/spacehub-rs written to /workspace/builds/worker-19/source/Cargo.toml [INFO] crate git repo https://github.com/matrix-spaces-generator/spacehub-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/matrix-spaces-generator/ruma` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded owo-colors v1.3.0 [INFO] [stderr] Downloaded color-spantrace v0.1.6 [INFO] [stderr] Downloaded color-eyre v0.5.10 [INFO] [stderr] Downloaded eyre v0.6.5 [INFO] [stderr] Downloaded assign v1.1.1 [INFO] [stderr] Downloaded js_int v0.2.0 [INFO] [stderr] Downloaded mio v0.7.8 [INFO] [stderr] Downloaded indenter v0.3.2 [INFO] [stderr] Downloaded tokio-util v0.6.3 [INFO] [stderr] Downloaded tracing v0.1.24 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9bde76c9af3897b299945f195f85a5f2e8224644b86cb4dd9278223699ca94b4 [INFO] running `Command { std: "docker" "start" "-a" "9bde76c9af3897b299945f195f85a5f2e8224644b86cb4dd9278223699ca94b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9bde76c9af3897b299945f195f85a5f2e8224644b86cb4dd9278223699ca94b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9bde76c9af3897b299945f195f85a5f2e8224644b86cb4dd9278223699ca94b4", kill_on_drop: false }` [INFO] [stdout] 9bde76c9af3897b299945f195f85a5f2e8224644b86cb4dd9278223699ca94b4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a5d19013964e74eb92a424cc338d35b0a5892e846fb6ee9cc178e1b12dfd039f [INFO] running `Command { std: "docker" "start" "-a" "a5d19013964e74eb92a424cc338d35b0a5892e846fb6ee9cc178e1b12dfd039f", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Compiling serde_json v1.0.62 [INFO] [stderr] Compiling pin-project-lite v0.2.4 [INFO] [stderr] Compiling ruma-identifiers-validation v0.2.0 (https://github.com/matrix-spaces-generator/ruma?branch=MTRNord/spaces#0c8f2fae) [INFO] [stderr] Compiling paste v1.0.4 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling futures-core v0.3.12 [INFO] [stderr] Compiling regex-syntax v0.6.22 [INFO] [stderr] Compiling byteorder v1.4.2 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling openssl v0.10.32 [INFO] [stderr] Compiling futures-task v0.3.12 [INFO] [stderr] Compiling httparse v1.3.5 [INFO] [stderr] Compiling futures-sink v0.3.12 [INFO] [stderr] Compiling assign v1.1.1 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling ruma-client v0.5.0-alpha.1 (https://github.com/matrix-spaces-generator/ruma?branch=MTRNord/spaces#0c8f2fae) [INFO] [stderr] Compiling indenter v0.3.2 [INFO] [stderr] Compiling pin-project-lite v0.1.11 [INFO] [stderr] Compiling dtoa v0.4.7 [INFO] [stderr] Compiling http v0.2.3 [INFO] [stderr] Compiling openssl-sys v0.9.60 [INFO] [stderr] Compiling tokio v1.2.0 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling tinyvec v1.1.1 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling tracing-log v0.1.2 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling futures-util v0.3.12 [INFO] [stderr] Compiling futures-channel v0.3.12 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling eyre v0.6.5 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling regex v1.4.3 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Compiling http-body v0.4.0 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling mio v0.7.8 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling backtrace v0.3.56 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling matchers v0.0.1 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling idna v0.2.2 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling url v2.2.1 [INFO] [stderr] Compiling tokio-util v0.6.3 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling ruma-identifiers-macros v0.18.0-alpha.1 (https://github.com/matrix-spaces-generator/ruma?branch=MTRNord/spaces#0c8f2fae) [INFO] [stderr] Compiling tracing-attributes v0.1.13 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling pin-project-internal v1.0.5 [INFO] [stderr] Compiling async-stream-impl v0.3.0 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Compiling async-trait v0.1.42 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling async-stream v0.3.0 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling tracing v0.1.24 [INFO] [stderr] Compiling pin-project v1.0.5 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling clap v3.0.0-beta.2 [INFO] [stderr] Compiling h2 v0.3.0 [INFO] [stderr] Compiling hyper v0.14.4 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling js_int v0.2.0 [INFO] [stderr] Compiling tracing-serde v0.1.2 [INFO] [stderr] Compiling serde_yaml v0.8.17 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling tracing-subscriber v0.2.16 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling ruma-serde-macros v0.3.0 (https://github.com/matrix-spaces-generator/ruma?branch=MTRNord/spaces#0c8f2fae) [INFO] [stderr] Compiling ruma-api-macros v0.17.0-alpha.2 (https://github.com/matrix-spaces-generator/ruma?branch=MTRNord/spaces#0c8f2fae) [INFO] [stderr] Compiling ruma-events-macros v0.22.0-alpha.2 (https://github.com/matrix-spaces-generator/ruma?branch=MTRNord/spaces#0c8f2fae) [INFO] [stderr] Compiling tracing-error v0.1.2 [INFO] [stderr] Compiling color-spantrace v0.1.6 [INFO] [stderr] Compiling color-eyre v0.5.10 [INFO] [stderr] Compiling ruma-serde v0.3.0 (https://github.com/matrix-spaces-generator/ruma?branch=MTRNord/spaces#0c8f2fae) [INFO] [stderr] Compiling ruma-identifiers v0.18.0-alpha.1 (https://github.com/matrix-spaces-generator/ruma?branch=MTRNord/spaces#0c8f2fae) [INFO] [stderr] Compiling ruma-common v0.3.0-alpha.1 (https://github.com/matrix-spaces-generator/ruma?branch=MTRNord/spaces#0c8f2fae) [INFO] [stderr] Compiling ruma-api v0.17.0-alpha.2 (https://github.com/matrix-spaces-generator/ruma?branch=MTRNord/spaces#0c8f2fae) [INFO] [stderr] Compiling ruma-events v0.22.0-alpha.2 (https://github.com/matrix-spaces-generator/ruma?branch=MTRNord/spaces#0c8f2fae) [INFO] [stderr] Compiling ruma-identity-service-api v0.0.1 (https://github.com/matrix-spaces-generator/ruma?branch=MTRNord/spaces#0c8f2fae) [INFO] [stderr] Compiling ruma-client-api v0.10.0-alpha.2 (https://github.com/matrix-spaces-generator/ruma?branch=MTRNord/spaces#0c8f2fae) [INFO] [stderr] Compiling ruma-appservice-api v0.2.0-alpha.2 (https://github.com/matrix-spaces-generator/ruma?branch=MTRNord/spaces#0c8f2fae) [INFO] [stderr] Compiling ruma-federation-api v0.1.0-alpha.1 (https://github.com/matrix-spaces-generator/ruma?branch=MTRNord/spaces#0c8f2fae) [INFO] [stderr] Compiling ruma-push-gateway-api v0.0.1 (https://github.com/matrix-spaces-generator/ruma?branch=MTRNord/spaces#0c8f2fae) [INFO] [stderr] Compiling ruma v0.0.2 (https://github.com/matrix-spaces-generator/ruma?branch=MTRNord/spaces#0c8f2fae) [INFO] [stderr] Compiling spacehub v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/main.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | let client = &mut matrix::Matrix::new(config.clone()).await?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/main.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | SubCommand::Create(c) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:51:28 [INFO] [stdout] | [INFO] [stdout] 51 | SubCommand::Export(e) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `room` [INFO] [stdout] --> src/matrix/mod.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | let room = match self.client.request(space).await { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_room` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parent_id` [INFO] [stdout] --> src/matrix/mod.rs:89:28 [INFO] [stdout] | [INFO] [stdout] 89 | pub async fn set_child(parent_id: RoomId, child_id: RoomId) {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `child_id` [INFO] [stdout] --> src/matrix/mod.rs:89:47 [INFO] [stdout] | [INFO] [stdout] 89 | pub async fn set_child(parent_id: RoomId, child_id: RoomId) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_child_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `space_id` [INFO] [stdout] --> src/matrix/mod.rs:91:35 [INFO] [stdout] | [INFO] [stdout] 91 | pub async fn get_space_childs(space_id: RoomId) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_space_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `folders` [INFO] [stdout] --> src/folders.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | folders: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `SpaceFolder` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/folders.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `rooms` [INFO] [stdout] --> src/folders.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | rooms: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SpaceFolder` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/folders.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `symlinks` [INFO] [stdout] --> src/folders.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | symlinks: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SpaceFolder` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/folders.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_folders` [INFO] [stdout] --> src/folders.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | fn get_folders(&mut self) -> color_eyre::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `client` [INFO] [stdout] --> src/matrix/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | client: Client, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `create_space` [INFO] [stdout] --> src/matrix/mod.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 36 | pub async fn create_space( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_child` [INFO] [stdout] --> src/matrix/mod.rs:89:18 [INFO] [stdout] | [INFO] [stdout] 89 | pub async fn set_child(parent_id: RoomId, child_id: RoomId) {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_spaces_toplevel` [INFO] [stdout] --> src/matrix/mod.rs:90:18 [INFO] [stdout] | [INFO] [stdout] 90 | pub async fn get_spaces_toplevel() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_space_childs` [INFO] [stdout] --> src/matrix/mod.rs:91:18 [INFO] [stdout] | [INFO] [stdout] 91 | pub async fn get_space_childs(space_id: RoomId) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 10s [INFO] running `Command { std: "docker" "inspect" "a5d19013964e74eb92a424cc338d35b0a5892e846fb6ee9cc178e1b12dfd039f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5d19013964e74eb92a424cc338d35b0a5892e846fb6ee9cc178e1b12dfd039f", kill_on_drop: false }` [INFO] [stdout] a5d19013964e74eb92a424cc338d35b0a5892e846fb6ee9cc178e1b12dfd039f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aa00869158b654f5cc2fe901ce582c8c8c864add97229a88d36bcb4d4648d859 [INFO] running `Command { std: "docker" "start" "-a" "aa00869158b654f5cc2fe901ce582c8c8c864add97229a88d36bcb4d4648d859", kill_on_drop: false }` [INFO] [stderr] Compiling spacehub v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/main.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | let client = &mut matrix::Matrix::new(config.clone()).await?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/main.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | SubCommand::Create(c) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:51:28 [INFO] [stdout] | [INFO] [stdout] 51 | SubCommand::Export(e) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `room` [INFO] [stdout] --> src/matrix/mod.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | let room = match self.client.request(space).await { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_room` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parent_id` [INFO] [stdout] --> src/matrix/mod.rs:89:28 [INFO] [stdout] | [INFO] [stdout] 89 | pub async fn set_child(parent_id: RoomId, child_id: RoomId) {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `child_id` [INFO] [stdout] --> src/matrix/mod.rs:89:47 [INFO] [stdout] | [INFO] [stdout] 89 | pub async fn set_child(parent_id: RoomId, child_id: RoomId) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_child_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `space_id` [INFO] [stdout] --> src/matrix/mod.rs:91:35 [INFO] [stdout] | [INFO] [stdout] 91 | pub async fn get_space_childs(space_id: RoomId) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_space_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `folders` [INFO] [stdout] --> src/folders.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | folders: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `SpaceFolder` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/folders.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `rooms` [INFO] [stdout] --> src/folders.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | rooms: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SpaceFolder` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/folders.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `symlinks` [INFO] [stdout] --> src/folders.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | symlinks: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SpaceFolder` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/folders.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_folders` [INFO] [stdout] --> src/folders.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | fn get_folders(&mut self) -> color_eyre::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `client` [INFO] [stdout] --> src/matrix/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | client: Client, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `create_space` [INFO] [stdout] --> src/matrix/mod.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 36 | pub async fn create_space( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_child` [INFO] [stdout] --> src/matrix/mod.rs:89:18 [INFO] [stdout] | [INFO] [stdout] 89 | pub async fn set_child(parent_id: RoomId, child_id: RoomId) {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_spaces_toplevel` [INFO] [stdout] --> src/matrix/mod.rs:90:18 [INFO] [stdout] | [INFO] [stdout] 90 | pub async fn get_spaces_toplevel() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_space_childs` [INFO] [stdout] --> src/matrix/mod.rs:91:18 [INFO] [stdout] | [INFO] [stdout] 91 | pub async fn get_space_childs(space_id: RoomId) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.04s [INFO] running `Command { std: "docker" "inspect" "aa00869158b654f5cc2fe901ce582c8c8c864add97229a88d36bcb4d4648d859", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa00869158b654f5cc2fe901ce582c8c8c864add97229a88d36bcb4d4648d859", kill_on_drop: false }` [INFO] [stdout] aa00869158b654f5cc2fe901ce582c8c8c864add97229a88d36bcb4d4648d859 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a86d958849c41eda3124270e083ecc4b4efb169f6d5cd1245016954d6c01a5be [INFO] running `Command { std: "docker" "start" "-a" "a86d958849c41eda3124270e083ecc4b4efb169f6d5cd1245016954d6c01a5be", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `client` [INFO] [stderr] --> src/main.rs:47:9 [INFO] [stderr] | [INFO] [stderr] 47 | let client = &mut matrix::Matrix::new(config.clone()).await?; [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `c` [INFO] [stderr] --> src/main.rs:50:28 [INFO] [stderr] | [INFO] [stderr] 50 | SubCommand::Create(c) => {} [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/main.rs:51:28 [INFO] [stderr] | [INFO] [stderr] 51 | SubCommand::Export(e) => {} [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `room` [INFO] [stderr] --> src/matrix/mod.rs:81:13 [INFO] [stderr] | [INFO] [stderr] 81 | let room = match self.client.request(space).await { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_room` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `parent_id` [INFO] [stderr] --> src/matrix/mod.rs:89:28 [INFO] [stderr] | [INFO] [stderr] 89 | pub async fn set_child(parent_id: RoomId, child_id: RoomId) {} [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `child_id` [INFO] [stderr] --> src/matrix/mod.rs:89:47 [INFO] [stderr] | [INFO] [stderr] 89 | pub async fn set_child(parent_id: RoomId, child_id: RoomId) {} [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_child_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `space_id` [INFO] [stderr] --> src/matrix/mod.rs:91:35 [INFO] [stderr] | [INFO] [stderr] 91 | pub async fn get_space_childs(space_id: RoomId) {} [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_space_id` [INFO] [stderr] [INFO] [stderr] warning: field is never read: `folders` [INFO] [stderr] --> src/folders.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | folders: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `SpaceFolder` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/folders.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Debug, Default)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `rooms` [INFO] [stderr] --> src/folders.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | rooms: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `SpaceFolder` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/folders.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Debug, Default)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `symlinks` [INFO] [stderr] --> src/folders.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | symlinks: HashMap, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `SpaceFolder` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/folders.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Debug, Default)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_folders` [INFO] [stderr] --> src/folders.rs:13:8 [INFO] [stderr] | [INFO] [stderr] 13 | fn get_folders(&mut self) -> color_eyre::Result<()> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `client` [INFO] [stderr] --> src/matrix/mod.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | client: Client, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `create_space` [INFO] [stderr] --> src/matrix/mod.rs:36:18 [INFO] [stderr] | [INFO] [stderr] 36 | pub async fn create_space( [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `set_child` [INFO] [stderr] --> src/matrix/mod.rs:89:18 [INFO] [stderr] | [INFO] [stderr] 89 | pub async fn set_child(parent_id: RoomId, child_id: RoomId) {} [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_spaces_toplevel` [INFO] [stderr] --> src/matrix/mod.rs:90:18 [INFO] [stderr] | [INFO] [stderr] 90 | pub async fn get_spaces_toplevel() {} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_space_childs` [INFO] [stderr] --> src/matrix/mod.rs:91:18 [INFO] [stderr] | [INFO] [stderr] 91 | pub async fn get_space_childs(space_id: RoomId) {} [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `spacehub` (bin "spacehub" test) generated 16 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/spacehub-a9a91e44e7280c36) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a86d958849c41eda3124270e083ecc4b4efb169f6d5cd1245016954d6c01a5be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a86d958849c41eda3124270e083ecc4b4efb169f6d5cd1245016954d6c01a5be", kill_on_drop: false }` [INFO] [stdout] a86d958849c41eda3124270e083ecc4b4efb169f6d5cd1245016954d6c01a5be