Nov 30 17:37:38.356 INFO checking qrcli-rs-0.2.0 against try#32252761328f59ccfadb1bafb8148c685bc830b3 for pr-56323 Nov 30 17:37:38.356 INFO running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-56323/worker-4/try#32252761328f59ccfadb1bafb8148c685bc830b3:/target:rw,Z" "-v" "/mnt/big/crater/work/local/test-source/worker-4/pr-56323/try#32252761328f59ccfadb1bafb8148c685bc830b3:/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 +32252761328f59ccfadb1bafb8148c685bc830b3-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"` Nov 30 17:37:38.810 INFO [stdout] 2c4f3de24d1eb52d8c2760eadfe60fc750d2d051bb3978aa7ce188c26d5fc7ec Nov 30 17:37:38.812 INFO running `"docker" "start" "-a" "2c4f3de24d1eb52d8c2760eadfe60fc750d2d051bb3978aa7ce188c26d5fc7ec"` Nov 30 17:37:40.524 INFO [stderr] usermod: no changes Nov 30 17:37:40.568 INFO [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently Nov 30 17:37:40.568 INFO [stderr] disables Cargo from automatically inferring other binary targets. Nov 30 17:37:40.568 INFO [stderr] This inference behavior will change in the Rust 2018 edition and the following Nov 30 17:37:40.568 INFO [stderr] files will be included as a binary target: Nov 30 17:37:40.568 INFO [stderr] Nov 30 17:37:40.568 INFO [stderr] * /source/src/main.rs Nov 30 17:37:40.568 INFO [stderr] Nov 30 17:37:40.568 INFO [stderr] This is likely to break cargo build or cargo test as these files may not be Nov 30 17:37:40.568 INFO [stderr] ready to be compiled as a binary target today. You can future-proof yourself Nov 30 17:37:40.568 INFO [stderr] and disable this warning by adding `autobins = false` to your [package] Nov 30 17:37:40.568 INFO [stderr] section. You may also move the files to a location where Cargo would not Nov 30 17:37:40.568 INFO [stderr] automatically infer them to be a target, such as in subfolders. Nov 30 17:37:40.568 INFO [stderr] Nov 30 17:37:40.568 INFO [stderr] For more information on this warning you can consult Nov 30 17:37:40.568 INFO [stderr] https://github.com/rust-lang/cargo/issues/5330 Nov 30 17:37:40.568 INFO [stderr] warning: path `/source/src/main.rs` was erroneously implicitly accepted for binary `qrcli`, Nov 30 17:37:40.568 INFO [stderr] please set bin.path in Cargo.toml Nov 30 17:37:40.656 INFO [stderr] Checking qrcodegen v1.4.0 Nov 30 17:37:41.614 INFO [stderr] Checking qrcli-rs v0.2.0 (/source) Nov 30 17:37:43.736 INFO [stderr] error[E0593]: closure is expected to take 1 argument, but it takes 0 arguments Nov 30 17:37:43.737 INFO [stderr] --> src/main.rs:44:65 Nov 30 17:37:43.737 INFO [stderr] | Nov 30 17:37:43.737 INFO [stderr] 44 | let qr = QrCode::encode_text(&options.text, options.coding).unwrap_or_else(|| { Nov 30 17:37:43.738 INFO [stderr] | ^^^^^^^^^^^^^^ -- takes 0 arguments Nov 30 17:37:43.738 INFO [stderr] | | Nov 30 17:37:43.738 INFO [stderr] | expected closure that takes 1 argument Nov 30 17:37:43.739 INFO [stderr] help: consider changing the closure to take and ignore the expected argument Nov 30 17:37:43.739 INFO [stderr] | Nov 30 17:37:43.739 INFO [stderr] 44 | let qr = QrCode::encode_text(&options.text, options.coding).unwrap_or_else(|_| { Nov 30 17:37:43.740 INFO [stderr] | ^^^ Nov 30 17:37:43.740 INFO [stderr] Nov 30 17:37:43.780 INFO [stderr] error: aborting due to previous error Nov 30 17:37:43.781 INFO [stderr] Nov 30 17:37:43.781 INFO [stderr] For more information about this error, try `rustc --explain E0593`. Nov 30 17:37:43.806 INFO [stderr] error: Could not compile `qrcli-rs`. Nov 30 17:37:43.806 INFO [stderr] warning: build failed, waiting for other jobs to finish... Nov 30 17:37:43.832 INFO [stderr] error[E0593]: closure is expected to take 1 argument, but it takes 0 arguments Nov 30 17:37:43.832 INFO [stderr] --> src/main.rs:44:65 Nov 30 17:37:43.833 INFO [stderr] | Nov 30 17:37:43.833 INFO [stderr] 44 | let qr = QrCode::encode_text(&options.text, options.coding).unwrap_or_else(|| { Nov 30 17:37:43.833 INFO [stderr] | ^^^^^^^^^^^^^^ -- takes 0 arguments Nov 30 17:37:43.834 INFO [stderr] | | Nov 30 17:37:43.834 INFO [stderr] | expected closure that takes 1 argument Nov 30 17:37:43.834 INFO [stderr] help: consider changing the closure to take and ignore the expected argument Nov 30 17:37:43.835 INFO [stderr] | Nov 30 17:37:43.835 INFO [stderr] 44 | let qr = QrCode::encode_text(&options.text, options.coding).unwrap_or_else(|_| { Nov 30 17:37:43.835 INFO [stderr] | ^^^ Nov 30 17:37:43.835 INFO [stderr] Nov 30 17:37:43.849 INFO [stderr] error: aborting due to previous error Nov 30 17:37:43.849 INFO [stderr] Nov 30 17:37:43.850 INFO [stderr] For more information about this error, try `rustc --explain E0593`. Nov 30 17:37:43.859 INFO [stderr] error: Could not compile `qrcli-rs`. Nov 30 17:37:43.859 INFO [stderr] Nov 30 17:37:43.859 INFO [stderr] To learn more, run the command again with --verbose. Nov 30 17:37:43.861 INFO [stderr] su: No module specific data is present Nov 30 17:37:45.489 INFO running `"docker" "inspect" "2c4f3de24d1eb52d8c2760eadfe60fc750d2d051bb3978aa7ce188c26d5fc7ec"` Nov 30 17:37:45.882 INFO running `"docker" "rm" "-f" "2c4f3de24d1eb52d8c2760eadfe60fc750d2d051bb3978aa7ce188c26d5fc7ec"` Nov 30 17:37:46.208 INFO [stdout] 2c4f3de24d1eb52d8c2760eadfe60fc750d2d051bb3978aa7ce188c26d5fc7ec