[INFO] fetching crate sorer 0.1.1... [INFO] checking sorer-0.1.1 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate sorer 0.1.1 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate sorer 0.1.1 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate sorer 0.1.1 [INFO] finished tweaking crates.io crate sorer 0.1.1 [INFO] tweaked toml for crates.io crate sorer 0.1.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate crates.io crate sorer 0.1.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded deepsize_derive v0.1.2 [INFO] [stderr] Downloaded deepsize v0.1.2 [INFO] [stderr] Downloaded easy_reader v0.5.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e883c30f0ef866f8dcec875945974de27e17f2aba415bb50566b11e1eb83427d [INFO] running `Command { std: "docker" "start" "-a" "e883c30f0ef866f8dcec875945974de27e17f2aba415bb50566b11e1eb83427d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e883c30f0ef866f8dcec875945974de27e17f2aba415bb50566b11e1eb83427d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e883c30f0ef866f8dcec875945974de27e17f2aba415bb50566b11e1eb83427d", kill_on_drop: false }` [INFO] [stdout] e883c30f0ef866f8dcec875945974de27e17f2aba415bb50566b11e1eb83427d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3718c1d718e9540ae9c6ed227a0ee57d9895bfe1580916991e19a6273d598d7c [INFO] running `Command { std: "docker" "start" "-a" "3718c1d718e9540ae9c6ed227a0ee57d9895bfe1580916991e19a6273d598d7c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling syn v1.0.96 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling semver v1.0.9 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking crossbeam-channel v0.5.4 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Checking getrandom v0.2.6 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking plotters-backend v0.3.2 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking plotters-svg v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking num-traits v0.2.15 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking regex-syntax v0.6.26 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking easy_reader v0.5.2 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking plotters v0.3.1 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking bytecount v0.6.3 [INFO] [stderr] Checking regex v1.5.6 [INFO] [stderr] Checking criterion-plot v0.4.4 [INFO] [stderr] Compiling deepsize_derive v0.1.2 [INFO] [stderr] Checking deepsize v0.1.2 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking sorer v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/dataframe.rs:167:43 [INFO] [stdout] | [INFO] [stdout] 167 | let f: File = File::open(file_path.clone()).unwrap(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.3.5 [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> tests/lib.rs:33:38 [INFO] [stdout] | [INFO] [stdout] 33 | let schema = infer_schema(t.0.clone()).unwrap(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> tests/lib.rs:97:38 [INFO] [stdout] | [INFO] [stdout] 97 | let schema = infer_schema(t.0.clone()).unwrap(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/parser.rs:34:69 [INFO] [stdout] | [INFO] [stdout] 34 | b.iter(|| parsers::parse_line_with_schema(black_box(&line), &schema)) [INFO] [stdout] | ------------------------------- ^^^^^^^ expected `&[DataType]`, found `&Result, Error>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[DataType]` [INFO] [stdout] found reference `&Result, std::io::Error>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/parsers.rs:192:8 [INFO] [stdout] | [INFO] [stdout] 192 | pub fn parse_line_with_schema( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/parser.rs:40:69 [INFO] [stdout] | [INFO] [stdout] 40 | b.iter(|| parsers::parse_line_with_schema(black_box(&line), &schema)) [INFO] [stdout] | ------------------------------- ^^^^^^^ expected `&[DataType]`, found `&Result, Error>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[DataType]` [INFO] [stdout] found reference `&Result, std::io::Error>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/parsers.rs:192:8 [INFO] [stdout] | [INFO] [stdout] 192 | pub fn parse_line_with_schema( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/parser.rs:46:69 [INFO] [stdout] | [INFO] [stdout] 46 | b.iter(|| parsers::parse_line_with_schema(black_box(&line), &schema)) [INFO] [stdout] | ------------------------------- ^^^^^^^ expected `&[DataType]`, found `&Result, Error>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[DataType]` [INFO] [stdout] found reference `&Result, std::io::Error>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/parsers.rs:192:8 [INFO] [stdout] | [INFO] [stdout] 192 | pub fn parse_line_with_schema( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> examples/sorer.rs:135:39 [INFO] [stdout] | [INFO] [stdout] 135 | Some(a) => panic!(format!("File was already set to {}", a)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 135 - Some(a) => panic!(format!("File was already set to {}", a)), [INFO] [stdout] 135 + Some(a) => panic!("File was already set to {}", a), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> examples/sorer.rs:142:39 [INFO] [stdout] | [INFO] [stdout] 142 | Some(a) => panic!(format!("From was already set to {}", a)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 142 - Some(a) => panic!(format!("From was already set to {}", a)), [INFO] [stdout] 142 + Some(a) => panic!("From was already set to {}", a), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> examples/sorer.rs:149:39 [INFO] [stdout] | [INFO] [stdout] 149 | Some(a) => panic!(format!("Len was already set to {}", a)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 149 - Some(a) => panic!(format!("Len was already set to {}", a)), [INFO] [stdout] 149 + Some(a) => panic!("Len was already set to {}", a), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> examples/sorer.rs:160:32 [INFO] [stdout] | [INFO] [stdout] 160 | panic!(format!("Option was already set to {:?}", a)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 160 - panic!(format!("Option was already set to {:?}", a)) [INFO] [stdout] 160 + panic!("Option was already set to {:?}", a) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> examples/sorer.rs:174:32 [INFO] [stdout] | [INFO] [stdout] 174 | panic!(format!("Option was already set to {:?}", a)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 174 - panic!(format!("Option was already set to {:?}", a)) [INFO] [stdout] 174 + panic!("Option was already set to {:?}", a) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> examples/sorer.rs:188:32 [INFO] [stdout] | [INFO] [stdout] 188 | panic!(format!("Option was already set to {:?}", a)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 188 - panic!(format!("Option was already set to {:?}", a)) [INFO] [stdout] 188 + panic!("Option was already set to {:?}", a) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> examples/sorer.rs:198:32 [INFO] [stdout] | [INFO] [stdout] 198 | panic!(format!("Option was already set to {:?}", a)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 198 - panic!(format!("Option was already set to {:?}", a)) [INFO] [stdout] 198 + panic!("Option was already set to {:?}", a) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/dataframe.rs:167:43 [INFO] [stdout] | [INFO] [stdout] 167 | let f: File = File::open(file_path.clone()).unwrap(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sorer` (bench "parser") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3718c1d718e9540ae9c6ed227a0ee57d9895bfe1580916991e19a6273d598d7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3718c1d718e9540ae9c6ed227a0ee57d9895bfe1580916991e19a6273d598d7c", kill_on_drop: false }` [INFO] [stdout] 3718c1d718e9540ae9c6ed227a0ee57d9895bfe1580916991e19a6273d598d7c