[INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 01d122fd3cb65fa9ccf1abd9f017c514408470ac [INFO] testing hwchen/reddit-focus against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhwchen%2Freddit-focus" "/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/hwchen/reddit-focus on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "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-5/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" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 75d433210e2db93e7b4332fa299536a3daf5c8439d9bc81076720f8ffed2f221 [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" "75d433210e2db93e7b4332fa299536a3daf5c8439d9bc81076720f8ffed2f221", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "75d433210e2db93e7b4332fa299536a3daf5c8439d9bc81076720f8ffed2f221", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75d433210e2db93e7b4332fa299536a3daf5c8439d9bc81076720f8ffed2f221", kill_on_drop: false }` [INFO] [stdout] 75d433210e2db93e7b4332fa299536a3daf5c8439d9bc81076720f8ffed2f221 [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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ee65cb21bc62fa3d0480e5bbe341f1af9dd56b35fb58bfc184a3a0920da19a67 [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" "ee65cb21bc62fa3d0480e5bbe341f1af9dd56b35fb58bfc184a3a0920da19a67", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling cc v1.0.40 [INFO] [stderr] Compiling pkg-config v0.3.15 [INFO] [stderr] Compiling openssl v0.10.24 [INFO] [stderr] Compiling regex-syntax v0.6.11 [INFO] [stderr] Compiling miniz_oxide v0.3.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling cookie v0.12.0 [INFO] [stderr] Compiling serde_derive v1.0.98 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling flate2 v1.0.11 [INFO] [stderr] Compiling openssl-sys v0.9.48 [INFO] [stderr] Compiling backtrace-sys v0.1.31 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling tokio-threadpool v0.1.15 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Compiling backtrace v0.3.34 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling error-chain v0.12.1 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling tokio-reactor v0.1.9 [INFO] [stderr] Compiling regex v1.2.1 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling hyper v0.12.33 [INFO] [stderr] Compiling publicsuffix v1.5.2 [INFO] [stderr] Compiling serde v1.0.98 [INFO] [stderr] Compiling hyper-tls v0.3.2 [INFO] [stderr] Compiling serde_json v1.0.40 [INFO] [stderr] Compiling serde_urlencoded v0.5.5 [INFO] [stderr] Compiling cookie_store v0.7.0 [INFO] [stderr] Compiling reqwest v0.9.19 [INFO] [stderr] Compiling reddit-focus v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated item '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: 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 24s [INFO] running `Command { std: "docker" "inspect" "ee65cb21bc62fa3d0480e5bbe341f1af9dd56b35fb58bfc184a3a0920da19a67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee65cb21bc62fa3d0480e5bbe341f1af9dd56b35fb58bfc184a3a0920da19a67", kill_on_drop: false }` [INFO] [stdout] ee65cb21bc62fa3d0480e5bbe341f1af9dd56b35fb58bfc184a3a0920da19a67 [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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f3c10da17dc0412e2986dbc8dc306ae5377d6efbd61872865653341f2172d8b3 [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" "f3c10da17dc0412e2986dbc8dc306ae5377d6efbd61872865653341f2172d8b3", kill_on_drop: false }` [INFO] [stderr] Compiling reddit-focus v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated item '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: 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] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.68s [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f3c10da17dc0412e2986dbc8dc306ae5377d6efbd61872865653341f2172d8b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3c10da17dc0412e2986dbc8dc306ae5377d6efbd61872865653341f2172d8b3", kill_on_drop: false }` [INFO] [stdout] f3c10da17dc0412e2986dbc8dc306ae5377d6efbd61872865653341f2172d8b3 [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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 36b43489a2aad19244e8d7c6a15d1fce15013dde5d07b3360e5fca2b711c143c [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" "36b43489a2aad19244e8d7c6a15d1fce15013dde5d07b3360e5fca2b711c143c", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated item 'failure::Error::cause': please use 'as_fail()' method instead [INFO] [stderr] --> src/main.rs:19:28 [INFO] [stderr] | [INFO] [stderr] 19 | println!("{}", err.cause()); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `after` [INFO] [stderr] --> src/main.rs:44:10 [INFO] [stderr] | [INFO] [stderr] 44 | let (after, new_posts) = get_new_posts(&client, &subreddit, token, n)?; [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_after` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `TOKEN_ENDPOINT` [INFO] [stderr] --> src/main.rs:13:1 [INFO] [stderr] | [INFO] [stderr] 13 | const TOKEN_ENDPOINT: &str = "https://www.reddit.com/api/v1/access_token"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `CLIENT_ID` [INFO] [stderr] --> src/main.rs:15:1 [INFO] [stderr] | [INFO] [stderr] 15 | const CLIENT_ID: &str = "8YAYsOZ17tKZ_g"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get_token` [INFO] [stderr] --> src/main.rs:61:4 [INFO] [stderr] | [INFO] [stderr] 61 | fn get_token(client: &reqwest::Client, token_endpoint: &str, client_id: &str, secret: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 5 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.39s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/reddit_focus-7994c8e6511a7a2c [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" "36b43489a2aad19244e8d7c6a15d1fce15013dde5d07b3360e5fca2b711c143c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36b43489a2aad19244e8d7c6a15d1fce15013dde5d07b3360e5fca2b711c143c", kill_on_drop: false }` [INFO] [stdout] 36b43489a2aad19244e8d7c6a15d1fce15013dde5d07b3360e5fca2b711c143c