[INFO] fetching crate peertube 0.1.1... [INFO] testing peertube-0.1.1 against 1.60.0 for beta-1.61-1 [INFO] extracting crate peertube 0.1.1 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate peertube 0.1.1 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 crates.io crate peertube 0.1.1 [INFO] finished tweaking crates.io crate peertube 0.1.1 [INFO] tweaked toml for crates.io crate peertube 0.1.1 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 18edb2c143791f74b5d77ef37f312dcd19d84f25c271189b50d37192eb3186f7 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "18edb2c143791f74b5d77ef37f312dcd19d84f25c271189b50d37192eb3186f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "18edb2c143791f74b5d77ef37f312dcd19d84f25c271189b50d37192eb3186f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18edb2c143791f74b5d77ef37f312dcd19d84f25c271189b50d37192eb3186f7", kill_on_drop: false }` [INFO] [stdout] 18edb2c143791f74b5d77ef37f312dcd19d84f25c271189b50d37192eb3186f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b3373a7cd7540134add394d291ee37d00fd86424379d39aa79f4a83d129a0da1 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b3373a7cd7540134add394d291ee37d00fd86424379d39aa79f4a83d129a0da1", kill_on_drop: false }` [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling serde_repr v0.1.7 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling tracing v0.1.33 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling tokio-util v0.7.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling hyper v0.14.18 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.10 [INFO] [stderr] Compiling peertube v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `current_time` [INFO] [stdout] --> src/data/mod.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | current_time: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `UserHistory` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/data/mod.rs:138:10 [INFO] [stdout] | [INFO] [stdout] 138 | #[derive(Debug, serde::Deserialize)] [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: `account` [INFO] [stdout] --> src/data/mod.rs:315:5 [INFO] [stdout] | [INFO] [stdout] 315 | account: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Notification` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/data/mod.rs:312:10 [INFO] [stdout] | [INFO] [stdout] 312 | #[derive(Debug, serde::Deserialize)] [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: `previews` [INFO] [stdout] --> src/data/config/custom.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | previews: Size, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Cache` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/data/config/custom.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, serde::Deserialize)] [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: `captions` [INFO] [stdout] --> src/data/config/custom.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | captions: Size, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Cache` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/data/config/custom.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, serde::Deserialize)] [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: `torrents` [INFO] [stdout] --> src/data/config/custom.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | torrents: Size, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Cache` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/data/config/custom.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, serde::Deserialize)] [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: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 45.31s [INFO] running `Command { std: "docker" "inspect" "b3373a7cd7540134add394d291ee37d00fd86424379d39aa79f4a83d129a0da1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3373a7cd7540134add394d291ee37d00fd86424379d39aa79f4a83d129a0da1", kill_on_drop: false }` [INFO] [stdout] b3373a7cd7540134add394d291ee37d00fd86424379d39aa79f4a83d129a0da1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 9649715725b79d6b0013c973642ac53ffb6899afe75a926b1cb768f281336836 [INFO] running `Command { std: "docker" "start" "-a" "9649715725b79d6b0013c973642ac53ffb6899afe75a926b1cb768f281336836", kill_on_drop: false }` [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stdout] warning: field is never read: `current_time` [INFO] [stdout] --> src/data/mod.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | current_time: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `UserHistory` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/data/mod.rs:138:10 [INFO] [stdout] | [INFO] [stdout] 138 | #[derive(Debug, serde::Deserialize)] [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: `account` [INFO] [stdout] --> src/data/mod.rs:315:5 [INFO] [stdout] | [INFO] [stdout] 315 | account: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Notification` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/data/mod.rs:312:10 [INFO] [stdout] | [INFO] [stdout] 312 | #[derive(Debug, serde::Deserialize)] [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: `previews` [INFO] [stdout] --> src/data/config/custom.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | previews: Size, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Cache` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/data/config/custom.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, serde::Deserialize)] [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: `captions` [INFO] [stdout] --> src/data/config/custom.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | captions: Size, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Cache` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/data/config/custom.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, serde::Deserialize)] [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: `torrents` [INFO] [stdout] --> src/data/config/custom.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | torrents: Size, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Cache` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/data/config/custom.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, serde::Deserialize)] [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: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling peertube v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/services/server/redundancy.rs:101:56 [INFO] [stdout] | [INFO] [stdout] 101 | let status = api.server.redundancy.add(&token, "42").await; [INFO] [stdout] | ^^^^ expected `u32`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `peertube` due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "9649715725b79d6b0013c973642ac53ffb6899afe75a926b1cb768f281336836", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9649715725b79d6b0013c973642ac53ffb6899afe75a926b1cb768f281336836", kill_on_drop: false }` [INFO] [stdout] 9649715725b79d6b0013c973642ac53ffb6899afe75a926b1cb768f281336836