[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/pr-62849/sources/master#435236b8877cdb98c82eaebfb7887782277265c5/gh/euclio/apply-license"` [INFO] [stderr] Cloning into 'work/ex/pr-62849/sources/master#435236b8877cdb98c82eaebfb7887782277265c5/gh/euclio/apply-license'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/euclio/apply-license" "work/ex/pr-62849/sources/try#b5c7f157c20453dde8d47371abe73b32351b4e7f/gh/euclio/apply-license"` [INFO] [stderr] Cloning into 'work/ex/pr-62849/sources/try#b5c7f157c20453dde8d47371abe73b32351b4e7f/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 master#435236b8877cdb98c82eaebfb7887782277265c5 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+435236b8877cdb98c82eaebfb7887782277265c5-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of euclio/apply-license on toolchain try#b5c7f157c20453dde8d47371abe73b32351b4e7f [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+b5c7f157c20453dde8d47371abe73b32351b4e7f-alt" "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/pr-62849/sources/master#435236b8877cdb98c82eaebfb7887782277265c5/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/pr-62849/sources/try#b5c7f157c20453dde8d47371abe73b32351b4e7f/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" "+435236b8877cdb98c82eaebfb7887782277265c5-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+b5c7f157c20453dde8d47371abe73b32351b4e7f-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking euclio/apply-license against try#b5c7f157c20453dde8d47371abe73b32351b4e7f for pr-62849 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-62849/worker-7/try#b5c7f157c20453dde8d47371abe73b32351b4e7f:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-62849/sources/try#b5c7f157c20453dde8d47371abe73b32351b4e7f/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=forbid" "-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" "+b5c7f157c20453dde8d47371abe73b32351b4e7f-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 55037c4dc43ec0b5c628dcf832ff2ad7f5df3a9f12fa24d8f013225d9227a980 [INFO] running `"docker" "start" "-a" "55037c4dc43ec0b5c628dcf832ff2ad7f5df3a9f12fa24d8f013225d9227a980"` [INFO] [stderr] Checking combine v3.3.6 [INFO] [stderr] Checking semver v0.9.0 [INFO] [stderr] Checking serde_json v1.0.22 [INFO] [stderr] Compiling structopt-derive v0.2.10 [INFO] [stderr] Checking error-chain v0.11.0 [INFO] [stderr] Checking cargo_metadata v0.5.8 [INFO] [stderr] Checking handlebars v0.32.4 [INFO] [stderr] Checking structopt v0.2.10 [INFO] [stderr] Checking 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] Checking 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: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/lib.rs:23:1 [INFO] [stderr] | [INFO] [stderr] 23 | / lazy_static! { [INFO] [stderr] 24 | | /// A list of licenses with text included in the program. [INFO] [stderr] 25 | | static ref LICENSES: Vec = { [INFO] [stderr] 26 | | let mut toml: BTreeMap> = toml::from_str(include_str!(concat!( [INFO] [stderr] ... | [INFO] [stderr] 32 | | }; [INFO] [stderr] 33 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/lib.rs:82:5 [INFO] [stderr] | [INFO] [stderr] 82 | / lazy_static! { [INFO] [stderr] 83 | | static ref SPDX_LICENSE_LIST: LicenseList = serde_json::from_str(include_str!(concat!( [INFO] [stderr] 84 | | env!("CARGO_MANIFEST_DIR"), [INFO] [stderr] 85 | | "/src/spdx-licenses.json" [INFO] [stderr] 86 | | ))).unwrap(); [INFO] [stderr] 87 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/lib.rs:181:5 [INFO] [stderr] | [INFO] [stderr] 181 | / lazy_static! { [INFO] [stderr] 182 | | static ref GIT_NAME_RE: Regex = Regex::new(r"(?P.+) <(?P.+)>").unwrap(); [INFO] [stderr] 183 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [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: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/lib.rs:23:1 [INFO] [stderr] | [INFO] [stderr] 23 | / lazy_static! { [INFO] [stderr] 24 | | /// A list of licenses with text included in the program. [INFO] [stderr] 25 | | static ref LICENSES: Vec = { [INFO] [stderr] 26 | | let mut toml: BTreeMap> = toml::from_str(include_str!(concat!( [INFO] [stderr] ... | [INFO] [stderr] 32 | | }; [INFO] [stderr] 33 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/lib.rs:82:5 [INFO] [stderr] | [INFO] [stderr] 82 | / lazy_static! { [INFO] [stderr] 83 | | static ref SPDX_LICENSE_LIST: LicenseList = serde_json::from_str(include_str!(concat!( [INFO] [stderr] 84 | | env!("CARGO_MANIFEST_DIR"), [INFO] [stderr] 85 | | "/src/spdx-licenses.json" [INFO] [stderr] 86 | | ))).unwrap(); [INFO] [stderr] 87 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/lib.rs:181:5 [INFO] [stderr] | [INFO] [stderr] 181 | / lazy_static! { [INFO] [stderr] 182 | | static ref GIT_NAME_RE: Regex = Regex::new(r"(?P.+) <(?P.+)>").unwrap(); [INFO] [stderr] 183 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [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/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] 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 46.97s [INFO] running `"docker" "inspect" "55037c4dc43ec0b5c628dcf832ff2ad7f5df3a9f12fa24d8f013225d9227a980"` [INFO] running `"docker" "rm" "-f" "55037c4dc43ec0b5c628dcf832ff2ad7f5df3a9f12fa24d8f013225d9227a980"` [INFO] [stdout] 55037c4dc43ec0b5c628dcf832ff2ad7f5df3a9f12fa24d8f013225d9227a980