[INFO] updating cached repository JoshMcguigan/license-bot [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/JoshMcguigan/license-bot [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/JoshMcguigan/license-bot" "work/ex/beta-1.38-1/sources/1.37.0/gh/JoshMcguigan/license-bot"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/JoshMcguigan/license-bot'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/JoshMcguigan/license-bot" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/JoshMcguigan/license-bot"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/JoshMcguigan/license-bot'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 0fdc2801098b9a9130fec2fce543876dadbb81c3 [INFO] sha for GitHub repo JoshMcguigan/license-bot: 0fdc2801098b9a9130fec2fce543876dadbb81c3 [INFO] validating manifest of JoshMcguigan/license-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 JoshMcguigan/license-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 JoshMcguigan/license-bot [INFO] finished frobbing JoshMcguigan/license-bot [INFO] frobbed toml for JoshMcguigan/license-bot written to work/ex/beta-1.38-1/sources/1.37.0/gh/JoshMcguigan/license-bot/Cargo.toml [INFO] started frobbing JoshMcguigan/license-bot [INFO] finished frobbing JoshMcguigan/license-bot [INFO] frobbed toml for JoshMcguigan/license-bot written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/JoshMcguigan/license-bot/Cargo.toml [INFO] crate JoshMcguigan/license-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] testing JoshMcguigan/license-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-1/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/JoshMcguigan/license-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] f85490e0d1ef398c249dcd151d75ded452f8ecf999b2cc6f417a79ec0bf58de5 [INFO] running `"docker" "start" "-a" "f85490e0d1ef398c249dcd151d75ded452f8ecf999b2cc6f417a79ec0bf58de5"` [INFO] [stderr] Compiling backtrace-sys v0.1.16 [INFO] [stderr] Compiling syntex_fmt_macros v0.5.0 [INFO] [stderr] Compiling serde_json v1.0.14 [INFO] [stderr] Compiling mio v0.6.14 [INFO] [stderr] Compiling tokio-io v0.1.6 [INFO] [stderr] Compiling openssl-sys v0.9.28 [INFO] [stderr] Compiling syn v0.13.1 [INFO] [stderr] Compiling regex v0.2.10 [INFO] [stderr] Compiling tokio-threadpool v0.1.2 [INFO] [stderr] Compiling serde_urlencoded v0.5.1 [INFO] [stderr] Compiling libflate v0.1.14 [INFO] [stderr] Compiling openssl v0.9.24 [INFO] [stderr] Compiling tokio-reactor v0.1.1 [INFO] [stderr] Compiling mime_guess v2.0.0-alpha.4 [INFO] [stderr] Compiling tokio-udp v0.1.0 [INFO] [stderr] Compiling tokio-tcp v0.1.0 [INFO] [stderr] Compiling tokio v0.1.5 [INFO] [stderr] Compiling native-tls v0.1.5 [INFO] [stderr] Compiling tokio-core v0.1.17 [INFO] [stderr] Compiling derive-error-chain v0.11.1 [INFO] [stderr] Compiling serde_derive_internals v0.23.1 [INFO] [stderr] Compiling backtrace v0.3.5 [INFO] [stderr] Compiling error-chain v0.11.0 [INFO] [stderr] Compiling tokio-proto v0.1.1 [INFO] [stderr] Compiling tokio-tls v0.1.4 [INFO] [stderr] Compiling serde_derive v1.0.38 [INFO] [stderr] Compiling hyper v0.11.25 [INFO] [stderr] Compiling dotenv v0.11.0 [INFO] [stderr] Compiling hyper-tls v0.1.3 [INFO] [stderr] Compiling reqwest v0.8.5 [INFO] [stderr] Compiling rraw v0.1.0 (https://github.com/JoshMcguigan/rraw?rev=dd1126b#dd1126be) [INFO] [stderr] Compiling license-bot v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: use of deprecated item 'core::str::::trim_left_matches': superseded by `trim_start_matches` [INFO] [stderr] --> src/github.rs:12:28 [INFO] [stderr] | [INFO] [stderr] 12 | let url_path = url.trim_left_matches(github_project_url_prefix).trim_right_matches("/"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_start_matches` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(deprecated)] on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'core::str::::trim_right_matches': superseded by `trim_end_matches` [INFO] [stderr] --> src/github.rs:12:73 [INFO] [stderr] | [INFO] [stderr] 12 | let url_path = url.trim_left_matches(github_project_url_prefix).trim_right_matches("/"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end_matches` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'core::str::::trim_right_matches': superseded by `trim_end_matches` [INFO] [stderr] --> src/github.rs:21:120 [INFO] [stderr] | [INFO] [stderr] 21 | (Some(username), Some(repo_name)) => Some(Repository {username: username.to_string(), repo_name: repo_name.trim_right_matches(".git").to_string()}), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end_matches` [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 40s [INFO] running `"docker" "inspect" "f85490e0d1ef398c249dcd151d75ded452f8ecf999b2cc6f417a79ec0bf58de5"` [INFO] running `"docker" "rm" "-f" "f85490e0d1ef398c249dcd151d75ded452f8ecf999b2cc6f417a79ec0bf58de5"` [INFO] [stdout] f85490e0d1ef398c249dcd151d75ded452f8ecf999b2cc6f417a79ec0bf58de5 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-1/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/JoshMcguigan/license-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] 1388bb8eff725a09546cde74ab8d29ae7ec8fece5544bd25ba3a5c4c27816875 [INFO] running `"docker" "start" "-a" "1388bb8eff725a09546cde74ab8d29ae7ec8fece5544bd25ba3a5c4c27816875"` [INFO] [stderr] Compiling license-bot v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: use of deprecated item 'core::str::::trim_left_matches': superseded by `trim_start_matches` [INFO] [stderr] --> src/github.rs:12:28 [INFO] [stderr] | [INFO] [stderr] 12 | let url_path = url.trim_left_matches(github_project_url_prefix).trim_right_matches("/"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_start_matches` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(deprecated)] on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'core::str::::trim_right_matches': superseded by `trim_end_matches` [INFO] [stderr] --> src/github.rs:12:73 [INFO] [stderr] | [INFO] [stderr] 12 | let url_path = url.trim_left_matches(github_project_url_prefix).trim_right_matches("/"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end_matches` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'core::str::::trim_right_matches': superseded by `trim_end_matches` [INFO] [stderr] --> src/github.rs:21:120 [INFO] [stderr] | [INFO] [stderr] 21 | (Some(username), Some(repo_name)) => Some(Repository {username: username.to_string(), repo_name: repo_name.trim_right_matches(".git").to_string()}), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end_matches` [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.65s [INFO] running `"docker" "inspect" "1388bb8eff725a09546cde74ab8d29ae7ec8fece5544bd25ba3a5c4c27816875"` [INFO] running `"docker" "rm" "-f" "1388bb8eff725a09546cde74ab8d29ae7ec8fece5544bd25ba3a5c4c27816875"` [INFO] [stdout] 1388bb8eff725a09546cde74ab8d29ae7ec8fece5544bd25ba3a5c4c27816875 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-1/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/JoshMcguigan/license-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] fb749fcceef61986628ab4004f61c9f9942cc2b0df0c095bbd4edd4d378d709e [INFO] running `"docker" "start" "-a" "fb749fcceef61986628ab4004f61c9f9942cc2b0df0c095bbd4edd4d378d709e"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running /opt/crater/target/debug/deps/license_bot-486765c921a7c594 [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test github::tests::get_none_repo_details_for_deep_linked_github_url ... ok [INFO] [stdout] test github::tests::get_none_repo_details_from_non_github_url ... ok [INFO] [stdout] test github::tests::get_repo_details_from_simple_github_url ... ok [INFO] [stdout] test github::tests::get_repo_details_from_simple_github_url_stips_trailing_git ... ok [INFO] [stdout] test github::tests::get_repo_details_from_simple_github_url_with_trailing_slash ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `"docker" "inspect" "fb749fcceef61986628ab4004f61c9f9942cc2b0df0c095bbd4edd4d378d709e"` [INFO] running `"docker" "rm" "-f" "fb749fcceef61986628ab4004f61c9f9942cc2b0df0c095bbd4edd4d378d709e"` [INFO] [stdout] fb749fcceef61986628ab4004f61c9f9942cc2b0df0c095bbd4edd4d378d709e