[INFO] cloning repository https://github.com/22116/debian_bridge [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/22116/debian_bridge" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F22116%2Fdebian_bridge", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F22116%2Fdebian_bridge'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 73d98a7f9bd5a911ce33a25692eded658f030d91 [INFO] testing 22116/debian_bridge against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F22116%2Fdebian_bridge" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/22116/debian_bridge 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/22116/debian_bridge [INFO] finished tweaking git repo https://github.com/22116/debian_bridge [INFO] tweaked toml for git repo https://github.com/22116/debian_bridge written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/22116/debian_bridge 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] Downloading crates ... [INFO] [stderr] Downloaded mocktopus_macros v0.7.11 [INFO] [stderr] Downloaded mocktopus v0.7.11 [INFO] [stderr] Downloaded tokio-openssl v0.3.0 [INFO] [stderr] Downloaded markup-proc-macro v0.3.1 [INFO] [stderr] Downloaded markup v0.3.1 [INFO] [stderr] Downloaded hyper-openssl v0.7.1 [INFO] [stderr] Downloaded dockerfile v0.2.1 [INFO] [stderr] Downloaded freedesktop-desktop-entry v0.1.1 [INFO] [stderr] Downloaded pipers v1.0.1 [INFO] [stderr] Downloaded shiplift v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8c5d07d7b1538919d3185f590c024d7c34031f366da672a0138dc0af6ec5788b [INFO] running `Command { std: "docker" "start" "-a" "8c5d07d7b1538919d3185f590c024d7c34031f366da672a0138dc0af6ec5788b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8c5d07d7b1538919d3185f590c024d7c34031f366da672a0138dc0af6ec5788b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c5d07d7b1538919d3185f590c024d7c34031f366da672a0138dc0af6ec5788b", kill_on_drop: false }` [INFO] [stdout] 8c5d07d7b1538919d3185f590c024d7c34031f366da672a0138dc0af6ec5788b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] 970dc459989addfbc10df10ee84db32d2f7dc82216ee4c9abbd8c1b85a583590 [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" "970dc459989addfbc10df10ee84db32d2f7dc82216ee4c9abbd8c1b85a583590", kill_on_drop: false }` [INFO] [stderr] Compiling httparse v1.4.0 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling hyper-openssl v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling antidote v1.0.0 [INFO] [stderr] Compiling dockerfile v0.2.1 [INFO] [stderr] Compiling pipers v1.0.1 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling xattr v0.2.2 [INFO] [stderr] Compiling filetime v0.2.14 [INFO] [stderr] Compiling hyper v0.12.36 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling tar v0.4.33 [INFO] [stderr] Compiling flate2 v1.0.20 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling debian_bridge_core v0.2.2 (/opt/rustwide/workdir/debian_bridge_core) [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> debian_bridge_core/build.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error::Error`, `path::Path` [INFO] [stdout] --> debian_bridge_core/build.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{error::Error, path::Path}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> debian_bridge_core/build.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | let mut path = dirs::home_dir().unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> debian_bridge_core/build.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let mut path = default_icon_path(path.as_path()); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> debian_bridge_core/build.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | std::fs::create_dir(&path); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling pretty_env_logger v0.3.1 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling tokio-openssl v0.3.0 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling debian_bridge_cli v0.2.2 (/opt/rustwide/workdir/debian_bridge_cli) [INFO] [stdout] warning: unused import: `path::Path` [INFO] [stdout] --> debian_bridge_cli/build.rs:7:25 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{error::Error, path::Path}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> debian_bridge_cli/build.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 31 | if let Err(err) = result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling markup-proc-macro v0.3.1 [INFO] [stderr] Compiling hyperlocal v0.6.0 [INFO] [stderr] Compiling markup v0.3.1 [INFO] [stderr] Compiling freedesktop-desktop-entry v0.1.1 [INFO] [stderr] Compiling shiplift v0.5.0 [INFO] [stdout] warning: unused import: `error::Error` [INFO] [stdout] --> debian_bridge_core/src/app/config.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | error::Error, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `convert::TryInto` [INFO] [stdout] --> debian_bridge_core/src/app/deb.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{convert::TryInto, ffi::OsStr, path::Path}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> debian_bridge_core/src/app/docker.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mutex` [INFO] [stdout] --> debian_bridge_core/src/app/docker.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | sync::{Arc, Mutex}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Feature` [INFO] [stdout] --> debian_bridge_core/src/app/util.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{app::error::AppError, Feature}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::to_string` [INFO] [stdout] --> debian_bridge_core/src/app/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use serde_json::to_string; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `net::IpAddr` [INFO] [stdout] --> debian_bridge_core/src/app/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | net::IpAddr, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ExitStatus`, `error::Error`, `ffi::OsString`, `fs::File` [INFO] [stdout] --> debian_bridge_core/src/sys/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | error::Error, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 10 | ffi::OsString, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 11 | fmt::{Display, Formatter}, [INFO] [stdout] 12 | fs::File, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 13 | process::{Command, ExitStatus, Stdio}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `colorful::core::StrMarker` [INFO] [stdout] --> debian_bridge_core/src/app/docker.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use colorful::core::StrMarker; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::Error` [INFO] [stdout] --> debian_bridge_core/src/app/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | error::Error, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> debian_bridge_core/src/sys/mod.rs:46:23 [INFO] [stdout] | [INFO] [stdout] 46 | .map_err(|err| SystemError::DockerConnection)?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> debian_bridge_core/src/sys/mod.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | Err(err) => Err(SystemError::DockerConnection), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o` [INFO] [stdout] --> debian_bridge_core/src/sys/mod.rs:74:19 [INFO] [stdout] | [INFO] [stdout] 74 | .map(|o| SoundDriver::PulseAudio) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_o` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o` [INFO] [stdout] --> debian_bridge_core/src/sys/mod.rs:75:32 [INFO] [stdout] | [INFO] [stdout] 75 | .or(alsa.ok().map(|o| SoundDriver::Alsa)) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_o` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `elem` [INFO] [stdout] --> debian_bridge_core/src/app/config.rs:153:18 [INFO] [stdout] | [INFO] [stdout] 153 | Some(elem) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_elem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> debian_bridge_core/src/app/docker.rs:67:43 [INFO] [stdout] | [INFO] [stdout] 67 | rt.shutdown_now().wait().map_err(|err| AppError::Docker)?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> debian_bridge_core/src/app/docker.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | Err(err) => Err(AppError::Docker), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> debian_bridge_core/src/app/docker.rs:85:43 [INFO] [stdout] | [INFO] [stdout] 85 | rt.shutdown_now().wait().map_err(|err| AppError::Docker)?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> debian_bridge_core/src/app/docker.rs:105:43 [INFO] [stdout] | [INFO] [stdout] 105 | rt.shutdown_now().wait().map_err(|err| AppError::Docker)?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> debian_bridge_core/src/app/docker.rs:145:43 [INFO] [stdout] | [INFO] [stdout] 145 | rt.shutdown_now().wait().map_err(|err| AppError::Docker)?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> debian_bridge_core/src/app/docker.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | .map_err(|err| AppError::Docker)?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> debian_bridge_core/src/app/util.rs:27:23 [INFO] [stdout] | [INFO] [stdout] 27 | .map_err(|err| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> debian_bridge_core/src/app/mod.rs:189:13 [INFO] [stdout] | [INFO] [stdout] 189 | let mut dockerfile = util::gen_dockerfile(&deb, &program)?; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `prefix` [INFO] [stdout] --> debian_bridge_core/src/app/mod.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | prefix: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `system` [INFO] [stdout] --> debian_bridge_core/src/app/docker.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | system: &'a System, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> debian_bridge_core/src/app/mod.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | writeln!(f, "\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> debian_bridge_core/src/app/mod.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | / writeln!( [INFO] [stdout] 63 | | f, [INFO] [stdout] 64 | | "\t{:<15} ===> {}", [INFO] [stdout] 65 | | format!("{}", feature), [INFO] [stdout] ... | [INFO] [stdout] 69 | | } [INFO] [stdout] 70 | | ); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> debian_bridge_core/src/app/config.rs:121:21 [INFO] [stdout] | [INFO] [stdout] 121 | config.serialize(path); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ArgMatches` [INFO] [stdout] --> debian_bridge_cli/src/starter.rs:2:30 [INFO] [stdout] | [INFO] [stdout] 2 | use clap::{App, AppSettings, ArgMatches}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Program` [INFO] [stdout] --> debian_bridge_cli/src/starter.rs:3:73 [INFO] [stdout] | [INFO] [stdout] 3 | use debian_bridge_core::{App as Wrapper, Config, Docker, Feature, Icon, Program, System}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `net::IpAddr`, `str::FromStr` [INFO] [stdout] --> debian_bridge_cli/src/starter.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | net::IpAddr, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 7 | path::{Path, PathBuf}, [INFO] [stdout] 8 | str::FromStr, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling debian_bridge v1.0.0 (/opt/rustwide/workdir/debian_bridge) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 26s [INFO] running `Command { std: "docker" "inspect" "970dc459989addfbc10df10ee84db32d2f7dc82216ee4c9abbd8c1b85a583590", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "970dc459989addfbc10df10ee84db32d2f7dc82216ee4c9abbd8c1b85a583590", kill_on_drop: false }` [INFO] [stdout] 970dc459989addfbc10df10ee84db32d2f7dc82216ee4c9abbd8c1b85a583590 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] [stdout] 1fdad21ec319142c038e012e486a35583e2574d2cf0f00c0decc21f04f427d75 [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" "1fdad21ec319142c038e012e486a35583e2574d2cf0f00c0decc21f04f427d75", kill_on_drop: false }` [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> debian_bridge_core/build.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error::Error`, `path::Path` [INFO] [stdout] --> debian_bridge_core/build.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{error::Error, path::Path}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> debian_bridge_core/build.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | let mut path = dirs::home_dir().unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling mocktopus_macros v0.7.11 [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> debian_bridge_core/build.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let mut path = default_icon_path(path.as_path()); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> debian_bridge_core/build.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | std::fs::create_dir(&path); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `path::Path` [INFO] [stdout] --> debian_bridge_cli/build.rs:7:25 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{error::Error, path::Path}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> debian_bridge_cli/build.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 31 | if let Err(err) = result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::Error` [INFO] [stdout] --> debian_bridge_core/src/app/config.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | error::Error, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `convert::TryInto` [INFO] [stdout] --> debian_bridge_core/src/app/deb.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{convert::TryInto, ffi::OsStr, path::Path}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> debian_bridge_core/src/app/docker.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mutex` [INFO] [stdout] --> debian_bridge_core/src/app/docker.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | sync::{Arc, Mutex}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Feature` [INFO] [stdout] --> debian_bridge_core/src/app/util.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{app::error::AppError, Feature}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::to_string` [INFO] [stdout] --> debian_bridge_core/src/app/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use serde_json::to_string; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `net::IpAddr` [INFO] [stdout] --> debian_bridge_core/src/app/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | net::IpAddr, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ExitStatus`, `error::Error`, `ffi::OsString`, `fs::File` [INFO] [stdout] --> debian_bridge_core/src/sys/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | error::Error, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 10 | ffi::OsString, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 11 | fmt::{Display, Formatter}, [INFO] [stdout] 12 | fs::File, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 13 | process::{Command, ExitStatus, Stdio}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `colorful::core::StrMarker` [INFO] [stdout] --> debian_bridge_core/src/app/docker.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use colorful::core::StrMarker; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::Error` [INFO] [stdout] --> debian_bridge_core/src/app/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | error::Error, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> debian_bridge_core/src/sys/mod.rs:46:23 [INFO] [stdout] | [INFO] [stdout] 46 | .map_err(|err| SystemError::DockerConnection)?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> debian_bridge_core/src/sys/mod.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | Err(err) => Err(SystemError::DockerConnection), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o` [INFO] [stdout] --> debian_bridge_core/src/sys/mod.rs:74:19 [INFO] [stdout] | [INFO] [stdout] 74 | .map(|o| SoundDriver::PulseAudio) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_o` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o` [INFO] [stdout] --> debian_bridge_core/src/sys/mod.rs:75:32 [INFO] [stdout] | [INFO] [stdout] 75 | .or(alsa.ok().map(|o| SoundDriver::Alsa)) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_o` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `elem` [INFO] [stdout] --> debian_bridge_core/src/app/config.rs:153:18 [INFO] [stdout] | [INFO] [stdout] 153 | Some(elem) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_elem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> debian_bridge_core/src/app/docker.rs:67:43 [INFO] [stdout] | [INFO] [stdout] 67 | rt.shutdown_now().wait().map_err(|err| AppError::Docker)?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling debian_bridge v1.0.0 (/opt/rustwide/workdir/debian_bridge) [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> debian_bridge_core/src/app/docker.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | Err(err) => Err(AppError::Docker), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> debian_bridge_core/src/app/docker.rs:85:43 [INFO] [stdout] | [INFO] [stdout] 85 | rt.shutdown_now().wait().map_err(|err| AppError::Docker)?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> debian_bridge_core/src/app/docker.rs:105:43 [INFO] [stdout] | [INFO] [stdout] 105 | rt.shutdown_now().wait().map_err(|err| AppError::Docker)?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> debian_bridge_core/src/app/docker.rs:145:43 [INFO] [stdout] | [INFO] [stdout] 145 | rt.shutdown_now().wait().map_err(|err| AppError::Docker)?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> debian_bridge_core/src/app/docker.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | .map_err(|err| AppError::Docker)?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> debian_bridge_core/src/app/util.rs:27:23 [INFO] [stdout] | [INFO] [stdout] 27 | .map_err(|err| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> debian_bridge_core/src/app/mod.rs:189:13 [INFO] [stdout] | [INFO] [stdout] 189 | let mut dockerfile = util::gen_dockerfile(&deb, &program)?; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `prefix` [INFO] [stdout] --> debian_bridge_core/src/app/mod.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | prefix: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `system` [INFO] [stdout] --> debian_bridge_core/src/app/docker.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | system: &'a System, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> debian_bridge_core/src/app/mod.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | writeln!(f, "\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> debian_bridge_core/src/app/mod.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | / writeln!( [INFO] [stdout] 63 | | f, [INFO] [stdout] 64 | | "\t{:<15} ===> {}", [INFO] [stdout] 65 | | format!("{}", feature), [INFO] [stdout] ... | [INFO] [stdout] 69 | | } [INFO] [stdout] 70 | | ); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> debian_bridge_core/src/app/config.rs:121:21 [INFO] [stdout] | [INFO] [stdout] 121 | config.serialize(path); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ArgMatches` [INFO] [stdout] --> debian_bridge_cli/src/starter.rs:2:30 [INFO] [stdout] | [INFO] [stdout] 2 | use clap::{App, AppSettings, ArgMatches}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Program` [INFO] [stdout] --> debian_bridge_cli/src/starter.rs:3:73 [INFO] [stdout] | [INFO] [stdout] 3 | use debian_bridge_core::{App as Wrapper, Config, Docker, Feature, Icon, Program, System}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `net::IpAddr`, `str::FromStr` [INFO] [stdout] --> debian_bridge_cli/src/starter.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | net::IpAddr, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 7 | path::{Path, PathBuf}, [INFO] [stdout] 8 | str::FromStr, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/mocktopus_macros-0.7.11/src/lib.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | #![feature(proc_macro_diagnostic)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [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 E0554`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mocktopus_macros` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "1fdad21ec319142c038e012e486a35583e2574d2cf0f00c0decc21f04f427d75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1fdad21ec319142c038e012e486a35583e2574d2cf0f00c0decc21f04f427d75", kill_on_drop: false }` [INFO] [stdout] 1fdad21ec319142c038e012e486a35583e2574d2cf0f00c0decc21f04f427d75