Dec 18 12:40:42.760 INFO checking qrcli-rs-0.2.0 against master#96d1334e567237b1507cd277938e7ae2de75ff51 for pr-54252 Dec 18 12:40:42.761 INFO running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-54252/worker-7/master#96d1334e567237b1507cd277938e7ae2de75ff51:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-54252/sources/master#96d1334e567237b1507cd277938e7ae2de75ff51/reg/qrcli-rs/0.2.0:/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" "+96d1334e567237b1507cd277938e7ae2de75ff51-alt" "check" "--frozen" "--all" "--all-targets"` Dec 18 12:40:42.980 INFO [stdout] 124fa26aee52600a778c04386591dbc3b138b8b1dd272cd159eb64ab47df2381 Dec 18 12:40:42.986 INFO running `"docker" "start" "-a" "124fa26aee52600a778c04386591dbc3b138b8b1dd272cd159eb64ab47df2381"` Dec 18 12:40:44.451 INFO [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently Dec 18 12:40:44.451 INFO [stderr] disables Cargo from automatically inferring other binary targets. Dec 18 12:40:44.451 INFO [stderr] This inference behavior will change in the Rust 2018 edition and the following Dec 18 12:40:44.451 INFO [stderr] files will be included as a binary target: Dec 18 12:40:44.451 INFO [stderr] Dec 18 12:40:44.451 INFO [stderr] * /opt/crater/workdir/src/main.rs Dec 18 12:40:44.451 INFO [stderr] Dec 18 12:40:44.451 INFO [stderr] This is likely to break cargo build or cargo test as these files may not be Dec 18 12:40:44.451 INFO [stderr] ready to be compiled as a binary target today. You can future-proof yourself Dec 18 12:40:44.451 INFO [stderr] and disable this warning by adding `autobins = false` to your [package] Dec 18 12:40:44.451 INFO [stderr] section. You may also move the files to a location where Cargo would not Dec 18 12:40:44.451 INFO [stderr] automatically infer them to be a target, such as in subfolders. Dec 18 12:40:44.451 INFO [stderr] Dec 18 12:40:44.451 INFO [stderr] For more information on this warning you can consult Dec 18 12:40:44.451 INFO [stderr] https://github.com/rust-lang/cargo/issues/5330 Dec 18 12:40:44.451 INFO [stderr] warning: path `/opt/crater/workdir/src/main.rs` was erroneously implicitly accepted for binary `qrcli`, Dec 18 12:40:44.451 INFO [stderr] please set bin.path in Cargo.toml Dec 18 12:40:44.530 INFO [stderr] Checking qrcli-rs v0.2.0 (/opt/crater/workdir) Dec 18 12:40:45.024 INFO [stderr] error[E0593]: closure is expected to take 1 argument, but it takes 0 arguments Dec 18 12:40:45.024 INFO [stderr] --> src/main.rs:44:65 Dec 18 12:40:45.024 INFO [stderr] | Dec 18 12:40:45.024 INFO [stderr] 44 | let qr = QrCode::encode_text(&options.text, options.coding).unwrap_or_else(|| { Dec 18 12:40:45.024 INFO [stderr] | ^^^^^^^^^^^^^^ -- takes 0 arguments Dec 18 12:40:45.024 INFO [stderr] | | Dec 18 12:40:45.024 INFO [stderr] | expected closure that takes 1 argument Dec 18 12:40:45.024 INFO [stderr] help: consider changing the closure to take and ignore the expected argument Dec 18 12:40:45.024 INFO [stderr] | Dec 18 12:40:45.024 INFO [stderr] 44 | let qr = QrCode::encode_text(&options.text, options.coding).unwrap_or_else(|_| { Dec 18 12:40:45.024 INFO [stderr] | ^^^ Dec 18 12:40:45.024 INFO [stderr] Dec 18 12:40:45.033 INFO [stderr] error: aborting due to previous error Dec 18 12:40:45.033 INFO [stderr] Dec 18 12:40:45.033 INFO [stderr] For more information about this error, try `rustc --explain E0593`. Dec 18 12:40:45.042 INFO [stderr] error: Could not compile `qrcli-rs`. Dec 18 12:40:45.042 INFO [stderr] warning: build failed, waiting for other jobs to finish... Dec 18 12:40:45.124 INFO [stderr] error[E0593]: closure is expected to take 1 argument, but it takes 0 arguments Dec 18 12:40:45.124 INFO [stderr] --> src/main.rs:44:65 Dec 18 12:40:45.124 INFO [stderr] | Dec 18 12:40:45.124 INFO [stderr] 44 | let qr = QrCode::encode_text(&options.text, options.coding).unwrap_or_else(|| { Dec 18 12:40:45.124 INFO [stderr] | ^^^^^^^^^^^^^^ -- takes 0 arguments Dec 18 12:40:45.124 INFO [stderr] | | Dec 18 12:40:45.124 INFO [stderr] | expected closure that takes 1 argument Dec 18 12:40:45.124 INFO [stderr] help: consider changing the closure to take and ignore the expected argument Dec 18 12:40:45.124 INFO [stderr] | Dec 18 12:40:45.124 INFO [stderr] 44 | let qr = QrCode::encode_text(&options.text, options.coding).unwrap_or_else(|_| { Dec 18 12:40:45.124 INFO [stderr] | ^^^ Dec 18 12:40:45.124 INFO [stderr] Dec 18 12:40:45.132 INFO [stderr] error: aborting due to previous error Dec 18 12:40:45.132 INFO [stderr] Dec 18 12:40:45.132 INFO [stderr] For more information about this error, try `rustc --explain E0593`. Dec 18 12:40:45.145 INFO [stderr] error: Could not compile `qrcli-rs`. Dec 18 12:40:45.145 INFO [stderr] Dec 18 12:40:45.145 INFO [stderr] To learn more, run the command again with --verbose. Dec 18 12:40:45.802 INFO running `"docker" "inspect" "124fa26aee52600a778c04386591dbc3b138b8b1dd272cd159eb64ab47df2381"` Dec 18 12:40:45.960 INFO running `"docker" "rm" "-f" "124fa26aee52600a778c04386591dbc3b138b8b1dd272cd159eb64ab47df2381"` Dec 18 12:40:46.128 INFO [stdout] 124fa26aee52600a778c04386591dbc3b138b8b1dd272cd159eb64ab47df2381