[INFO] cloning repository https://github.com/Kilobyte22/lockd [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Kilobyte22/lockd" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKilobyte22%2Flockd", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKilobyte22%2Flockd'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6bcee0ebac56b9f4f1fdfb0f3004b7905bcc41b5 [INFO] testing Kilobyte22/lockd against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKilobyte22%2Flockd" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Kilobyte22/lockd 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/Kilobyte22/lockd [INFO] finished tweaking git repo https://github.com/Kilobyte22/lockd [INFO] tweaked toml for git repo https://github.com/Kilobyte22/lockd written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/Kilobyte22/lockd 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 dbus v0.3.4 [INFO] [stderr] Downloaded libc v0.2.16 [INFO] [stderr] Downloaded config-parser v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] f5affcacee9bcef1db430f99d83aa19a74129d24727d26cc934c036f6ac5586c [INFO] running `Command { std: "docker" "start" "-a" "f5affcacee9bcef1db430f99d83aa19a74129d24727d26cc934c036f6ac5586c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f5affcacee9bcef1db430f99d83aa19a74129d24727d26cc934c036f6ac5586c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5affcacee9bcef1db430f99d83aa19a74129d24727d26cc934c036f6ac5586c", kill_on_drop: false }` [INFO] [stdout] f5affcacee9bcef1db430f99d83aa19a74129d24727d26cc934c036f6ac5586c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] f244af641c6c7b18a59c0f57a0a529e2810dd1bf5e8cb90fadec1da8c2cfa439 [INFO] running `Command { std: "docker" "start" "-a" "f244af641c6c7b18a59c0f57a0a529e2810dd1bf5e8cb90fadec1da8c2cfa439", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling pkg-config v0.3.8 [INFO] [stderr] Compiling libc v0.2.16 [INFO] [stderr] Compiling lockd v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling config-parser v0.1.2 [INFO] [stderr] Compiling dbus v0.3.4 [INFO] [stdout] error[E0425]: cannot find value `On` in this scope [INFO] [stdout] --> src/config.rs:30:31 [INFO] [stdout] | [INFO] [stdout] 30 | default_autolock: On, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: a tuple variant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 30 | default_autolock: Ok, [INFO] [stdout] | ~~ [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use config::DefaultValue::On; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `On` in this scope [INFO] [stdout] --> src/config.rs:31:37 [INFO] [stdout] | [INFO] [stdout] 31 | default_suspend_on_lid: On [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: a tuple variant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 31 | default_suspend_on_lid: Ok [INFO] [stdout] | ~~ [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use config::DefaultValue::On; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/config.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:144:17 [INFO] [stdout] | [INFO] [stdout] 144 | try!(write!(f, "Parse Error: ")); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `dbgprintln` [INFO] [stdout] --> src/daemon.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | macro_rules! dbgprintln { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/daemon.rs:83:28 [INFO] [stdout] | [INFO] [stdout] 83 | Some(p) => try!(create_path(p)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/daemon.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | try!(f.write_all(content.as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/daemon.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | let mut f = try!(fs::File::create(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/config.rs:132:32 [INFO] [stdout] | [INFO] [stdout] 132 | fn cause(&self) -> Option<&Error> { [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 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 132 - fn cause(&self) -> Option<&Error> { [INFO] [stdout] 132 + fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `autolock` on type `Config` [INFO] [stdout] --> src/config.rs:58:29 [INFO] [stdout] | [INFO] [stdout] 58 | ret.autolock = match autolock.get_opt(0) { [INFO] [stdout] | ^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `lock_command`, `lock_params`, `default_autolock`, `default_suspend_on_lid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/config.rs:148:38 [INFO] [stdout] | [INFO] [stdout] 148 | write!(f, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/control.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | let r = try!(call(&c, method("GetSuspendOnLid"))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/control.rs:28:23 [INFO] [stdout] | [INFO] [stdout] 28 | "lock" => try!(basic_call(&c, method("Lock"))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/control.rs:29:25 [INFO] [stdout] | [INFO] [stdout] 29 | "unlock" => try!(basic_call(&c, method("Unlock"))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/control.rs:30:23 [INFO] [stdout] | [INFO] [stdout] 30 | "exit" => try!(basic_call(&c, method("Exit"))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/control.rs:31:25 [INFO] [stdout] | [INFO] [stdout] 31 | "reload" => try!(basic_call(&c, method("Reload"))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/control.rs:36:38 [INFO] [stdout] | [INFO] [stdout] 36 | "suspend" => try!(basic_call(&c, method("SetSuspendOnLid").append1(true))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/control.rs:37:37 [INFO] [stdout] | [INFO] [stdout] 37 | "ignore" => try!(basic_call(&c, method("SetSuspendOnLid").append1(false))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/control.rs:38:37 [INFO] [stdout] | [INFO] [stdout] 38 | "toggle" => try!(basic_call(&c, method("SetSuspendOnLid").append1(!lidaction))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/control.rs:51:29 [INFO] [stdout] | [INFO] [stdout] 51 | "on" => try!(basic_call(&c, method("SetAutoLock").append1(true))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/control.rs:52:30 [INFO] [stdout] | [INFO] [stdout] 52 | "off" => try!(basic_call(&c, method("SetAutoLock").append1(false))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/control.rs:56:25 [INFO] [stdout] | [INFO] [stdout] 56 | let r = try!(call(&c, method("GetAutoLock"))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/control.rs:63:35 [INFO] [stdout] | [INFO] [stdout] 63 | "perform_autolock" => try!(basic_call(&c, method("AutoLock"))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lockd` due to 4 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "f244af641c6c7b18a59c0f57a0a529e2810dd1bf5e8cb90fadec1da8c2cfa439", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f244af641c6c7b18a59c0f57a0a529e2810dd1bf5e8cb90fadec1da8c2cfa439", kill_on_drop: false }` [INFO] [stdout] f244af641c6c7b18a59c0f57a0a529e2810dd1bf5e8cb90fadec1da8c2cfa439