[INFO] cloning repository https://github.com/hwchen/reddit-focus [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hwchen/reddit-focus" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhwchen%2Freddit-focus", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhwchen%2Freddit-focus'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 01d122fd3cb65fa9ccf1abd9f017c514408470ac [INFO] checking hwchen/reddit-focus against master#2e5723137b2b88368d018b262a0a823a1423131b for pr-78935-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhwchen%2Freddit-focus" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hwchen/reddit-focus on toolchain 2e5723137b2b88368d018b262a0a823a1423131b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+2e5723137b2b88368d018b262a0a823a1423131b" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hwchen/reddit-focus [INFO] finished tweaking git repo https://github.com/hwchen/reddit-focus [INFO] tweaked toml for git repo https://github.com/hwchen/reddit-focus written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/hwchen/reddit-focus already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+2e5723137b2b88368d018b262a0a823a1423131b" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+2e5723137b2b88368d018b262a0a823a1423131b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 891ec83e3661db6954c410cde1baf16686dd8ea3b5147c51ef3dc75eb6ede614 [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" "891ec83e3661db6954c410cde1baf16686dd8ea3b5147c51ef3dc75eb6ede614", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "891ec83e3661db6954c410cde1baf16686dd8ea3b5147c51ef3dc75eb6ede614", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "891ec83e3661db6954c410cde1baf16686dd8ea3b5147c51ef3dc75eb6ede614", kill_on_drop: false }` [INFO] [stdout] 891ec83e3661db6954c410cde1baf16686dd8ea3b5147c51ef3dc75eb6ede614 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+2e5723137b2b88368d018b262a0a823a1423131b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", 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] c6915e436b94fdb32dceeba6f289d399eb612c6a04fa66a20b99aef760c9e733 [INFO] running `Command { std: "docker" "start" "-a" "c6915e436b94fdb32dceeba6f289d399eb612c6a04fa66a20b99aef760c9e733", kill_on_drop: false }` [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Checking try-lock v0.2.2 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Compiling error-chain v0.12.1 [INFO] [stderr] Compiling openssl-sys v0.9.48 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking tokio-sync v0.1.6 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Compiling hyper v0.12.33 [INFO] [stderr] Compiling unicase v2.4.0 [INFO] [stderr] Checking tokio-timer v0.2.11 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking rand_pcg v0.1.2 [INFO] [stderr] Checking backtrace v0.3.34 [INFO] [stderr] Checking http v0.1.18 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_chacha v0.1.1 [INFO] [stderr] Compiling mime_guess v2.0.1 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking crossbeam-epoch v0.7.2 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking flate2 v1.0.11 [INFO] [stderr] Checking tokio-io v0.1.12 [INFO] [stderr] Checking mio v0.6.19 [INFO] [stderr] Checking want v0.2.0 [INFO] [stderr] Checking crossbeam-deque v0.7.1 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Compiling openssl v0.10.24 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking parking_lot_core v0.4.0 [INFO] [stderr] Checking tokio-threadpool v0.1.15 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Checking parking_lot v0.7.1 [INFO] [stderr] Checking publicsuffix v1.5.2 [INFO] [stderr] Checking cookie v0.12.0 [INFO] [stderr] Checking tokio-reactor v0.1.9 [INFO] [stderr] Checking tokio-tcp v0.1.3 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking http-body v0.1.0 [INFO] [stderr] Checking h2 v0.1.26 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling serde_derive v1.0.98 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Checking failure v0.1.5 [INFO] [stderr] Checking hyper-tls v0.3.2 [INFO] [stderr] Checking serde v1.0.98 [INFO] [stderr] Checking serde_json v1.0.40 [INFO] [stderr] Checking serde_urlencoded v0.5.5 [INFO] [stderr] Checking cookie_store v0.7.0 [INFO] [stderr] Checking reqwest v0.9.19 [INFO] [stderr] Checking reddit-focus v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `failure::Error::cause`: please use 'as_fail()' method instead [INFO] [stdout] --> src/main.rs:19:28 [INFO] [stdout] | [INFO] [stdout] 19 | println!("{}", err.cause()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `failure::Error::cause`: please use 'as_fail()' method instead [INFO] [stdout] --> src/main.rs:19:28 [INFO] [stdout] | [INFO] [stdout] 19 | println!("{}", err.cause()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `after` [INFO] [stdout] --> src/main.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | let (after, new_posts) = get_new_posts(&client, &subreddit, token, n)?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_after` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `after` [INFO] [stdout] --> src/main.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | let (after, new_posts) = get_new_posts(&client, &subreddit, token, n)?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_after` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TOKEN_ENDPOINT` [INFO] [stdout] --> src/main.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | const TOKEN_ENDPOINT: &str = "https://www.reddit.com/api/v1/access_token"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CLIENT_ID` [INFO] [stdout] --> src/main.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | const CLIENT_ID: &str = "8YAYsOZ17tKZ_g"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_token` [INFO] [stdout] --> src/main.rs:61:4 [INFO] [stdout] | [INFO] [stdout] 61 | fn get_token(client: &reqwest::Client, token_endpoint: &str, client_id: &str, secret: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TOKEN_ENDPOINT` [INFO] [stdout] --> src/main.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | const TOKEN_ENDPOINT: &str = "https://www.reddit.com/api/v1/access_token"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CLIENT_ID` [INFO] [stdout] --> src/main.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | const CLIENT_ID: &str = "8YAYsOZ17tKZ_g"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_token` [INFO] [stdout] --> src/main.rs:61:4 [INFO] [stdout] | [INFO] [stdout] 61 | fn get_token(client: &reqwest::Client, token_endpoint: &str, client_id: &str, secret: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 04s [INFO] running `Command { std: "docker" "inspect" "c6915e436b94fdb32dceeba6f289d399eb612c6a04fa66a20b99aef760c9e733", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6915e436b94fdb32dceeba6f289d399eb612c6a04fa66a20b99aef760c9e733", kill_on_drop: false }` [INFO] [stdout] c6915e436b94fdb32dceeba6f289d399eb612c6a04fa66a20b99aef760c9e733