[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 beta-2019-08-13 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-7/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/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" "+beta-2019-08-13" "build" "--frozen"` [INFO] [stdout] 060cb222bdd9e0e82a2682bc4e9ac684c0475c765da3459644e61c5f6556e460 [INFO] running `"docker" "start" "-a" "060cb222bdd9e0e82a2682bc4e9ac684c0475c765da3459644e61c5f6556e460"` [INFO] [stderr] Compiling serde v1.0.38 [INFO] [stderr] Compiling openssl-sys v0.9.28 [INFO] [stderr] Compiling crc v1.7.0 [INFO] [stderr] Compiling base64 v0.9.0 [INFO] [stderr] Compiling syntex_fmt_macros v0.5.0 [INFO] [stderr] Compiling bytes v0.4.6 [INFO] [stderr] Compiling backtrace-sys v0.1.16 [INFO] [stderr] Compiling syn v0.13.1 [INFO] [stderr] Compiling regex v0.2.10 [INFO] [stderr] Compiling backtrace v0.3.5 [INFO] [stderr] Compiling tokio-io v0.1.6 [INFO] [stderr] Compiling libflate v0.1.14 [INFO] [stderr] Compiling error-chain v0.11.0 [INFO] [stderr] Compiling openssl v0.9.24 [INFO] [stderr] Compiling tokio-reactor v0.1.1 [INFO] [stderr] Compiling tokio-tcp v0.1.0 [INFO] [stderr] Compiling tokio-udp 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 serde_derive_internals v0.23.1 [INFO] [stderr] Compiling tokio-proto v0.1.1 [INFO] [stderr] Compiling tokio-tls v0.1.4 [INFO] [stderr] Compiling derive-error-chain v0.11.1 [INFO] [stderr] Compiling serde_derive v1.0.38 [INFO] [stderr] Compiling hyper v0.11.25 [INFO] [stderr] Compiling serde_json v1.0.14 [INFO] [stderr] Compiling serde_urlencoded v0.5.1 [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 36s [INFO] running `"docker" "inspect" "060cb222bdd9e0e82a2682bc4e9ac684c0475c765da3459644e61c5f6556e460"` [INFO] running `"docker" "rm" "-f" "060cb222bdd9e0e82a2682bc4e9ac684c0475c765da3459644e61c5f6556e460"` [INFO] [stdout] 060cb222bdd9e0e82a2682bc4e9ac684c0475c765da3459644e61c5f6556e460 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-7/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/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" "+beta-2019-08-13" "test" "--frozen" "--no-run"` [INFO] [stdout] 91ba457f9f18f76cc5ad04a454ba8c8e3bc1711b5d90e5d6a38817e124862738 [INFO] running `"docker" "start" "-a" "91ba457f9f18f76cc5ad04a454ba8c8e3bc1711b5d90e5d6a38817e124862738"` [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 3.87s [INFO] running `"docker" "inspect" "91ba457f9f18f76cc5ad04a454ba8c8e3bc1711b5d90e5d6a38817e124862738"` [INFO] running `"docker" "rm" "-f" "91ba457f9f18f76cc5ad04a454ba8c8e3bc1711b5d90e5d6a38817e124862738"` [INFO] [stdout] 91ba457f9f18f76cc5ad04a454ba8c8e3bc1711b5d90e5d6a38817e124862738 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-7/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/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" "+beta-2019-08-13" "test" "--frozen"` [INFO] [stdout] cf78d73cb55ae7ef22088eb0241127d10d17fb6bffe866c82a2b8ab3bf74424c [INFO] running `"docker" "start" "-a" "cf78d73cb55ae7ef22088eb0241127d10d17fb6bffe866c82a2b8ab3bf74424c"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running /opt/crater/target/debug/deps/license_bot-bf023e3e902f9fff [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_with_trailing_slash ... 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 ... 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" "cf78d73cb55ae7ef22088eb0241127d10d17fb6bffe866c82a2b8ab3bf74424c"` [INFO] running `"docker" "rm" "-f" "cf78d73cb55ae7ef22088eb0241127d10d17fb6bffe866c82a2b8ab3bf74424c"` [INFO] [stdout] cf78d73cb55ae7ef22088eb0241127d10d17fb6bffe866c82a2b8ab3bf74424c