[INFO] cloning repository https://github.com/ozbe/rust-cli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ozbe/rust-cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fozbe%2Frust-cli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fozbe%2Frust-cli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 42164f873e6abef8a546cd52003b13f2aeb93a40 [INFO] testing ozbe/rust-cli against try#ecabaf78506b7a4668d42dc20268c086b93f0fad for pr-87041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fozbe%2Frust-cli" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ozbe/rust-cli on toolchain ecabaf78506b7a4668d42dc20268c086b93f0fad [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ozbe/rust-cli [INFO] finished tweaking git repo https://github.com/ozbe/rust-cli [INFO] tweaked toml for git repo https://github.com/ozbe/rust-cli written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/ozbe/rust-cli already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/ozbe/rust-pocket.git` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded directories v0.10.0 [INFO] [stderr] Downloaded confy v0.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 38215a35614281f9869476829d5fcbb5c17b980ad841daf3aac5eb0fda83e2f6 [INFO] running `Command { std: "docker" "start" "-a" "38215a35614281f9869476829d5fcbb5c17b980ad841daf3aac5eb0fda83e2f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "38215a35614281f9869476829d5fcbb5c17b980ad841daf3aac5eb0fda83e2f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38215a35614281f9869476829d5fcbb5c17b980ad841daf3aac5eb0fda83e2f6", kill_on_drop: false }` [INFO] [stdout] 38215a35614281f9869476829d5fcbb5c17b980ad841daf3aac5eb0fda83e2f6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c85154150e8e1a119a1631afbe3d669bf13a078efc87d08b3562dc7a8c81f90b [INFO] running `Command { std: "docker" "start" "-a" "c85154150e8e1a119a1631afbe3d669bf13a078efc87d08b3562dc7a8c81f90b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Compiling serde v1.0.111 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling smallvec v1.2.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling openssl v0.10.28 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling antidote v1.0.0 [INFO] [stderr] Compiling directories v0.10.0 [INFO] [stderr] Compiling dtoa v0.4.7 [INFO] [stderr] Compiling webbrowser v0.5.5 [INFO] [stderr] Compiling proc-macro-error-attr v0.4.11 [INFO] [stderr] Compiling proc-macro-error v0.4.11 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling openssl-sys v0.9.54 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling num_cpus v1.12.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling hyper-native-tls v0.3.0 [INFO] [stderr] Compiling serde_derive v1.0.111 [INFO] [stderr] Compiling structopt-derive v0.4.4 [INFO] [stderr] Compiling structopt v0.3.11 [INFO] [stderr] Compiling url_serde v0.2.0 [INFO] [stderr] Compiling serde_json v1.0.48 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling serde_yaml v0.8.16 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling confy v0.3.1 [INFO] [stderr] Compiling pocket v0.1.3 (https://github.com/ozbe/rust-pocket.git#0f8802bf) [INFO] [stderr] Compiling pocket v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/config.rs:52:29 [INFO] [stdout] | [INFO] [stdout] 52 | _ => panic!(format!("Invalid key: `{}`", key)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 52 | _ => panic!("Invalid key: `{}`", key), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/config.rs:61:29 [INFO] [stdout] | [INFO] [stdout] 61 | _ => panic!(format!("Invalid key: `{}`", key)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 61 | _ => panic!("Invalid key: `{}`", key), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 03s [INFO] running `Command { std: "docker" "inspect" "c85154150e8e1a119a1631afbe3d669bf13a078efc87d08b3562dc7a8c81f90b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c85154150e8e1a119a1631afbe3d669bf13a078efc87d08b3562dc7a8c81f90b", kill_on_drop: false }` [INFO] [stdout] c85154150e8e1a119a1631afbe3d669bf13a078efc87d08b3562dc7a8c81f90b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 36380a6bb232752202abc49aca3df84bf3f51347e972349a21940bc18f9b611f [INFO] running `Command { std: "docker" "start" "-a" "36380a6bb232752202abc49aca3df84bf3f51347e972349a21940bc18f9b611f", kill_on_drop: false }` [INFO] [stderr] Compiling pocket v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/config.rs:52:29 [INFO] [stdout] | [INFO] [stdout] 52 | _ => panic!(format!("Invalid key: `{}`", key)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 52 | _ => panic!("Invalid key: `{}`", key), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/config.rs:61:29 [INFO] [stdout] | [INFO] [stdout] 61 | _ => panic!(format!("Invalid key: `{}`", key)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 61 | _ => panic!("Invalid key: `{}`", key), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.68s [INFO] running `Command { std: "docker" "inspect" "36380a6bb232752202abc49aca3df84bf3f51347e972349a21940bc18f9b611f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36380a6bb232752202abc49aca3df84bf3f51347e972349a21940bc18f9b611f", kill_on_drop: false }` [INFO] [stdout] 36380a6bb232752202abc49aca3df84bf3f51347e972349a21940bc18f9b611f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4cf84cb36a6614b6bba9405cf9dc167c8cac77ac78d352a33008af3b5c00051e [INFO] running `Command { std: "docker" "start" "-a" "4cf84cb36a6614b6bba9405cf9dc167c8cac77ac78d352a33008af3b5c00051e", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stdout] running 7 tests [INFO] [stderr] --> src/config.rs:52:29 [INFO] [stderr] | [INFO] [stderr] 52 | _ => panic!(format!("Invalid key: `{}`", key)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 52 | _ => panic!("Invalid key: `{}`", key), [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/config.rs:61:29 [INFO] [stderr] | [INFO] [stderr] 61 | _ => panic!(format!("Invalid key: `{}`", key)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 61 | _ => panic!("Invalid key: `{}`", key), [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/pocket-8fdab7a26f7da8bd) [INFO] [stdout] test auth::tests::login_writes_user ... ok [INFO] [stdout] test add::tests::add_writes_item ... ok [INFO] [stdout] test get::tests::get_writes_items ... ok [INFO] [stdout] test add::tests::add_panics_when_pocket_error - should panic ... ok [INFO] [stdout] test get::tests::get_panics_when_write_error - should panic ... ok [INFO] [stdout] test get::tests::get_panics_when_pocket_error - should panic ... ok [INFO] [stdout] test add::tests::add_panics_when_write_error - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4cf84cb36a6614b6bba9405cf9dc167c8cac77ac78d352a33008af3b5c00051e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4cf84cb36a6614b6bba9405cf9dc167c8cac77ac78d352a33008af3b5c00051e", kill_on_drop: false }` [INFO] [stdout] 4cf84cb36a6614b6bba9405cf9dc167c8cac77ac78d352a33008af3b5c00051e