[INFO] cloning repository https://github.com/zhublik/rest_on_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zhublik/rest_on_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhublik%2Frest_on_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhublik%2Frest_on_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f6a343b7536308c1dac12e46e008e64db1cf2766 [INFO] checking zhublik/rest_on_rust against master#4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5 for pr-81174 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhublik%2Frest_on_rust" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zhublik/rest_on_rust on toolchain 4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zhublik/rest_on_rust [INFO] finished tweaking git repo https://github.com/zhublik/rest_on_rust [INFO] tweaked toml for git repo https://github.com/zhublik/rest_on_rust written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/zhublik/rest_on_rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-13/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" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0c0291a40162d66fd7154cbccdb1076b68af24b7c7d0fc2a1e579e8cef12b46a [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" "0c0291a40162d66fd7154cbccdb1076b68af24b7c7d0fc2a1e579e8cef12b46a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c0291a40162d66fd7154cbccdb1076b68af24b7c7d0fc2a1e579e8cef12b46a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c0291a40162d66fd7154cbccdb1076b68af24b7c7d0fc2a1e579e8cef12b46a", kill_on_drop: false }` [INFO] [stdout] 0c0291a40162d66fd7154cbccdb1076b68af24b7c7d0fc2a1e579e8cef12b46a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6e5d7e49a11e500ab90c56eed83e4b2470e9ec26f0edcbcdc0158b6ef5297790 [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" "6e5d7e49a11e500ab90c56eed83e4b2470e9ec26f0edcbcdc0158b6ef5297790", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking byteorder v0.3.13 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking phf v0.7.24 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking dlv-list v0.2.2 [INFO] [stderr] Checking ordered-multimap v0.3.1 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Checking rust-ini v0.16.1 [INFO] [stderr] Compiling postgres v0.9.6 [INFO] [stderr] Checking rust-phonebook v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/db.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | try!(stmt.execute(&[id])); [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/db.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | try!(stmt.execute(&[id])); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read` [INFO] [stdout] --> src/db.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn read(sdb: Arc>, name: Option<&str>) -> Result, ()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_one` [INFO] [stdout] --> src/db.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn read_one(sdb: Arc>, id: i32) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read` [INFO] [stdout] --> src/db.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn read(sdb: Arc>, name: Option<&str>) -> Result, ()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_one` [INFO] [stdout] --> src/db.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn read_one(sdb: Arc>, id: i32) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 20.27s [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6e5d7e49a11e500ab90c56eed83e4b2470e9ec26f0edcbcdc0158b6ef5297790", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e5d7e49a11e500ab90c56eed83e4b2470e9ec26f0edcbcdc0158b6ef5297790", kill_on_drop: false }` [INFO] [stdout] 6e5d7e49a11e500ab90c56eed83e4b2470e9ec26f0edcbcdc0158b6ef5297790