[INFO] cloning repository https://github.com/joelparkerhenderson/demo_abenity_api_with_rust_reqwest [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/joelparkerhenderson/demo_abenity_api_with_rust_reqwest" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoelparkerhenderson%2Fdemo_abenity_api_with_rust_reqwest", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoelparkerhenderson%2Fdemo_abenity_api_with_rust_reqwest'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9663f9859704f4c2d5766582d20981ac3772fdab [INFO] testing joelparkerhenderson/demo_abenity_api_with_rust_reqwest against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoelparkerhenderson%2Fdemo_abenity_api_with_rust_reqwest" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/joelparkerhenderson/demo_abenity_api_with_rust_reqwest on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/joelparkerhenderson/demo_abenity_api_with_rust_reqwest [INFO] finished tweaking git repo https://github.com/joelparkerhenderson/demo_abenity_api_with_rust_reqwest [INFO] tweaked toml for git repo https://github.com/joelparkerhenderson/demo_abenity_api_with_rust_reqwest written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/joelparkerhenderson/demo_abenity_api_with_rust_reqwest already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b73ee6d8a821c292075bf9dd7e4bfae3c7ae94a5c879cc6acfa15b17df5c8207 [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" "b73ee6d8a821c292075bf9dd7e4bfae3c7ae94a5c879cc6acfa15b17df5c8207", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b73ee6d8a821c292075bf9dd7e4bfae3c7ae94a5c879cc6acfa15b17df5c8207", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b73ee6d8a821c292075bf9dd7e4bfae3c7ae94a5c879cc6acfa15b17df5c8207", kill_on_drop: false }` [INFO] [stdout] b73ee6d8a821c292075bf9dd7e4bfae3c7ae94a5c879cc6acfa15b17df5c8207 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8f6c73fe396973dc8c02d789781ef80a6420f9bc1ae9833be7394394e4f5173d [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" "8f6c73fe396973dc8c02d789781ef80a6420f9bc1ae9833be7394394e4f5173d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.27 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling cc v1.0.54 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling arc-swap v0.4.6 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling pin-project-lite v0.1.5 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling encoding_rs v0.8.23 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling dtoa v0.4.5 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling antidote v1.0.0 [INFO] [stderr] Compiling base64 v0.12.1 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling proc-macro2 v1.0.17 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling error-chain v0.12.2 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling openssl-sys v0.9.57 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling cookie v0.12.0 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling publicsuffix v1.5.4 [INFO] [stderr] Compiling hyper-native-tls v0.3.0 [INFO] [stderr] Compiling pin-project-internal v0.4.17 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling serde_derive v1.0.110 [INFO] [stderr] Compiling tokio v0.2.21 [INFO] [stderr] Compiling pin-project v0.4.17 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling tokio-test v0.2.1 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Compiling h2 v0.2.5 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling hyper v0.13.5 [INFO] [stderr] Compiling serde_json v1.0.53 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling cookie_store v0.11.0 [INFO] [stderr] Compiling hyper-tls v0.4.1 [INFO] [stderr] Compiling reqwest v0.10.5 [INFO] [stderr] Compiling demo_abenity_perks_api_with_rust_reqwest v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/main.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let client = reqwest::Client::new(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/main.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let config = crate::abenity::perks::api::config::Config::from_env(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base` [INFO] [stdout] --> src/abenity/perks/api/endpoints/offers.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | base: Url, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_base` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 39.11s [INFO] running `Command { std: "docker" "inspect" "8f6c73fe396973dc8c02d789781ef80a6420f9bc1ae9833be7394394e4f5173d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f6c73fe396973dc8c02d789781ef80a6420f9bc1ae9833be7394394e4f5173d", kill_on_drop: false }` [INFO] [stdout] 8f6c73fe396973dc8c02d789781ef80a6420f9bc1ae9833be7394394e4f5173d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 25e36adf5ceb594e8e4db3aac66858317d3d7fa59c27659067d1691795c7d23a [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" "25e36adf5ceb594e8e4db3aac66858317d3d7fa59c27659067d1691795c7d23a", kill_on_drop: false }` [INFO] [stderr] Compiling demo_abenity_perks_api_with_rust_reqwest v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `reqwest::Url` [INFO] [stdout] --> src/abenity/perks/api/config.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | use reqwest::Url; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/main.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let client = reqwest::Client::new(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/main.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let config = crate::abenity::perks::api::config::Config::from_env(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base` [INFO] [stdout] --> src/abenity/perks/api/endpoints/offers.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | base: Url, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_base` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.01s [INFO] running `Command { std: "docker" "inspect" "25e36adf5ceb594e8e4db3aac66858317d3d7fa59c27659067d1691795c7d23a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25e36adf5ceb594e8e4db3aac66858317d3d7fa59c27659067d1691795c7d23a", kill_on_drop: false }` [INFO] [stdout] 25e36adf5ceb594e8e4db3aac66858317d3d7fa59c27659067d1691795c7d23a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 679e2c05595832b0b86879259287cafe10dc126feb6ee7b2bafd845228a02464 [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" "679e2c05595832b0b86879259287cafe10dc126feb6ee7b2bafd845228a02464", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `reqwest::Url` [INFO] [stderr] --> src/abenity/perks/api/config.rs:25:9 [INFO] [stderr] | [INFO] [stderr] 25 | use reqwest::Url; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `client` [INFO] [stderr] --> src/main.rs:19:9 [INFO] [stderr] | [INFO] [stderr] 19 | let client = reqwest::Client::new(); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `config` [INFO] [stderr] --> src/main.rs:20:9 [INFO] [stderr] | [INFO] [stderr] 20 | let config = crate::abenity::perks::api::config::Config::from_env(); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `base` [INFO] [stderr] --> src/abenity/perks/api/endpoints/offers.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | base: Url, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_base` [INFO] [stderr] [INFO] [stderr] warning: 4 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/demo_abenity_perks_api_with_rust_reqwest-b24909251cbdbd1f) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test abenity::perks::api::config::tests::test_from_env ... ok [INFO] [stdout] test abenity::perks::api::entities::logo::tests::test_parse_json_str_to_value ... ok [INFO] [stdout] test abenity::perks::api::entities::category::tests::test_parse_json_str_to_value ... ok [INFO] [stdout] test abenity::perks::api::endpoints::offers::tests::test_get_offers_url ... ok [INFO] [stdout] test abenity::perks::api::entities::location::tests::test_parse_json_str_to_value ... ok [INFO] [stdout] test abenity::perks::api::entities::offer::tests::test_parse_json_str_to_value ... ok [INFO] [stdout] test abenity::perks::api::endpoints::categories::tests::test_get_categories_url ... ok [INFO] [stdout] test abenity::perks::api::entities::offer_category::tests::test_parse_json_str_to_value ... ok [INFO] [stdout] test abenity::perks::api::entities::vendor_offers::tests::test_parse_json_str_to_value ... ok [INFO] [stdout] test abenity::perks::api::entities::vendor::tests::test_abenity_api_vendor_x_parse_json_str_to_value ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "679e2c05595832b0b86879259287cafe10dc126feb6ee7b2bafd845228a02464", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "679e2c05595832b0b86879259287cafe10dc126feb6ee7b2bafd845228a02464", kill_on_drop: false }` [INFO] [stdout] 679e2c05595832b0b86879259287cafe10dc126feb6ee7b2bafd845228a02464