[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 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/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" "+1.37.0" "build" "--frozen"` [INFO] [stdout] 05cc5b4a23e05604153f74ee4a505b9aa1ff8015fccd5a4098ddc6dc54b06fb4 [INFO] running `"docker" "start" "-a" "05cc5b4a23e05604153f74ee4a505b9aa1ff8015fccd5a4098ddc6dc54b06fb4"` [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.48s [INFO] running `"docker" "inspect" "05cc5b4a23e05604153f74ee4a505b9aa1ff8015fccd5a4098ddc6dc54b06fb4"` [INFO] running `"docker" "rm" "-f" "05cc5b4a23e05604153f74ee4a505b9aa1ff8015fccd5a4098ddc6dc54b06fb4"` [INFO] [stdout] 05cc5b4a23e05604153f74ee4a505b9aa1ff8015fccd5a4098ddc6dc54b06fb4 [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/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" "+1.37.0" "test" "--frozen" "--no-run"` [INFO] [stdout] 201b6834c69c25987e6491efef38374cc33b04c13943cdc8dca60b44fb57df84 [INFO] running `"docker" "start" "-a" "201b6834c69c25987e6491efef38374cc33b04c13943cdc8dca60b44fb57df84"` [INFO] [stderr] Compiling shortener v0.0.1 (/opt/crater/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.19s [INFO] running `"docker" "inspect" "201b6834c69c25987e6491efef38374cc33b04c13943cdc8dca60b44fb57df84"` [INFO] running `"docker" "rm" "-f" "201b6834c69c25987e6491efef38374cc33b04c13943cdc8dca60b44fb57df84"` [INFO] [stdout] 201b6834c69c25987e6491efef38374cc33b04c13943cdc8dca60b44fb57df84 [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/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" "+1.37.0" "test" "--frozen"` [INFO] [stdout] 32399bd05e3ea3b22b548066275fa91482063adfc88742352468fe9abcf7a06a [INFO] running `"docker" "start" "-a" "32399bd05e3ea3b22b548066275fa91482063adfc88742352468fe9abcf7a06a"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running /opt/crater/target/debug/deps/shortener-9c54eb82384d9358 [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" "32399bd05e3ea3b22b548066275fa91482063adfc88742352468fe9abcf7a06a"` [INFO] running `"docker" "rm" "-f" "32399bd05e3ea3b22b548066275fa91482063adfc88742352468fe9abcf7a06a"` [INFO] [stdout] 32399bd05e3ea3b22b548066275fa91482063adfc88742352468fe9abcf7a06a