[INFO] crate core-utils 0.1.2 is already in cache [INFO] extracting crate core-utils 0.1.2 into work/ex/pr-62849/sources/master#435236b8877cdb98c82eaebfb7887782277265c5/reg/core-utils/0.1.2 [INFO] extracting crate core-utils 0.1.2 into work/ex/pr-62849/sources/try#b5c7f157c20453dde8d47371abe73b32351b4e7f/reg/core-utils/0.1.2 [INFO] validating manifest of core-utils-0.1.2 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 core-utils-0.1.2 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 core-utils-0.1.2 [INFO] finished frobbing core-utils-0.1.2 [INFO] frobbed toml for core-utils-0.1.2 written to work/ex/pr-62849/sources/master#435236b8877cdb98c82eaebfb7887782277265c5/reg/core-utils/0.1.2/Cargo.toml [INFO] started frobbing core-utils-0.1.2 [INFO] finished frobbing core-utils-0.1.2 [INFO] frobbed toml for core-utils-0.1.2 written to work/ex/pr-62849/sources/try#b5c7f157c20453dde8d47371abe73b32351b4e7f/reg/core-utils/0.1.2/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+435236b8877cdb98c82eaebfb7887782277265c5-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+b5c7f157c20453dde8d47371abe73b32351b4e7f-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [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 core-utils-0.1.2 against master#435236b8877cdb98c82eaebfb7887782277265c5 for pr-62849 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-62849/worker-4/master#435236b8877cdb98c82eaebfb7887782277265c5:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-62849/sources/master#435236b8877cdb98c82eaebfb7887782277265c5/reg/core-utils/0.1.2:/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" "+435236b8877cdb98c82eaebfb7887782277265c5-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 2b9fb56d12c5ac1041468ac55bf9a497a565a24723a16b6287404c8e3e57410b [INFO] running `"docker" "start" "-a" "2b9fb56d12c5ac1041468ac55bf9a497a565a24723a16b6287404c8e3e57410b"` [INFO] [stderr] Checking ansi_term v0.6.3 [INFO] [stderr] Checking rpf v0.1.6 [INFO] [stderr] Checking pgetopts v0.1.2 [INFO] [stderr] warning[E0503]: cannot use `state` because it was mutably borrowed [INFO] [stderr] --> /opt/crater/cargo-home/registry/src/github.com-1ecc6299db9ec823/pgetopts-0.1.2/src/lib.rs:976:33 [INFO] [stderr] | [INFO] [stderr] 923 | let mut machine = |cont: &mut bool, (i, c): (usize, char)| { [INFO] [stderr] | ---------------------------------------- borrow of `state` occurs here [INFO] [stderr] ... [INFO] [stderr] 927 | state = match (state, whitespace, limit) { [INFO] [stderr] | ----- borrow occurs due to use of `state` in closure [INFO] [stderr] ... [INFO] [stderr] 976 | while cont && match state { B | C => true, A => false } { [INFO] [stderr] | ^ use of borrowed `state` [INFO] [stderr] 977 | machine(&mut cont, (fake_i, ' ')); [INFO] [stderr] | ------- borrow later used here [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 core-utils v0.1.2 (/opt/crater/workdir) [INFO] [stderr] error[E0432]: unresolved import `rpf::Status` [INFO] [stderr] --> src/rm/main.rs:15:11 [INFO] [stderr] | [INFO] [stderr] 15 | use rpf::{Status,Styled,PathMod,Prog}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | no `Status` in the root [INFO] [stderr] | help: a similar name exists in the module: `status` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::fs::PathExt` [INFO] [stderr] --> src/rm/main.rs:19:15 [INFO] [stderr] | [INFO] [stderr] 19 | use std::fs::{PathExt}; [INFO] [stderr] | ^^^^^^^ no `PathExt` in `fs` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/rm/main.rs:110:24 [INFO] [stderr] | [INFO] [stderr] 110 | vec!["Alberto Corona"]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ expected &[&str], found struct `std::vec::Vec` [INFO] [stderr] | [INFO] [stderr] = note: expected type `&[&str]` [INFO] [stderr] found type `std::vec::Vec<&str>` [INFO] [stderr] = note: this error 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] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0432. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error: Could not compile `core-utils`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0432]: unresolved import `rpf::Status` [INFO] [stderr] --> src/mv/main.rs:15:11 [INFO] [stderr] | [INFO] [stderr] 15 | use rpf::{Status,Styled,Prog,AsPath}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | no `Status` in the root [INFO] [stderr] | help: a similar name exists in the module: `status` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::fs::PathExt` [INFO] [stderr] --> src/mv/main.rs:19:15 [INFO] [stderr] | [INFO] [stderr] 19 | use std::fs::{PathExt}; [INFO] [stderr] | ^^^^^^^ no `PathExt` in `fs` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `rpf::Status` [INFO] [stderr] --> src/cp/main.rs:15:11 [INFO] [stderr] | [INFO] [stderr] 15 | use rpf::{Status,Styled,Color,PathMod,Prog}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | no `Status` in the root [INFO] [stderr] | help: a similar name exists in the module: `status` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::fs::PathExt` [INFO] [stderr] --> src/cp/main.rs:22:15 [INFO] [stderr] | [INFO] [stderr] 22 | use std::fs::{PathExt}; [INFO] [stderr] | ^^^^^^^ no `PathExt` in `fs` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `rpf::Status` [INFO] [stderr] --> src/rm/main.rs:15:11 [INFO] [stderr] | [INFO] [stderr] 15 | use rpf::{Status,Styled,PathMod,Prog}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | no `Status` in the root [INFO] [stderr] | help: a similar name exists in the module: `status` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::fs::PathExt` [INFO] [stderr] --> src/rm/main.rs:19:15 [INFO] [stderr] | [INFO] [stderr] 19 | use std::fs::{PathExt}; [INFO] [stderr] | ^^^^^^^ no `PathExt` in `fs` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/mv/main.rs:60:24 [INFO] [stderr] | [INFO] [stderr] 60 | vec!["Alberto Corona"]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ expected &[&str], found struct `std::vec::Vec` [INFO] [stderr] | [INFO] [stderr] = note: expected type `&[&str]` [INFO] [stderr] found type `std::vec::Vec<&str>` [INFO] [stderr] = note: this error 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 import: `AsPath` [INFO] [stderr] --> src/mv/main.rs:15:30 [INFO] [stderr] | [INFO] [stderr] 15 | use rpf::{Status,Styled,Prog,AsPath}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0432. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error: Could not compile `core-utils`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0277]: the trait bound `std::option::Option: std::convert::AsRef` is not satisfied [INFO] [stderr] --> src/cp/main.rs:206:16 [INFO] [stderr] | [INFO] [stderr] 206 | if !to.join(&dest).exists() { [INFO] [stderr] | ^^^^ the trait `std::convert::AsRef` is not implemented for `std::option::Option` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `std::convert::AsRef` for `&std::option::Option` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::option::Option: std::convert::AsRef` is not satisfied [INFO] [stderr] --> src/cp/main.rs:207:35 [INFO] [stderr] | [INFO] [stderr] 207 | create_dir(&from, &to.join(&dest), options); [INFO] [stderr] | ^^^^ the trait `std::convert::AsRef` is not implemented for `std::option::Option` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `std::convert::AsRef` for `&std::option::Option` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::option::Option: std::convert::AsRef` is not satisfied [INFO] [stderr] --> src/cp/main.rs:209:33 [INFO] [stderr] | [INFO] [stderr] 209 | walk_dir_copy(&from, to.join(&dest), options, ©type).ok(); [INFO] [stderr] | ^^^^ the trait `std::convert::AsRef` is not implemented for `std::option::Option` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `std::convert::AsRef` for `&std::option::Option` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::option::Option: std::convert::AsRef` is not satisfied [INFO] [stderr] --> src/cp/main.rs:211:33 [INFO] [stderr] | [INFO] [stderr] 211 | walk_dir_copy(&from, to.join(&dest), options, ©type).ok(); [INFO] [stderr] | ^^^^ the trait `std::convert::AsRef` is not implemented for `std::option::Option` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `std::convert::AsRef` for `&std::option::Option` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `rpf::Status` [INFO] [stderr] --> src/nproc/main.rs:15:11 [INFO] [stderr] | [INFO] [stderr] 15 | use rpf::{Status,Styled,Prog}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | no `Status` in the root [INFO] [stderr] | help: a similar name exists in the module: `status` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/rm/main.rs:110:24 [INFO] [stderr] | [INFO] [stderr] 110 | vec!["Alberto Corona"]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ expected &[&str], found struct `std::vec::Vec` [INFO] [stderr] | [INFO] [stderr] = note: expected type `&[&str]` [INFO] [stderr] found type `std::vec::Vec<&str>` [INFO] [stderr] = note: this error 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] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0432. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/cp/main.rs:323:24 [INFO] [stderr] | [INFO] [stderr] 323 | vec!["Alberto Corona"]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ expected &[&str], found struct `std::vec::Vec` [INFO] [stderr] error: Could not compile `core-utils`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] | [INFO] [stderr] = note: expected type `&[&str]` [INFO] [stderr] found type `std::vec::Vec<&str>` [INFO] [stderr] = note: this error 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] error: aborting due to 7 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0308, E0432. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/nproc/main.rs:48:24 [INFO] [stderr] | [INFO] [stderr] 48 | vec!["Alberto Corona"]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ expected &[&str], found struct `std::vec::Vec` [INFO] [stderr] | [INFO] [stderr] = note: expected type `&[&str]` [INFO] [stderr] found type `std::vec::Vec<&str>` [INFO] [stderr] = note: this error 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] error: Could not compile `core-utils`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0432. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error: Could not compile `core-utils`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "2b9fb56d12c5ac1041468ac55bf9a497a565a24723a16b6287404c8e3e57410b"` [INFO] running `"docker" "rm" "-f" "2b9fb56d12c5ac1041468ac55bf9a497a565a24723a16b6287404c8e3e57410b"` [INFO] [stdout] 2b9fb56d12c5ac1041468ac55bf9a497a565a24723a16b6287404c8e3e57410b