[INFO] cloning repository https://github.com/sonnguyenp0/f48days-with-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sonnguyenp0/f48days-with-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsonnguyenp0%2Ff48days-with-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsonnguyenp0%2Ff48days-with-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0c56b908c0fda5c7cbbcb8a06ef34cb2d1a24505 [INFO] testing sonnguyenp0/f48days-with-rust against try#eafdee2dfae8c2233b74f98b123308be7ccefcc6 for pr-79296 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsonnguyenp0%2Ff48days-with-rust" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sonnguyenp0/f48days-with-rust on toolchain eafdee2dfae8c2233b74f98b123308be7ccefcc6 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sonnguyenp0/f48days-with-rust [INFO] finished tweaking git repo https://github.com/sonnguyenp0/f48days-with-rust [INFO] tweaked toml for git repo https://github.com/sonnguyenp0/f48days-with-rust written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/sonnguyenp0/f48days-with-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded postgres_array v0.10.0 [INFO] [stderr] Downloaded tau v1.0.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3d92f7678c2148699ada6cb6c874749cd1c5eab9d72b44317397fdc671337012 [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" "3d92f7678c2148699ada6cb6c874749cd1c5eab9d72b44317397fdc671337012", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3d92f7678c2148699ada6cb6c874749cd1c5eab9d72b44317397fdc671337012", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d92f7678c2148699ada6cb6c874749cd1c5eab9d72b44317397fdc671337012", kill_on_drop: false }` [INFO] [stdout] 3d92f7678c2148699ada6cb6c874749cd1c5eab9d72b44317397fdc671337012 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a11a2f955f754e68df798e4c69574c016149b44b932f548323ea6c21bcd0d1a5 [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" "a11a2f955f754e68df798e4c69574c016149b44b932f548323ea6c21bcd0d1a5", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.50 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling const_fn v0.4.3 [INFO] [stderr] Compiling futures-io v0.3.8 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling cache-padded v1.1.1 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling fastrand v1.4.0 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling event-listener v2.5.1 [INFO] [stderr] Compiling vec-arena v1.0.0 [INFO] [stderr] Compiling subtle v2.3.0 [INFO] [stderr] Compiling async-task v4.0.3 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling dtoa v0.4.6 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling anymap v0.12.1 [INFO] [stderr] Compiling tau v1.0.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-bigint v0.3.1 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling futures-task v0.3.8 [INFO] [stderr] Compiling block-buffer v0.3.3 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling async-mutex v1.4.0 [INFO] [stderr] Compiling form_urlencoded v1.0.0 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling net2 v0.2.35 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling nb-connect v1.0.2 [INFO] [stderr] Compiling socket2 v0.3.17 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling futures-lite v1.11.2 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling base64 v0.6.0 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling async-channel v1.5.1 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling polling v2.0.2 [INFO] [stderr] Compiling tracing v0.1.21 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling uuid v0.2.3 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling url v2.2.0 [INFO] [stderr] Compiling async-io v1.2.0 [INFO] [stderr] Compiling async-executor v1.4.0 [INFO] [stderr] Compiling blocking v1.0.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling crossbeam-epoch v0.9.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling num-complex v0.3.1 [INFO] [stderr] Compiling async-global-executor v1.4.3 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling generic-array v0.9.0 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling async-std v1.7.0 [INFO] [stderr] Compiling png v0.12.0 [INFO] [stderr] Compiling digest v0.7.6 [INFO] [stderr] Compiling crypto-mac v0.5.2 [INFO] [stderr] Compiling sha2 v0.7.1 [INFO] [stderr] Compiling hmac v0.5.0 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.9.1 [INFO] [stderr] Compiling postgres-protocol v0.3.2 [INFO] [stderr] Compiling sha2 v0.9.2 [INFO] [stderr] Compiling hmac v0.9.0 [INFO] [stderr] Compiling postgres-protocol v0.5.3 [INFO] [stderr] Compiling postgres-shared v0.4.2 [INFO] [stderr] Compiling postgres-types v0.1.3 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling postgres v0.15.2 [INFO] [stderr] Compiling postgres_array v0.10.0 [INFO] [stderr] Compiling num v0.3.1 [INFO] [stderr] Compiling jpeg-decoder v0.1.20 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling async-trait v0.1.42 [INFO] [stderr] Compiling image v0.19.0 [INFO] [stderr] Compiling tokio v0.2.23 [INFO] [stderr] Compiling pin-project v0.4.27 [INFO] [stderr] Compiling tracing-futures v0.2.4 [INFO] [stderr] Compiling pin-project v1.0.2 [INFO] [stderr] Compiling futures-util v0.3.8 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling combine v4.4.0 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling bstr v0.2.14 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling csv v1.1.4 [INFO] [stderr] Compiling hyper v0.13.9 [INFO] [stderr] Compiling redis v0.17.0 [INFO] [stderr] Compiling f48days-with-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Uri`, `body::HttpBody as _` [INFO] [stdout] --> src/vol1/http_request.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use hyper::{body::HttpBody as _, Client, Uri, Body, Method, Request}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `url::form_urlencoded` [INFO] [stdout] --> src/vol1/http_request.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use url::form_urlencoded; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Complex64`, `Complex` [INFO] [stdout] --> src/vol1/tau_exp.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use num::complex::{Complex, Complex64}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/vol1/image_processing.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/vol1/http_request.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let mut response = client.get(uri).await?; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `processing` [INFO] [stdout] --> src/vol1/csv_file.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn processing() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_content` [INFO] [stdout] --> src/vol1/http_request.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | async fn get_content(url: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `post_query` [INFO] [stdout] --> src/vol1/http_request.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | async fn post_query(url: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `post_json` [INFO] [stdout] --> src/vol1/http_request.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | async fn post_json(url: &str, payload: &T) -> Result<(), Box> [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `example` [INFO] [stdout] --> src/vol1/json_processing.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn example() -> Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `example` [INFO] [stdout] --> src/vol1/iterator_exp.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn example() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DomainName` [INFO] [stdout] --> src/vol1/anymap_exp.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | DomainName(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Ip` [INFO] [stdout] --> src/vol1/anymap_exp.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | Ip(Ipv4Addr), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `example` [INFO] [stdout] --> src/vol1/anymap_exp.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn example() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `example` [INFO] [stdout] --> src/vol1/tau_exp.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn example() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Person` [INFO] [stdout] --> src/vol1/postgre_processing.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct Person { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `example` [INFO] [stdout] --> src/vol1/postgre_processing.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn example() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `example` [INFO] [stdout] --> src/vol1/image_processing.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn example() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `example` [INFO] [stdout] --> src/vol1/uuid_processing.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn example() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute [INFO] [stdout] --> src/vol1/json_processing.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(plugin)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/vol1/json_processing.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(plugin)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/vol1/http_request.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | get_content("http://httpbin.org/status/200").await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/vol1/http_request.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | post_query("http://httpbin.org/post").await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/vol1/http_request.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | post_json("http://httpbin.org/post", &movie).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4m 02s [INFO] running `Command { std: "docker" "inspect" "a11a2f955f754e68df798e4c69574c016149b44b932f548323ea6c21bcd0d1a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a11a2f955f754e68df798e4c69574c016149b44b932f548323ea6c21bcd0d1a5", kill_on_drop: false }` [INFO] [stdout] a11a2f955f754e68df798e4c69574c016149b44b932f548323ea6c21bcd0d1a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c0eb31274f59f2f490b61ecb16f3ad436b18637386a2191876e95d662962373c [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" "c0eb31274f59f2f490b61ecb16f3ad436b18637386a2191876e95d662962373c", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling f48days-with-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Uri`, `body::HttpBody as _` [INFO] [stdout] --> src/vol1/http_request.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use hyper::{body::HttpBody as _, Client, Uri, Body, Method, Request}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `url::form_urlencoded` [INFO] [stdout] --> src/vol1/http_request.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use url::form_urlencoded; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Complex64`, `Complex` [INFO] [stdout] --> src/vol1/tau_exp.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use num::complex::{Complex, Complex64}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/vol1/image_processing.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/vol1/http_request.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let mut response = client.get(uri).await?; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `processing` [INFO] [stdout] --> src/vol1/csv_file.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn processing() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_content` [INFO] [stdout] --> src/vol1/http_request.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | async fn get_content(url: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `post_query` [INFO] [stdout] --> src/vol1/http_request.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | async fn post_query(url: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `post_json` [INFO] [stdout] --> src/vol1/http_request.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | async fn post_json(url: &str, payload: &T) -> Result<(), Box> [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `example` [INFO] [stdout] --> src/vol1/json_processing.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn example() -> Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `example` [INFO] [stdout] --> src/vol1/iterator_exp.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn example() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DomainName` [INFO] [stdout] --> src/vol1/anymap_exp.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | DomainName(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Ip` [INFO] [stdout] --> src/vol1/anymap_exp.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | Ip(Ipv4Addr), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `example` [INFO] [stdout] --> src/vol1/anymap_exp.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn example() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `example` [INFO] [stdout] --> src/vol1/tau_exp.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn example() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Person` [INFO] [stdout] --> src/vol1/postgre_processing.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct Person { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `example` [INFO] [stdout] --> src/vol1/postgre_processing.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn example() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `example` [INFO] [stdout] --> src/vol1/image_processing.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn example() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `example` [INFO] [stdout] --> src/vol1/uuid_processing.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn example() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute [INFO] [stdout] --> src/vol1/json_processing.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(plugin)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/vol1/json_processing.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(plugin)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/vol1/http_request.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | get_content("http://httpbin.org/status/200").await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/vol1/http_request.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | post_query("http://httpbin.org/post").await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/vol1/http_request.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | post_json("http://httpbin.org/post", &movie).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.03s [INFO] running `Command { std: "docker" "inspect" "c0eb31274f59f2f490b61ecb16f3ad436b18637386a2191876e95d662962373c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0eb31274f59f2f490b61ecb16f3ad436b18637386a2191876e95d662962373c", kill_on_drop: false }` [INFO] [stdout] c0eb31274f59f2f490b61ecb16f3ad436b18637386a2191876e95d662962373c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bb3f4980ce2b1e14e3d3706dab31c921c810c895f670c0e487689c0cca7f17cf [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" "bb3f4980ce2b1e14e3d3706dab31c921c810c895f670c0e487689c0cca7f17cf", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `Uri`, `body::HttpBody as _` [INFO] [stderr] --> src/vol1/http_request.rs:5:13 [INFO] [stderr] | [INFO] [stderr] 5 | use hyper::{body::HttpBody as _, Client, Uri, Body, Method, Request}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `url::form_urlencoded` [INFO] [stderr] --> src/vol1/http_request.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use url::form_urlencoded; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Complex64`, `Complex` [INFO] [stderr] --> src/vol1/tau_exp.rs:4:20 [INFO] [stderr] | [INFO] [stderr] 4 | use num::complex::{Complex, Complex64}; [INFO] [stderr] | ^^^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fs::File` [INFO] [stderr] --> src/vol1/image_processing.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use std::fs::File; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/vol1/http_request.rs:19:9 [INFO] [stderr] | [INFO] [stderr] 19 | let mut response = client.get(uri).await?; [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `processing` [INFO] [stderr] --> src/vol1/csv_file.rs:16:8 [INFO] [stderr] | [INFO] [stderr] 16 | pub fn processing() -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get_content` [INFO] [stderr] --> src/vol1/http_request.rs:16:10 [INFO] [stderr] | [INFO] [stderr] 16 | async fn get_content(url: &str) -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `post_query` [INFO] [stderr] --> src/vol1/http_request.rs:25:10 [INFO] [stderr] | [INFO] [stderr] 25 | async fn post_query(url: &str) -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `post_json` [INFO] [stderr] --> src/vol1/http_request.rs:37:10 [INFO] [stderr] | [INFO] [stderr] 37 | async fn post_json(url: &str, payload: &T) -> Result<(), Box> [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `example` [INFO] [stderr] --> src/vol1/json_processing.rs:24:8 [INFO] [stderr] | [INFO] [stderr] 24 | pub fn example() -> Result<()> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `example` [INFO] [stderr] --> src/vol1/iterator_exp.rs:1:8 [INFO] [stderr] | [INFO] [stderr] 1 | pub fn example() { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `DomainName` [INFO] [stderr] --> src/vol1/anymap_exp.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | DomainName(String), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Ip` [INFO] [stderr] --> src/vol1/anymap_exp.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | Ip(Ipv4Addr), [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `example` [INFO] [stderr] --> src/vol1/anymap_exp.rs:18:8 [INFO] [stderr] | [INFO] [stderr] 18 | pub fn example() { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `example` [INFO] [stderr] --> src/vol1/tau_exp.rs:6:8 [INFO] [stderr] | [INFO] [stderr] 6 | pub fn example() { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Person` [INFO] [stderr] --> src/vol1/postgre_processing.rs:5:8 [INFO] [stderr] | [INFO] [stderr] 5 | struct Person { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `example` [INFO] [stderr] --> src/vol1/postgre_processing.rs:11:8 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn example() { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `example` [INFO] [stderr] --> src/vol1/image_processing.rs:9:8 [INFO] [stderr] | [INFO] [stderr] 9 | pub fn example() { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `example` [INFO] [stderr] --> src/vol1/uuid_processing.rs:5:8 [INFO] [stderr] | [INFO] [stderr] 5 | pub fn example() { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused attribute [INFO] [stderr] --> src/vol1/json_processing.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(plugin)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_attributes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: crate-level attribute should be in the root module [INFO] [stderr] --> src/vol1/json_processing.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(plugin)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/vol1/http_request.rs:54:5 [INFO] [stderr] | [INFO] [stderr] 54 | get_content("http://httpbin.org/status/200").await; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/vol1/http_request.rs:55:5 [INFO] [stderr] | [INFO] [stderr] 55 | post_query("http://httpbin.org/post").await; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/vol1/http_request.rs:61:5 [INFO] [stderr] | [INFO] [stderr] 61 | post_json("http://httpbin.org/post", &movie).await; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: 24 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.27s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/f48days_with_rust-59bc9e7b9243c440 [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "bb3f4980ce2b1e14e3d3706dab31c921c810c895f670c0e487689c0cca7f17cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb3f4980ce2b1e14e3d3706dab31c921c810c895f670c0e487689c0cca7f17cf", kill_on_drop: false }` [INFO] [stdout] bb3f4980ce2b1e14e3d3706dab31c921c810c895f670c0e487689c0cca7f17cf