Dec 15 00:35:04.504 INFO testing qrcli-rs-0.2.0 against master#bd47d6825bf4090517549d33cfef10d3300b4a75 for pr-56550 Dec 15 00:35:04.504 INFO running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-56550/worker-4/master#bd47d6825bf4090517549d33cfef10d3300b4a75:/target:rw,Z" "-v" "/mnt/big/crater/work/local/test-source/worker-4/pr-56550/master#bd47d6825bf4090517549d33cfef10d3300b4a75:/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 +bd47d6825bf4090517549d33cfef10d3300b4a75-alt build --frozen" "-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 15 00:35:04.997 INFO [stdout] f1fa6495b8d930447f57fdf208cce27cab8da2434e74ce362284bcc0cbaaf7b5 Dec 15 00:35:04.999 INFO running `"docker" "start" "-a" "f1fa6495b8d930447f57fdf208cce27cab8da2434e74ce362284bcc0cbaaf7b5"` Dec 15 00:35:07.073 INFO [stderr] usermod: no changes Dec 15 00:35:07.116 INFO [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently Dec 15 00:35:07.116 INFO [stderr] disables Cargo from automatically inferring other binary targets. Dec 15 00:35:07.116 INFO [stderr] This inference behavior will change in the Rust 2018 edition and the following Dec 15 00:35:07.116 INFO [stderr] files will be included as a binary target: Dec 15 00:35:07.116 INFO [stderr] Dec 15 00:35:07.116 INFO [stderr] * /source/src/main.rs Dec 15 00:35:07.116 INFO [stderr] Dec 15 00:35:07.116 INFO [stderr] This is likely to break cargo build or cargo test as these files may not be Dec 15 00:35:07.116 INFO [stderr] ready to be compiled as a binary target today. You can future-proof yourself Dec 15 00:35:07.116 INFO [stderr] and disable this warning by adding `autobins = false` to your [package] Dec 15 00:35:07.116 INFO [stderr] section. You may also move the files to a location where Cargo would not Dec 15 00:35:07.116 INFO [stderr] automatically infer them to be a target, such as in subfolders. Dec 15 00:35:07.116 INFO [stderr] Dec 15 00:35:07.116 INFO [stderr] For more information on this warning you can consult Dec 15 00:35:07.116 INFO [stderr] https://github.com/rust-lang/cargo/issues/5330 Dec 15 00:35:07.116 INFO [stderr] warning: path `/source/src/main.rs` was erroneously implicitly accepted for binary `qrcli`, Dec 15 00:35:07.116 INFO [stderr] please set bin.path in Cargo.toml Dec 15 00:35:07.180 INFO [stderr] Compiling qrcodegen v1.4.0 Dec 15 00:35:08.710 INFO [stderr] Compiling qrcli-rs v0.2.0 (/source) Dec 15 00:35:09.564 INFO [stderr] error[E0593]: closure is expected to take 1 argument, but it takes 0 arguments Dec 15 00:35:09.564 INFO [stderr] --> src/main.rs:44:65 Dec 15 00:35:09.564 INFO [stderr] | Dec 15 00:35:09.564 INFO [stderr] 44 | let qr = QrCode::encode_text(&options.text, options.coding).unwrap_or_else(|| { Dec 15 00:35:09.564 INFO [stderr] | ^^^^^^^^^^^^^^ -- takes 0 arguments Dec 15 00:35:09.564 INFO [stderr] | | Dec 15 00:35:09.564 INFO [stderr] | expected closure that takes 1 argument Dec 15 00:35:09.564 INFO [stderr] help: consider changing the closure to take and ignore the expected argument Dec 15 00:35:09.564 INFO [stderr] | Dec 15 00:35:09.564 INFO [stderr] 44 | let qr = QrCode::encode_text(&options.text, options.coding).unwrap_or_else(|_| { Dec 15 00:35:09.564 INFO [stderr] | ^^^ Dec 15 00:35:09.564 INFO [stderr] Dec 15 00:35:09.571 INFO [stderr] error: aborting due to previous error Dec 15 00:35:09.571 INFO [stderr] Dec 15 00:35:09.571 INFO [stderr] For more information about this error, try `rustc --explain E0593`. Dec 15 00:35:09.579 INFO [stderr] error: Could not compile `qrcli-rs`. Dec 15 00:35:09.579 INFO [stderr] Dec 15 00:35:09.579 INFO [stderr] To learn more, run the command again with --verbose. Dec 15 00:35:09.580 INFO [stderr] su: No module specific data is present Dec 15 00:35:09.933 INFO running `"docker" "inspect" "f1fa6495b8d930447f57fdf208cce27cab8da2434e74ce362284bcc0cbaaf7b5"` Dec 15 00:35:10.076 INFO running `"docker" "rm" "-f" "f1fa6495b8d930447f57fdf208cce27cab8da2434e74ce362284bcc0cbaaf7b5"` Dec 15 00:35:10.284 INFO [stdout] f1fa6495b8d930447f57fdf208cce27cab8da2434e74ce362284bcc0cbaaf7b5