[INFO] cloning repository https://github.com/nvanbenschoten/smart-light [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nvanbenschoten/smart-light" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnvanbenschoten%2Fsmart-light", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnvanbenschoten%2Fsmart-light'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b73aa2e2b5c3ea61c1e6e7e68c24ebc1fda66c73 [INFO] checking nvanbenschoten/smart-light against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnvanbenschoten%2Fsmart-light" "/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/nvanbenschoten/smart-light on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2/source/.cargo/config [INFO] started tweaking git repo https://github.com/nvanbenschoten/smart-light [INFO] finished tweaking git repo https://github.com/nvanbenschoten/smart-light [INFO] tweaked toml for git repo https://github.com/nvanbenschoten/smart-light written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/nvanbenschoten/smart-light already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-2/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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] e372353e38409393ee6e5b498443b23dc378fc3acc459675d2135fe8190eed48 [INFO] running `Command { std: "docker" "start" "-a" "e372353e38409393ee6e5b498443b23dc378fc3acc459675d2135fe8190eed48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e372353e38409393ee6e5b498443b23dc378fc3acc459675d2135fe8190eed48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e372353e38409393ee6e5b498443b23dc378fc3acc459675d2135fe8190eed48", kill_on_drop: false }` [INFO] [stdout] e372353e38409393ee6e5b498443b23dc378fc3acc459675d2135fe8190eed48 [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=forbid" "-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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 26c32b39f63f5a0c4b91d0de7f1fd80bbad2479b3f6b95e30d28ad901c5ab09a [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" "26c32b39f63f5a0c4b91d0de7f1fd80bbad2479b3f6b95e30d28ad901c5ab09a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking phf_shared v0.7.15 [INFO] [stderr] Checking route-recognizer v0.1.13 [INFO] [stderr] Checking hex v0.2.0 [INFO] [stderr] Checking conduit-mime-types v0.7.3 [INFO] [stderr] Checking tinyvec v1.1.0 [INFO] [stderr] Checking unsafe-any v0.4.2 [INFO] [stderr] Checking error v0.1.9 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking phf v0.7.15 [INFO] [stderr] Checking typemap v0.3.3 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Checking plugin v0.2.6 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking hpack v0.2.0 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking unicode-normalization v0.1.16 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking num_cpus v0.2.13 [INFO] [stderr] Checking solicit v0.4.4 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking cookie v0.2.5 [INFO] [stderr] Checking chrono v0.2.25 [INFO] [stderr] Checking hyper v0.9.18 [INFO] [stderr] Checking timer v0.1.6 [INFO] [stderr] Checking postgres v0.11.12 [INFO] [stderr] Checking iron v0.4.0 [INFO] [stderr] Checking router v0.2.0 [INFO] [stderr] Checking smart_light v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/alarm.rs:31:22 [INFO] [stdout] | [INFO] [stdout] 31 | let db_srv = try!(db::Service::new()); [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/alarm.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | try!(inner.load_initial_actions(&service)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/alarm.rs:63:23 [INFO] [stdout] | [INFO] [stdout] 63 | let actions = try!(self.db_srv.get_actions()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/alarm.rs:71:22 [INFO] [stdout] | [INFO] [stdout] 71 | let action = try!(self.db_srv.new_action(weekday, time, open)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/alarm.rs:90:23 [INFO] [stdout] | [INFO] [stdout] 90 | let deleted = try!(self.db_srv.delete_action(action_id)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db.rs:50:20 [INFO] [stdout] | [INFO] [stdout] 50 | let conn = try!(Connection::connect("postgresql://root@localhost:26257/smart_light", SslMode::None) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | try!(conn.execute("CREATE TABLE IF NOT EXISTS actions ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db.rs:68:20 [INFO] [stdout] | [INFO] [stdout] 68 | let rows = try!(self.connection.query("INSERT INTO actions [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db.rs:81:20 [INFO] [stdout] | [INFO] [stdout] 81 | let rows = try!(self.connection.query("SELECT id, day, time, open FROM actions", &[]) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/http.rs:39:67 [INFO] [stdout] | [INFO] [stdout] 39 | fn with_manager(curtain_mgr: &curtain::Manager, f: F1) -> Box [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Handler` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/alarm.rs:31:22 [INFO] [stdout] | [INFO] [stdout] 31 | let db_srv = try!(db::Service::new()); [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/alarm.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | try!(inner.load_initial_actions(&service)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/alarm.rs:63:23 [INFO] [stdout] | [INFO] [stdout] 63 | let actions = try!(self.db_srv.get_actions()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/alarm.rs:71:22 [INFO] [stdout] | [INFO] [stdout] 71 | let action = try!(self.db_srv.new_action(weekday, time, open)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/alarm.rs:90:23 [INFO] [stdout] | [INFO] [stdout] 90 | let deleted = try!(self.db_srv.delete_action(action_id)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db.rs:50:20 [INFO] [stdout] | [INFO] [stdout] 50 | let conn = try!(Connection::connect("postgresql://root@localhost:26257/smart_light", SslMode::None) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | try!(conn.execute("CREATE TABLE IF NOT EXISTS actions ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db.rs:68:20 [INFO] [stdout] | [INFO] [stdout] 68 | let rows = try!(self.connection.query("INSERT INTO actions [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db.rs:81:20 [INFO] [stdout] | [INFO] [stdout] 81 | let rows = try!(self.connection.query("SELECT id, day, time, open FROM actions", &[]) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::*` [INFO] [stdout] --> src/db.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | use chrono::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/http.rs:39:67 [INFO] [stdout] | [INFO] [stdout] 39 | fn with_manager(curtain_mgr: &curtain::Manager, f: F1) -> Box [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Handler` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 25.44s [INFO] running `Command { std: "docker" "inspect" "26c32b39f63f5a0c4b91d0de7f1fd80bbad2479b3f6b95e30d28ad901c5ab09a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26c32b39f63f5a0c4b91d0de7f1fd80bbad2479b3f6b95e30d28ad901c5ab09a", kill_on_drop: false }` [INFO] [stdout] 26c32b39f63f5a0c4b91d0de7f1fd80bbad2479b3f6b95e30d28ad901c5ab09a