Dec 05 08:41:29.227 INFO checking qrcli-rs-0.2.0 against master#c8ae2de8363be088604ffa2ccba84ff7ad7250bc for pr-56481 Dec 05 08:41:29.227 INFO running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-56481/worker-4/master#c8ae2de8363be088604ffa2ccba84ff7ad7250bc:/target:rw,Z" "-v" "/mnt/big/crater/work/local/test-source/worker-4/pr-56481/master#c8ae2de8363be088604ffa2ccba84ff7ad7250bc:/source:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/source" "-e" "USER_ID=1000" "-e" "CMD=cargo +c8ae2de8363be088604ffa2ccba84ff7ad7250bc-alt check --frozen --all --all-targets" "-e" "CARGO_TARGET_DIR=/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/cargo-home" "-e" "RUSTUP_HOME=/rustup-home" "-m" "1536M" "--network" "none" "crater"` Dec 05 08:41:29.792 INFO [stdout] 773f05ecceecafd941386fc7b427a14a72a44f7e4265abf92d4d09b806650a76 Dec 05 08:41:29.795 INFO running `"docker" "start" "-a" "773f05ecceecafd941386fc7b427a14a72a44f7e4265abf92d4d09b806650a76"` Dec 05 08:41:32.111 INFO [stderr] usermod: no changes Dec 05 08:41:32.203 INFO [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently Dec 05 08:41:32.203 INFO [stderr] disables Cargo from automatically inferring other binary targets. Dec 05 08:41:32.203 INFO [stderr] This inference behavior will change in the Rust 2018 edition and the following Dec 05 08:41:32.203 INFO [stderr] files will be included as a binary target: Dec 05 08:41:32.203 INFO [stderr] Dec 05 08:41:32.203 INFO [stderr] * /source/src/main.rs Dec 05 08:41:32.203 INFO [stderr] Dec 05 08:41:32.203 INFO [stderr] This is likely to break cargo build or cargo test as these files may not be Dec 05 08:41:32.203 INFO [stderr] ready to be compiled as a binary target today. You can future-proof yourself Dec 05 08:41:32.203 INFO [stderr] and disable this warning by adding `autobins = false` to your [package] Dec 05 08:41:32.203 INFO [stderr] section. You may also move the files to a location where Cargo would not Dec 05 08:41:32.203 INFO [stderr] automatically infer them to be a target, such as in subfolders. Dec 05 08:41:32.203 INFO [stderr] Dec 05 08:41:32.203 INFO [stderr] For more information on this warning you can consult Dec 05 08:41:32.203 INFO [stderr] https://github.com/rust-lang/cargo/issues/5330 Dec 05 08:41:32.203 INFO [stderr] warning: path `/source/src/main.rs` was erroneously implicitly accepted for binary `qrcli`, Dec 05 08:41:32.203 INFO [stderr] please set bin.path in Cargo.toml Dec 05 08:41:32.207 INFO [stderr] Checking qrcodegen v1.4.0 Dec 05 08:41:32.227 INFO [stderr] Checking structopt v0.1.7 Dec 05 08:41:33.911 INFO [stderr] Checking qrcli-rs v0.2.0 (/source) Dec 05 08:41:35.499 INFO [stderr] error[E0593]: closure is expected to take 1 argument, but it takes 0 arguments Dec 05 08:41:35.499 INFO [stderr] --> src/main.rs:44:65 Dec 05 08:41:35.499 INFO [stderr] | Dec 05 08:41:35.499 INFO [stderr] 44 | let qr = QrCode::encode_text(&options.text, options.coding).unwrap_or_else(|| { Dec 05 08:41:35.499 INFO [stderr] | ^^^^^^^^^^^^^^ -- takes 0 arguments Dec 05 08:41:35.499 INFO [stderr] | | Dec 05 08:41:35.499 INFO [stderr] | expected closure that takes 1 argument Dec 05 08:41:35.499 INFO [stderr] help: consider changing the closure to take and ignore the expected argument Dec 05 08:41:35.499 INFO [stderr] | Dec 05 08:41:35.499 INFO [stderr] 44 | let qr = QrCode::encode_text(&options.text, options.coding).unwrap_or_else(|_| { Dec 05 08:41:35.499 INFO [stderr] | ^^^ Dec 05 08:41:35.499 INFO [stderr] Dec 05 08:41:35.499 INFO [stderr] error[E0593]: closure is expected to take 1 argument, but it takes 0 arguments Dec 05 08:41:35.499 INFO [stderr] --> src/main.rs:44:65 Dec 05 08:41:35.499 INFO [stderr] | Dec 05 08:41:35.499 INFO [stderr] 44 | let qr = QrCode::encode_text(&options.text, options.coding).unwrap_or_else(|| { Dec 05 08:41:35.499 INFO [stderr] | ^^^^^^^^^^^^^^ -- takes 0 arguments Dec 05 08:41:35.499 INFO [stderr] | | Dec 05 08:41:35.499 INFO [stderr] | expected closure that takes 1 argument Dec 05 08:41:35.499 INFO [stderr] help: consider changing the closure to take and ignore the expected argument Dec 05 08:41:35.499 INFO [stderr] | Dec 05 08:41:35.499 INFO [stderr] 44 | let qr = QrCode::encode_text(&options.text, options.coding).unwrap_or_else(|_| { Dec 05 08:41:35.499 INFO [stderr] | ^^^ Dec 05 08:41:35.499 INFO [stderr] Dec 05 08:41:35.503 INFO [stderr] error: aborting due to previous error Dec 05 08:41:35.503 INFO [stderr] Dec 05 08:41:35.503 INFO [stderr] For more information about this error, try `rustc --explain E0593`. Dec 05 08:41:35.509 INFO [stderr] error: aborting due to previous error Dec 05 08:41:35.509 INFO [stderr] Dec 05 08:41:35.509 INFO [stderr] For more information about this error, try `rustc --explain E0593`. Dec 05 08:41:35.510 INFO [stderr] error: Could not compile `qrcli-rs`. Dec 05 08:41:35.510 INFO [stderr] warning: build failed, waiting for other jobs to finish... Dec 05 08:41:35.523 INFO [stderr] error: Could not compile `qrcli-rs`. Dec 05 08:41:35.523 INFO [stderr] Dec 05 08:41:35.523 INFO [stderr] To learn more, run the command again with --verbose. Dec 05 08:41:35.527 INFO [stderr] su: No module specific data is present Dec 05 08:41:36.227 INFO running `"docker" "inspect" "773f05ecceecafd941386fc7b427a14a72a44f7e4265abf92d4d09b806650a76"` Dec 05 08:41:36.521 INFO running `"docker" "rm" "-f" "773f05ecceecafd941386fc7b427a14a72a44f7e4265abf92d4d09b806650a76"` Dec 05 08:41:36.738 INFO [stdout] 773f05ecceecafd941386fc7b427a14a72a44f7e4265abf92d4d09b806650a76