[INFO] updating cached repository justincampbell/url-shortener-rust [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/justincampbell/url-shortener-rust [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/justincampbell/url-shortener-rust" "work/ex/beta-1.38-1/sources/1.37.0/gh/justincampbell/url-shortener-rust"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/justincampbell/url-shortener-rust'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/justincampbell/url-shortener-rust" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/justincampbell/url-shortener-rust"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/justincampbell/url-shortener-rust'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] dea15a889eaf723a4ab9ccfa1a9ca95e078f3b0a [INFO] sha for GitHub repo justincampbell/url-shortener-rust: dea15a889eaf723a4ab9ccfa1a9ca95e078f3b0a [INFO] validating manifest of justincampbell/url-shortener-rust 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 justincampbell/url-shortener-rust 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 justincampbell/url-shortener-rust [INFO] finished frobbing justincampbell/url-shortener-rust [INFO] frobbed toml for justincampbell/url-shortener-rust written to work/ex/beta-1.38-1/sources/1.37.0/gh/justincampbell/url-shortener-rust/Cargo.toml [INFO] started frobbing justincampbell/url-shortener-rust [INFO] finished frobbing justincampbell/url-shortener-rust [INFO] frobbed toml for justincampbell/url-shortener-rust written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/justincampbell/url-shortener-rust/Cargo.toml [INFO] crate justincampbell/url-shortener-rust 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 justincampbell/url-shortener-rust 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-6/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/justincampbell/url-shortener-rust:/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] 366e9f0002ee7feffeb073e54e35520b326c0c5c815d1659cbe8c18504cda081 [INFO] running `"docker" "start" "-a" "366e9f0002ee7feffeb073e54e35520b326c0c5c815d1659cbe8c18504cda081"` [INFO] [stderr] Compiling shortener v0.0.1 (/opt/crater/workdir) [INFO] [stderr] warning: type alias is never used: `Token` [INFO] [stderr] --> src/shortener.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | type Token = String; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: type alias is never used: `Url` [INFO] [stderr] --> src/shortener.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | type Url = String; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `World` [INFO] [stderr] --> src/shortener.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct World { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `empty` [INFO] [stderr] --> src/shortener.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | pub fn empty() -> World { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `shorten` [INFO] [stderr] --> src/shortener.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | pub fn shorten(&mut self, url: &Url) -> Token { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `expand` [INFO] [stderr] --> src/shortener.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | pub fn expand(&self, token: Token) -> Option<&Url> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `tokenize` [INFO] [stderr] --> src/shortener.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 29 | fn tokenize(id: i32) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.53s [INFO] running `"docker" "inspect" "366e9f0002ee7feffeb073e54e35520b326c0c5c815d1659cbe8c18504cda081"` [INFO] running `"docker" "rm" "-f" "366e9f0002ee7feffeb073e54e35520b326c0c5c815d1659cbe8c18504cda081"` [INFO] [stdout] 366e9f0002ee7feffeb073e54e35520b326c0c5c815d1659cbe8c18504cda081 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-6/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/justincampbell/url-shortener-rust:/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] bdce09393af695a99ea2ad8af9fe79935aa97d0a90d1ac028792e720209b4b0c [INFO] running `"docker" "start" "-a" "bdce09393af695a99ea2ad8af9fe79935aa97d0a90d1ac028792e720209b4b0c"` [INFO] [stderr] Compiling shortener v0.0.1 (/opt/crater/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.20s [INFO] running `"docker" "inspect" "bdce09393af695a99ea2ad8af9fe79935aa97d0a90d1ac028792e720209b4b0c"` [INFO] running `"docker" "rm" "-f" "bdce09393af695a99ea2ad8af9fe79935aa97d0a90d1ac028792e720209b4b0c"` [INFO] [stdout] bdce09393af695a99ea2ad8af9fe79935aa97d0a90d1ac028792e720209b4b0c [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-6/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/justincampbell/url-shortener-rust:/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] 8ad57ab9cb39f5be36365fb347950629af602aa86071514884725a4fe94fe3f3 [INFO] running `"docker" "start" "-a" "8ad57ab9cb39f5be36365fb347950629af602aa86071514884725a4fe94fe3f3"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running /opt/crater/target/debug/deps/shortener-135ea8119d8c295b [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test shortener::shorten_and_expand ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `"docker" "inspect" "8ad57ab9cb39f5be36365fb347950629af602aa86071514884725a4fe94fe3f3"` [INFO] running `"docker" "rm" "-f" "8ad57ab9cb39f5be36365fb347950629af602aa86071514884725a4fe94fe3f3"` [INFO] [stdout] 8ad57ab9cb39f5be36365fb347950629af602aa86071514884725a4fe94fe3f3