[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.37-6/sources/1.36.0/gh/JoshMcguigan/license-bot"` [INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/1.36.0/gh/JoshMcguigan/license-bot'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/JoshMcguigan/license-bot" "work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/JoshMcguigan/license-bot"` [INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/beta-2019-07-23/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.36.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of JoshMcguigan/license-bot on toolchain beta-2019-07-23 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "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.37-6/sources/1.36.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.37-6/sources/beta-2019-07-23/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.36.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing JoshMcguigan/license-bot against 1.36.0 for beta-1.37-6 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-5/1.36.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/1.36.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.36.0" "build" "--frozen"` [INFO] [stdout] d000e846ad0d864278e78795f4fd72aee3360035ca188de452c2a3978074fc0a [INFO] running `"docker" "start" "-a" "d000e846ad0d864278e78795f4fd72aee3360035ca188de452c2a3978074fc0a"` [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 serde_json v1.0.14 [INFO] [stderr] Compiling bytes v0.4.6 [INFO] [stderr] Compiling uuid v0.5.1 [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 phf_generator v0.7.21 [INFO] [stderr] Compiling error-chain v0.11.0 [INFO] [stderr] Compiling tokio-io v0.1.6 [INFO] [stderr] Compiling phf_codegen v0.7.21 [INFO] [stderr] Compiling libflate v0.1.14 [INFO] [stderr] Compiling openssl v0.9.24 [INFO] [stderr] Compiling mime_guess v2.0.0-alpha.4 [INFO] [stderr] Compiling tokio-reactor v0.1.1 [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 tokio-core v0.1.17 [INFO] [stderr] Compiling native-tls v0.1.5 [INFO] [stderr] Compiling serde_derive_internals v0.23.1 [INFO] [stderr] Compiling derive-error-chain v0.11.1 [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 39s [INFO] running `"docker" "inspect" "d000e846ad0d864278e78795f4fd72aee3360035ca188de452c2a3978074fc0a"` [INFO] running `"docker" "rm" "-f" "d000e846ad0d864278e78795f4fd72aee3360035ca188de452c2a3978074fc0a"` [INFO] [stdout] d000e846ad0d864278e78795f4fd72aee3360035ca188de452c2a3978074fc0a [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-5/1.36.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/1.36.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.36.0" "test" "--frozen" "--no-run"` [INFO] [stdout] 9ec9f62ea4b3518c7d8385ef461438db4181f9e21923bff9092e05b75ed4d9db [INFO] running `"docker" "start" "-a" "9ec9f62ea4b3518c7d8385ef461438db4181f9e21923bff9092e05b75ed4d9db"` [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.88s [INFO] running `"docker" "inspect" "9ec9f62ea4b3518c7d8385ef461438db4181f9e21923bff9092e05b75ed4d9db"` [INFO] running `"docker" "rm" "-f" "9ec9f62ea4b3518c7d8385ef461438db4181f9e21923bff9092e05b75ed4d9db"` [INFO] [stdout] 9ec9f62ea4b3518c7d8385ef461438db4181f9e21923bff9092e05b75ed4d9db [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-5/1.36.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/1.36.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.36.0" "test" "--frozen"` [INFO] [stdout] 9b07fd83ff6939f9034f48fc0703763d878caa98a29cfc0139203615a78f0e97 [INFO] running `"docker" "start" "-a" "9b07fd83ff6939f9034f48fc0703763d878caa98a29cfc0139203615a78f0e97"` [INFO] [stderr] Blocking waiting for file lock on package cache lock [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running /opt/crater/target/debug/deps/license_bot-08d8a9592b77e564 [INFO] [stdout] [INFO] [stdout] running 5 tests [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] test github::tests::get_none_repo_details_from_non_github_url ... ok [INFO] [stdout] test github::tests::get_none_repo_details_for_deep_linked_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" "9b07fd83ff6939f9034f48fc0703763d878caa98a29cfc0139203615a78f0e97"` [INFO] running `"docker" "rm" "-f" "9b07fd83ff6939f9034f48fc0703763d878caa98a29cfc0139203615a78f0e97"` [INFO] [stdout] 9b07fd83ff6939f9034f48fc0703763d878caa98a29cfc0139203615a78f0e97