[INFO] updating cached repository carlos-buendia/pm-twitter-bot [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/carlos-buendia/pm-twitter-bot [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/carlos-buendia/pm-twitter-bot" "work/ex/beta-1.38-1/sources/1.37.0/gh/carlos-buendia/pm-twitter-bot"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/carlos-buendia/pm-twitter-bot'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/carlos-buendia/pm-twitter-bot" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/carlos-buendia/pm-twitter-bot"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/carlos-buendia/pm-twitter-bot'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 9a40e234efd56c0348f77885f0f3b09e05c34a93 [INFO] sha for GitHub repo carlos-buendia/pm-twitter-bot: 9a40e234efd56c0348f77885f0f3b09e05c34a93 [INFO] validating manifest of carlos-buendia/pm-twitter-bot on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of carlos-buendia/pm-twitter-bot on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing carlos-buendia/pm-twitter-bot [INFO] finished frobbing carlos-buendia/pm-twitter-bot [INFO] frobbed toml for carlos-buendia/pm-twitter-bot written to work/ex/beta-1.38-1/sources/1.37.0/gh/carlos-buendia/pm-twitter-bot/Cargo.toml [INFO] started frobbing carlos-buendia/pm-twitter-bot [INFO] finished frobbing carlos-buendia/pm-twitter-bot [INFO] frobbed toml for carlos-buendia/pm-twitter-bot written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/carlos-buendia/pm-twitter-bot/Cargo.toml [INFO] crate carlos-buendia/pm-twitter-bot already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] testing carlos-buendia/pm-twitter-bot against 1.37.0 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-6/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/carlos-buendia/pm-twitter-bot:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.37.0" "build" "--frozen"` [INFO] [stdout] f87350bc1e3b02bfe80a5873667564a4b0b25f6800581f14b95a227ae1bb4468 [INFO] running `"docker" "start" "-a" "f87350bc1e3b02bfe80a5873667564a4b0b25f6800581f14b95a227ae1bb4468"` [INFO] [stderr] Compiling nom v2.1.0 [INFO] [stderr] Compiling want v0.0.4 [INFO] [stderr] Compiling base64 v0.5.2 [INFO] [stderr] Compiling openssl v0.9.24 [INFO] [stderr] Compiling libflate v0.1.20 [INFO] [stderr] Compiling mio v0.6.16 [INFO] [stderr] Compiling pbr v1.0.1 [INFO] [stderr] Compiling serde_urlencoded v0.4.3 [INFO] [stderr] Compiling hyper v0.10.15 [INFO] [stderr] Compiling backtrace v0.3.14 [INFO] [stderr] Compiling serde_json v0.9.10 [INFO] [stderr] Compiling tokio-io v0.1.11 [INFO] [stderr] Compiling serde_derive v1.0.88 [INFO] [stderr] Compiling error-chain v0.10.0 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling cron v0.6.0 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling job_scheduler v1.0.6 [INFO] [stderr] Compiling crossbeam v0.6.0 [INFO] [stderr] Compiling tokio-reactor v0.1.8 [INFO] [stderr] Compiling tokio-threadpool v0.1.11 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio-udp v0.1.3 [INFO] [stderr] Compiling tokio-uds v0.2.5 [INFO] [stderr] Compiling native-tls v0.1.5 [INFO] [stderr] Compiling hyper-native-tls v0.2.4 [INFO] [stderr] Compiling reqwest v0.5.2 [INFO] [stderr] Compiling tokio-fs v0.1.5 [INFO] [stderr] Compiling oauth-client v0.3.2 [INFO] [stderr] Compiling tokio v0.1.15 [INFO] [stderr] Compiling tokio-core v0.1.17 [INFO] [stderr] Compiling twitter-api v0.3.0 [INFO] [stderr] Compiling tokio-proto v0.1.1 [INFO] [stderr] Compiling tokio-tls v0.1.4 [INFO] [stderr] Compiling hyper v0.11.27 [INFO] [stderr] Compiling hyper-tls v0.1.4 [INFO] [stderr] Compiling twitter-bot-rs v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: unnecessary parentheses around `for` head expression [INFO] [stderr] --> src/main.rs:76:19 [INFO] [stderr] | [INFO] [stderr] 76 | for number in (1..15) { [INFO] [stderr] | ^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_parens)] on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/main.rs:77:11 [INFO] [stderr] | [INFO] [stderr] 77 | if(number <= num_bars_yes){ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/main.rs:117:15 [INFO] [stderr] | [INFO] [stderr] 117 | if(&events.event.type_name == "CATEGORICAL"){ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::env::home_dir': This function's behavior is unexpected and probably not what you want. Consider using the home_dir function from https://crates.io/crates/dirs instead. [INFO] [stderr] --> src/main.rs:37:11 [INFO] [stderr] | [INFO] [stderr] 37 | match env::home_dir() { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(deprecated)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `total` [INFO] [stderr] --> src/main.rs:72:9 [INFO] [stderr] | [INFO] [stderr] 72 | let total = 15; [INFO] [stderr] | ^^^^^ help: consider prefixing with an underscore: `_total` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_variables)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `num_bars_no` [INFO] [stderr] --> src/main.rs:74:9 [INFO] [stderr] | [INFO] [stderr] 74 | let num_bars_no = 15 - &num_bars_yes; [INFO] [stderr] | ^^^^^^^^^^^ help: consider prefixing with an underscore: `_num_bars_no` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `twitter` [INFO] [stderr] --> src/main.rs:110:9 [INFO] [stderr] | [INFO] [stderr] 110 | let twitter = twitter::Twitter::new(config.consumer_key, config.consumer_secret, [INFO] [stderr] | ^^^^^^^ help: consider prefixing with an underscore: `_twitter` [INFO] [stderr] [INFO] [stderr] warning: field is never used: `consumer_token` [INFO] [stderr] --> src/twitter.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | consumer_token : Token<'a>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(dead_code)] on by default [INFO] [stderr] [INFO] [stderr] warning: field is never used: `access_token` [INFO] [stderr] --> src/twitter.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | access_token : Token<'a>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `tweet` [INFO] [stderr] --> src/twitter.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | pub fn tweet (&self, message : String) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: structure field `marginalPrices` should have a snake case name [INFO] [stderr] --> src/crawler.rs:20:9 [INFO] [stderr] | [INFO] [stderr] 20 | pub marginalPrices: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `marginal_prices` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(non_snake_case)] on by default [INFO] [stderr] [INFO] [stderr] warning: structure field `eventDescription` should have a snake case name [INFO] [stderr] --> src/crawler.rs:38:9 [INFO] [stderr] | [INFO] [stderr] 38 | pub eventDescription: EventDescription, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `event_description` [INFO] [stderr] [INFO] [stderr] warning: structure field `ipfsHash` should have a snake case name [INFO] [stderr] --> src/crawler.rs:44:9 [INFO] [stderr] | [INFO] [stderr] 44 | pub ipfsHash: String, [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to snake case: `ipfs_hash` [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 27s [INFO] running `"docker" "inspect" "f87350bc1e3b02bfe80a5873667564a4b0b25f6800581f14b95a227ae1bb4468"` [INFO] running `"docker" "rm" "-f" "f87350bc1e3b02bfe80a5873667564a4b0b25f6800581f14b95a227ae1bb4468"` [INFO] [stdout] f87350bc1e3b02bfe80a5873667564a4b0b25f6800581f14b95a227ae1bb4468 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-6/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/carlos-buendia/pm-twitter-bot:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.37.0" "test" "--frozen" "--no-run"` [INFO] [stdout] bfe06ec3efc71d654c1aad2609cdb04e295778c1fd38168b105b9897e13aa477 [INFO] running `"docker" "start" "-a" "bfe06ec3efc71d654c1aad2609cdb04e295778c1fd38168b105b9897e13aa477"` [INFO] [stderr] Compiling twitter-bot-rs v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: unnecessary parentheses around `for` head expression [INFO] [stderr] --> src/main.rs:76:19 [INFO] [stderr] | [INFO] [stderr] 76 | for number in (1..15) { [INFO] [stderr] | ^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_parens)] on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/main.rs:77:11 [INFO] [stderr] | [INFO] [stderr] 77 | if(number <= num_bars_yes){ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/main.rs:117:15 [INFO] [stderr] | [INFO] [stderr] 117 | if(&events.event.type_name == "CATEGORICAL"){ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::env::home_dir': This function's behavior is unexpected and probably not what you want. Consider using the home_dir function from https://crates.io/crates/dirs instead. [INFO] [stderr] --> src/main.rs:37:11 [INFO] [stderr] | [INFO] [stderr] 37 | match env::home_dir() { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(deprecated)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `total` [INFO] [stderr] --> src/main.rs:72:9 [INFO] [stderr] | [INFO] [stderr] 72 | let total = 15; [INFO] [stderr] | ^^^^^ help: consider prefixing with an underscore: `_total` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_variables)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `num_bars_no` [INFO] [stderr] --> src/main.rs:74:9 [INFO] [stderr] | [INFO] [stderr] 74 | let num_bars_no = 15 - &num_bars_yes; [INFO] [stderr] | ^^^^^^^^^^^ help: consider prefixing with an underscore: `_num_bars_no` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `twitter` [INFO] [stderr] --> src/main.rs:110:9 [INFO] [stderr] | [INFO] [stderr] 110 | let twitter = twitter::Twitter::new(config.consumer_key, config.consumer_secret, [INFO] [stderr] | ^^^^^^^ help: consider prefixing with an underscore: `_twitter` [INFO] [stderr] [INFO] [stderr] warning: field is never used: `consumer_token` [INFO] [stderr] --> src/twitter.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | consumer_token : Token<'a>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(dead_code)] on by default [INFO] [stderr] [INFO] [stderr] warning: field is never used: `access_token` [INFO] [stderr] --> src/twitter.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | access_token : Token<'a>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `tweet` [INFO] [stderr] --> src/twitter.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | pub fn tweet (&self, message : String) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: structure field `marginalPrices` should have a snake case name [INFO] [stderr] --> src/crawler.rs:20:9 [INFO] [stderr] | [INFO] [stderr] 20 | pub marginalPrices: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `marginal_prices` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(non_snake_case)] on by default [INFO] [stderr] [INFO] [stderr] warning: structure field `eventDescription` should have a snake case name [INFO] [stderr] --> src/crawler.rs:38:9 [INFO] [stderr] | [INFO] [stderr] 38 | pub eventDescription: EventDescription, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `event_description` [INFO] [stderr] [INFO] [stderr] warning: structure field `ipfsHash` should have a snake case name [INFO] [stderr] --> src/crawler.rs:44:9 [INFO] [stderr] | [INFO] [stderr] 44 | pub ipfsHash: String, [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to snake case: `ipfs_hash` [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.25s [INFO] running `"docker" "inspect" "bfe06ec3efc71d654c1aad2609cdb04e295778c1fd38168b105b9897e13aa477"` [INFO] running `"docker" "rm" "-f" "bfe06ec3efc71d654c1aad2609cdb04e295778c1fd38168b105b9897e13aa477"` [INFO] [stdout] bfe06ec3efc71d654c1aad2609cdb04e295778c1fd38168b105b9897e13aa477 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-6/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/carlos-buendia/pm-twitter-bot:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.37.0" "test" "--frozen"` [INFO] [stdout] 4c52572edfcfa725566ee70c89e5232c271cb2c6d87a5263a591d4c7afb5fd35 [INFO] running `"docker" "start" "-a" "4c52572edfcfa725566ee70c89e5232c271cb2c6d87a5263a591d4c7afb5fd35"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running /opt/crater/target/debug/deps/twitter_bot_rs-61ac15014bf62dca [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 `"docker" "inspect" "4c52572edfcfa725566ee70c89e5232c271cb2c6d87a5263a591d4c7afb5fd35"` [INFO] running `"docker" "rm" "-f" "4c52572edfcfa725566ee70c89e5232c271cb2c6d87a5263a591d4c7afb5fd35"` [INFO] [stdout] 4c52572edfcfa725566ee70c89e5232c271cb2c6d87a5263a591d4c7afb5fd35