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