[INFO] updating cached repository euclio/apply-license [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/euclio/apply-license [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/euclio/apply-license" "work/ex/beta-1.38-1/sources/1.37.0/gh/euclio/apply-license"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/euclio/apply-license'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/euclio/apply-license" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/euclio/apply-license"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/euclio/apply-license'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 4636c950e834a3f85150782a79e6d2e52df516b4 [INFO] sha for GitHub repo euclio/apply-license: 4636c950e834a3f85150782a79e6d2e52df516b4 [INFO] validating manifest of euclio/apply-license 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 euclio/apply-license 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 euclio/apply-license [INFO] finished frobbing euclio/apply-license [INFO] frobbed toml for euclio/apply-license written to work/ex/beta-1.38-1/sources/1.37.0/gh/euclio/apply-license/Cargo.toml [INFO] started frobbing euclio/apply-license [INFO] finished frobbing euclio/apply-license [INFO] frobbed toml for euclio/apply-license written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/euclio/apply-license/Cargo.toml [INFO] crate euclio/apply-license 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 euclio/apply-license 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-3/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/euclio/apply-license:/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] d05c656f6a04bcff0ac213607955ed568d18cab7ef7b8512bebb6cec40d3de6c [INFO] running `"docker" "start" "-a" "d05c656f6a04bcff0ac213607955ed568d18cab7ef7b8512bebb6cec40d3de6c"` [INFO] [stderr] Compiling cc v1.0.17 [INFO] [stderr] Compiling num-traits v0.2.5 [INFO] [stderr] Compiling serde v1.0.70 [INFO] [stderr] Compiling ucd-util v0.1.1 [INFO] [stderr] Compiling regex v1.0.1 [INFO] [stderr] Compiling lazy_static v1.0.1 [INFO] [stderr] Compiling cfg-if v0.1.4 [INFO] [stderr] Compiling ascii v0.7.1 [INFO] [stderr] Compiling itoa v0.4.1 [INFO] [stderr] Compiling pest v1.0.6 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling linked-hash-map v0.5.1 [INFO] [stderr] Compiling proc-macro2 v0.4.6 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling time v0.1.40 [INFO] [stderr] Compiling atty v0.2.10 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling log v0.4.3 [INFO] [stderr] Compiling thread_local v0.3.5 [INFO] [stderr] Compiling regex-syntax v0.6.1 [INFO] [stderr] Compiling aho-corasick v0.6.5 [INFO] [stderr] Compiling combine v3.3.6 [INFO] [stderr] Compiling pest_derive v1.0.7 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling quote v0.6.3 [INFO] [stderr] Compiling syn v0.14.4 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling backtrace-sys v0.1.23 [INFO] [stderr] Compiling chrono v0.4.4 [INFO] [stderr] Compiling backtrace v0.3.9 [INFO] [stderr] Compiling error-chain v0.11.0 [INFO] [stderr] Compiling failure v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.70 [INFO] [stderr] Compiling structopt-derive v0.2.10 [INFO] [stderr] Compiling structopt v0.2.10 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling serde_json v1.0.22 [INFO] [stderr] Compiling toml v0.4.6 [INFO] [stderr] Compiling handlebars v0.32.4 [INFO] [stderr] Compiling cargo_metadata v0.5.8 [INFO] [stderr] Compiling toml_edit v0.1.3 [INFO] [stderr] warning[E0502]: cannot borrow `v` as immutable because it is also borrowed as mutable [INFO] [stderr] --> /opt/crater/cargo-home/registry/src/github.com-1ecc6299db9ec823/toml_edit-0.1.3/src/index.rs:55:65 [INFO] [stderr] | [INFO] [stderr] 44 | fn index_or_insert<'v>(&self, v: &'v mut Item) -> &'v mut Item { [INFO] [stderr] | -- lifetime `'v` defined here [INFO] [stderr] 45 | / match *v { [INFO] [stderr] 46 | | Item::ArrayOfTables(ref mut vec) => { [INFO] [stderr] 47 | | vec.values.get_mut(*self).expect("index out of bounds") [INFO] [stderr] 48 | | } [INFO] [stderr] 49 | | Item::Value(ref mut a) if a.is_array() => a [INFO] [stderr] | | --------- mutable borrow occurs here [INFO] [stderr] ... | [INFO] [stderr] 55 | | _ => panic!("cannot access index {} in {:?}", self, v), [INFO] [stderr] | | ^ immutable borrow occurs here [INFO] [stderr] 56 | | } [INFO] [stderr] | |_________- returning this value requires that `v.0` is borrowed for `'v` [INFO] [stderr] | [INFO] [stderr] = warning: this error has been downgraded to a warning for backwards compatibility with previous releases [INFO] [stderr] = warning: this represents potential undefined behavior in your code and this warning will become a hard error in the future [INFO] [stderr] = note: for more information, try `rustc --explain E0729` [INFO] [stderr] [INFO] [stderr] warning[E0502]: cannot borrow `v` as immutable because it is also borrowed as mutable [INFO] [stderr] --> /opt/crater/cargo-home/registry/src/github.com-1ecc6299db9ec823/toml_edit-0.1.3/src/index.rs:88:63 [INFO] [stderr] | [INFO] [stderr] 70 | fn index_or_insert<'v>(&self, v: &'v mut Item) -> &'v mut Item { [INFO] [stderr] | -- lifetime `'v` defined here [INFO] [stderr] ... [INFO] [stderr] 77 | / match *v { [INFO] [stderr] 78 | | Item::Table(ref mut t) => t.entry(self).or_insert(Item::None), [INFO] [stderr] 79 | | Item::Value(ref mut v) if v.is_inline_table() => { [INFO] [stderr] | | --------- mutable borrow occurs here [INFO] [stderr] 80 | | &mut v [INFO] [stderr] ... | [INFO] [stderr] 88 | | _ => panic!("cannot access key {} in {:?}", self, v), [INFO] [stderr] | | ^ immutable borrow occurs here [INFO] [stderr] 89 | | } [INFO] [stderr] | |_________- returning this value requires that `v.0` is borrowed for `'v` [INFO] [stderr] | [INFO] [stderr] = warning: this error has been downgraded to a warning for backwards compatibility with previous releases [INFO] [stderr] = warning: this represents potential undefined behavior in your code and this warning will become a hard error in the future [INFO] [stderr] = note: for more information, try `rustc --explain E0729` [INFO] [stderr] [INFO] [stderr] Compiling apply-license v0.2.0 (/opt/crater/workdir) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:113:20 [INFO] [stderr] | [INFO] [stderr] 113 | let split: Box> = if license_expr.contains("/") { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator` [INFO] [stderr] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/bin/apply-license.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/bin/cargo-apply-license.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 42s [INFO] running `"docker" "inspect" "d05c656f6a04bcff0ac213607955ed568d18cab7ef7b8512bebb6cec40d3de6c"` [INFO] running `"docker" "rm" "-f" "d05c656f6a04bcff0ac213607955ed568d18cab7ef7b8512bebb6cec40d3de6c"` [INFO] [stdout] d05c656f6a04bcff0ac213607955ed568d18cab7ef7b8512bebb6cec40d3de6c [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-3/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/euclio/apply-license:/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] 905df4a376bbbd5997eb0dc908249a13ce858861a43b1da28ee5efc6fd3bda63 [INFO] running `"docker" "start" "-a" "905df4a376bbbd5997eb0dc908249a13ce858861a43b1da28ee5efc6fd3bda63"` [INFO] [stderr] Compiling apply-license v0.2.0 (/opt/crater/workdir) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:113:20 [INFO] [stderr] | [INFO] [stderr] 113 | let split: Box> = if license_expr.contains("/") { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator` [INFO] [stderr] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/bin/apply-license.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/bin/cargo-apply-license.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.81s [INFO] running `"docker" "inspect" "905df4a376bbbd5997eb0dc908249a13ce858861a43b1da28ee5efc6fd3bda63"` [INFO] running `"docker" "rm" "-f" "905df4a376bbbd5997eb0dc908249a13ce858861a43b1da28ee5efc6fd3bda63"` [INFO] [stdout] 905df4a376bbbd5997eb0dc908249a13ce858861a43b1da28ee5efc6fd3bda63 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-3/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/euclio/apply-license:/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] a3179a903f12ecdadbd6aa3465341cea7b7cfe9b436353113ec27cf9f9dc0fe8 [INFO] running `"docker" "start" "-a" "a3179a903f12ecdadbd6aa3465341cea7b7cfe9b436353113ec27cf9f9dc0fe8"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running /opt/crater/target/debug/deps/apply_license-e40234c02b336ef1 [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test tests::parse_licenses ... ok [INFO] [stdout] test tests::compound ... ok [INFO] [stdout] test tests::cargo_manifest_licenses ... ok [INFO] [stdout] test tests::valid_spdx_ids ... ok [INFO] [stdout] test tests::simple ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Running /opt/crater/target/debug/deps/apply_license-6670dedc5c5f795b [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Running /opt/crater/target/debug/deps/cargo_apply_license-52d9fdf8a582f1bb [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Doc-tests apply-license [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `"docker" "inspect" "a3179a903f12ecdadbd6aa3465341cea7b7cfe9b436353113ec27cf9f9dc0fe8"` [INFO] running `"docker" "rm" "-f" "a3179a903f12ecdadbd6aa3465341cea7b7cfe9b436353113ec27cf9f9dc0fe8"` [INFO] [stdout] a3179a903f12ecdadbd6aa3465341cea7b7cfe9b436353113ec27cf9f9dc0fe8