[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.37-6/sources/1.36.0/gh/euclio/apply-license"` [INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/1.36.0/gh/euclio/apply-license'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/euclio/apply-license" "work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/euclio/apply-license"` [INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/beta-2019-07-23/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.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 euclio/apply-license 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 euclio/apply-license [INFO] finished frobbing euclio/apply-license [INFO] frobbed toml for euclio/apply-license written to work/ex/beta-1.37-6/sources/1.36.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.37-6/sources/beta-2019-07-23/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.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 euclio/apply-license against beta-2019-07-23 for beta-1.37-6 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-6/beta-2019-07-23:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/beta-2019-07-23/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" "+beta-2019-07-23" "build" "--frozen"` [INFO] [stdout] 0cce062a6a1ec372684922aa70792bcd1c8afe9f1be9dfda77b1b70000aa1ef5 [INFO] running `"docker" "start" "-a" "0cce062a6a1ec372684922aa70792bcd1c8afe9f1be9dfda77b1b70000aa1ef5"` [INFO] [stderr] Compiling regex v1.0.1 [INFO] [stderr] Compiling ascii v0.7.1 [INFO] [stderr] Compiling regex-syntax v0.6.1 [INFO] [stderr] Compiling aho-corasick v0.6.5 [INFO] [stderr] Compiling pest_derive v1.0.7 [INFO] [stderr] Compiling backtrace v0.3.9 [INFO] [stderr] Compiling serde_json v1.0.22 [INFO] [stderr] Compiling error-chain v0.11.0 [INFO] [stderr] Compiling failure v0.1.1 [INFO] [stderr] Compiling combine v3.3.6 [INFO] [stderr] Compiling cargo_metadata v0.5.8 [INFO] [stderr] Compiling handlebars v0.32.4 [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 08s [INFO] running `"docker" "inspect" "0cce062a6a1ec372684922aa70792bcd1c8afe9f1be9dfda77b1b70000aa1ef5"` [INFO] running `"docker" "rm" "-f" "0cce062a6a1ec372684922aa70792bcd1c8afe9f1be9dfda77b1b70000aa1ef5"` [INFO] [stdout] 0cce062a6a1ec372684922aa70792bcd1c8afe9f1be9dfda77b1b70000aa1ef5 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-6/beta-2019-07-23:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/beta-2019-07-23/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" "+beta-2019-07-23" "test" "--frozen" "--no-run"` [INFO] [stdout] 0607e0f7aa561d17f29efca0a04c8e0d318eacbe382ca890520db93167433d40 [INFO] running `"docker" "start" "-a" "0607e0f7aa561d17f29efca0a04c8e0d318eacbe382ca890520db93167433d40"` [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/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] 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] Finished dev [unoptimized + debuginfo] target(s) in 3.95s [INFO] running `"docker" "inspect" "0607e0f7aa561d17f29efca0a04c8e0d318eacbe382ca890520db93167433d40"` [INFO] running `"docker" "rm" "-f" "0607e0f7aa561d17f29efca0a04c8e0d318eacbe382ca890520db93167433d40"` [INFO] [stdout] 0607e0f7aa561d17f29efca0a04c8e0d318eacbe382ca890520db93167433d40 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-6/beta-2019-07-23:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/beta-2019-07-23/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" "+beta-2019-07-23" "test" "--frozen"` [INFO] [stdout] 2c9bbd63924d844ceaf0ef87558caf46b0a26100da3dee6cb0d29a7bc0c52db1 [INFO] running `"docker" "start" "-a" "2c9bbd63924d844ceaf0ef87558caf46b0a26100da3dee6cb0d29a7bc0c52db1"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running /opt/crater/target/debug/deps/apply_license-9a2679ca526eaf83 [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test tests::parse_licenses ... ok [INFO] [stdout] test tests::valid_spdx_ids ... ok [INFO] [stdout] test tests::cargo_manifest_licenses ... ok [INFO] [stdout] test tests::simple ... ok [INFO] [stdout] test tests::compound ... 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-0bd70b83121bda71 [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-b49e2f47584d958d [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" "2c9bbd63924d844ceaf0ef87558caf46b0a26100da3dee6cb0d29a7bc0c52db1"` [INFO] running `"docker" "rm" "-f" "2c9bbd63924d844ceaf0ef87558caf46b0a26100da3dee6cb0d29a7bc0c52db1"` [INFO] [stdout] 2c9bbd63924d844ceaf0ef87558caf46b0a26100da3dee6cb0d29a7bc0c52db1