[INFO] cloning repository https://github.com/philippguertler/volumectl [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/philippguertler/volumectl" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphilippguertler%2Fvolumectl", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphilippguertler%2Fvolumectl'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 479dc6865faf2d1f901589e47fda42400ffed12f [INFO] testing philippguertler/volumectl against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphilippguertler%2Fvolumectl" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/philippguertler/volumectl on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/philippguertler/volumectl [INFO] finished tweaking git repo https://github.com/philippguertler/volumectl [INFO] tweaked toml for git repo https://github.com/philippguertler/volumectl written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/philippguertler/volumectl already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8ea553512602ae8ce8cf2640c3ecaf44e539df6957f7270637212c94458fefe1 [INFO] running `Command { std: "docker" "start" "-a" "8ea553512602ae8ce8cf2640c3ecaf44e539df6957f7270637212c94458fefe1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8ea553512602ae8ce8cf2640c3ecaf44e539df6957f7270637212c94458fefe1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ea553512602ae8ce8cf2640c3ecaf44e539df6957f7270637212c94458fefe1", kill_on_drop: false }` [INFO] [stdout] 8ea553512602ae8ce8cf2640c3ecaf44e539df6957f7270637212c94458fefe1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d564887f6d8c6b38d421ee3dc93a8021bf4f6a6670960dc5bd4672eb05ba3ce4 [INFO] running `Command { std: "docker" "start" "-a" "d564887f6d8c6b38d421ee3dc93a8021bf4f6a6670960dc5bd4672eb05ba3ce4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.54 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling regex v1.1.6 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling simple-error v0.1.13 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling regex-syntax v0.6.6 [INFO] [stderr] Compiling libpulse-sys v1.5.0 [INFO] [stderr] Compiling aho-corasick v0.7.3 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling libpulse-binding v2.6.0 [INFO] [stderr] Compiling volumectl v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:18:28 [INFO] [stdout] | [INFO] [stdout] 18 | fn run() -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 - fn run() -> Result<(), Box> { [INFO] [stdout] 18 + fn run() -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/audio.rs:26:68 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn set_volume(rules: Vec, volume: f64) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 - pub fn set_volume(rules: Vec, volume: f64) -> Result<(), Box> { [INFO] [stdout] 26 + pub fn set_volume(rules: Vec, volume: f64) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rule.rs:37:46 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn read_rules() -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 37 - pub fn read_rules() -> Result, Box> { [INFO] [stdout] 37 + pub fn read_rules() -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rule.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | type Err = Box; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 - type Err = Box; [INFO] [stdout] 20 + type Err = Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/rule.rs:38:20 [INFO] [stdout] | [INFO] [stdout] 38 | let mut path = require_with!(dirs::config_dir(), "Could not find config dir"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this method call resolves to `&T` [INFO] [stdout] | cannot infer type for type parameter `T` declared on the trait `AsRef` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `str: AsRef<_>` found in the following crates: `core`, `std`: [INFO] [stdout] - impl AsRef for str; [INFO] [stdout] - impl AsRef for str; [INFO] [stdout] - impl AsRef<[u8]> for str; [INFO] [stdout] - impl AsRef for str; [INFO] [stdout] = note: this error originates in the macro `require_with` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `volumectl` due to 2 previous errors; 4 warnings emitted [INFO] [stdout] For more information about this error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d564887f6d8c6b38d421ee3dc93a8021bf4f6a6670960dc5bd4672eb05ba3ce4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d564887f6d8c6b38d421ee3dc93a8021bf4f6a6670960dc5bd4672eb05ba3ce4", kill_on_drop: false }` [INFO] [stdout] d564887f6d8c6b38d421ee3dc93a8021bf4f6a6670960dc5bd4672eb05ba3ce4