[INFO] fetching crate sorer 0.1.1... [INFO] testing sorer-0.1.1 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate sorer 0.1.1 into /workspace/builds/worker-3-tc1/source [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-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate sorer 0.1.1 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+caccb4d0368bd918ef6668af8e13834d07040417" "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 wasm-bindgen-shared v0.2.80 [INFO] [stderr] Downloaded deepsize v0.1.2 [INFO] [stderr] Downloaded serde_derive v1.0.137 [INFO] [stderr] Downloaded plotters-backend v0.3.2 [INFO] [stderr] Downloaded plotters-svg v0.3.1 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.80 [INFO] [stderr] Downloaded getrandom v0.2.6 [INFO] [stderr] Downloaded criterion-plot v0.4.4 [INFO] [stderr] Downloaded unicode-ident v1.0.0 [INFO] [stderr] Downloaded itoa v1.0.2 [INFO] [stderr] Downloaded ryu v1.0.10 [INFO] [stderr] Downloaded semver v1.0.9 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.80 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.80 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.8 [INFO] [stderr] Downloaded easy_reader v0.5.2 [INFO] [stderr] Downloaded js-sys v0.3.57 [INFO] [stderr] Downloaded bumpalo v3.10.0 [INFO] [stderr] Downloaded serde v1.0.137 [INFO] [stderr] Downloaded crossbeam-channel v0.5.4 [INFO] [stderr] Downloaded criterion v0.3.5 [INFO] [stderr] Downloaded serde_json v1.0.81 [INFO] [stderr] Downloaded wasm-bindgen v0.2.80 [INFO] [stderr] Downloaded web-sys v0.3.57 [INFO] [stderr] Downloaded plotters v0.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 153b214ba198d6d40988284c91d936673ec6285af16439b48011b2d15ae02a77 [INFO] running `Command { std: "docker" "start" "-a" "153b214ba198d6d40988284c91d936673ec6285af16439b48011b2d15ae02a77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "153b214ba198d6d40988284c91d936673ec6285af16439b48011b2d15ae02a77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "153b214ba198d6d40988284c91d936673ec6285af16439b48011b2d15ae02a77", kill_on_drop: false }` [INFO] [stdout] 153b214ba198d6d40988284c91d936673ec6285af16439b48011b2d15ae02a77 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b98bbfc7a70b46cad4d3631c3f59a1a042b793e0d1a9014863e2f68e3f049271 [INFO] running `Command { std: "docker" "start" "-a" "b98bbfc7a70b46cad4d3631c3f59a1a042b793e0d1a9014863e2f68e3f049271", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.96 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling easy_reader v0.5.2 [INFO] [stderr] Compiling deepsize_derive v0.1.2 [INFO] [stderr] Compiling deepsize v0.1.2 [INFO] [stderr] Compiling 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.72s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 6` [INFO] running `Command { std: "docker" "inspect" "b98bbfc7a70b46cad4d3631c3f59a1a042b793e0d1a9014863e2f68e3f049271", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b98bbfc7a70b46cad4d3631c3f59a1a042b793e0d1a9014863e2f68e3f049271", kill_on_drop: false }` [INFO] [stdout] b98bbfc7a70b46cad4d3631c3f59a1a042b793e0d1a9014863e2f68e3f049271 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de6e4c1a6824c0cafecd58bc4af0529b4cf014d03d5361ab2451ab168fccb079 [INFO] running `Command { std: "docker" "start" "-a" "de6e4c1a6824c0cafecd58bc4af0529b4cf014d03d5361ab2451ab168fccb079", kill_on_drop: false }` [INFO] [stderr] Compiling semver v1.0.9 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling plotters-backend v0.3.2 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling oorandom v11.1.3 [INFO] [stderr] Compiling textwrap v0.11.0 [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] [stderr] Compiling bytecount v0.6.3 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Compiling crossbeam-channel v0.5.4 [INFO] [stderr] Compiling plotters-svg v0.3.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling plotters v0.3.1 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Compiling criterion-plot v0.4.4 [INFO] [stderr] Compiling criterion v0.3.5 [INFO] [stderr] Compiling sorer v0.1.1 (/opt/rustwide/workdir) [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] 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)]` (part of `#[warn(rust_2021_compatibility)]`) 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 17.88s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.3.5, nom v5.1.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 7` [INFO] running `Command { std: "docker" "inspect" "de6e4c1a6824c0cafecd58bc4af0529b4cf014d03d5361ab2451ab168fccb079", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de6e4c1a6824c0cafecd58bc4af0529b4cf014d03d5361ab2451ab168fccb079", kill_on_drop: false }` [INFO] [stdout] de6e4c1a6824c0cafecd58bc4af0529b4cf014d03d5361ab2451ab168fccb079 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 87565ec16fa66a905b408dba982c764388bc5a57a4513dd86439cccee2a2d720 [INFO] running `Command { std: "docker" "start" "-a" "87565ec16fa66a905b408dba982c764388bc5a57a4513dd86439cccee2a2d720", kill_on_drop: false }` [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/dataframe.rs:167:43 [INFO] [stderr] | [INFO] [stderr] 167 | let f: File = File::open(file_path.clone()).unwrap(); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `sorer` (lib) generated 1 warning (run `cargo fix --lib -p sorer` to apply 1 suggestion) [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> examples/sorer.rs:135:39 [INFO] [stderr] | [INFO] [stderr] 135 | Some(a) => panic!(format!("File was already set to {}", a)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 135 - Some(a) => panic!(format!("File was already set to {}", a)), [INFO] [stderr] 135 + Some(a) => panic!("File was already set to {}", a), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> examples/sorer.rs:142:39 [INFO] [stderr] | [INFO] [stderr] 142 | Some(a) => panic!(format!("From was already set to {}", a)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 142 - Some(a) => panic!(format!("From was already set to {}", a)), [INFO] [stderr] 142 + Some(a) => panic!("From was already set to {}", a), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> examples/sorer.rs:149:39 [INFO] [stderr] | [INFO] [stderr] 149 | Some(a) => panic!(format!("Len was already set to {}", a)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 149 - Some(a) => panic!(format!("Len was already set to {}", a)), [INFO] [stderr] 149 + Some(a) => panic!("Len was already set to {}", a), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> examples/sorer.rs:160:32 [INFO] [stderr] | [INFO] [stderr] 160 | panic!(format!("Option was already set to {:?}", a)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 160 - panic!(format!("Option was already set to {:?}", a)) [INFO] [stderr] 160 + panic!("Option was already set to {:?}", a) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> examples/sorer.rs:174:32 [INFO] [stderr] | [INFO] [stderr] 174 | panic!(format!("Option was already set to {:?}", a)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 174 - panic!(format!("Option was already set to {:?}", a)) [INFO] [stderr] 174 + panic!("Option was already set to {:?}", a) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> examples/sorer.rs:188:32 [INFO] [stderr] | [INFO] [stderr] 188 | panic!(format!("Option was already set to {:?}", a)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 188 - panic!(format!("Option was already set to {:?}", a)) [INFO] [stderr] 188 + panic!("Option was already set to {:?}", a) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> examples/sorer.rs:198:32 [INFO] [stderr] | [INFO] [stderr] 198 | panic!(format!("Option was already set to {:?}", a)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 198 - panic!(format!("Option was already set to {:?}", a)) [INFO] [stderr] 198 + panic!("Option was already set to {:?}", a) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> tests/lib.rs:33:38 [INFO] [stderr] | [INFO] [stderr] 33 | let schema = infer_schema(t.0.clone()).unwrap(); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> tests/lib.rs:97:38 [INFO] [stderr] | [INFO] [stderr] 97 | let schema = infer_schema(t.0.clone()).unwrap(); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: `sorer` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] warning: `sorer` (example "sorer") generated 7 warnings (run `cargo fix --example "sorer"` to apply 7 suggestions) [INFO] [stderr] warning: `sorer` (test "lib") generated 2 warnings (run `cargo fix --test "lib"` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.75s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.3.5, nom v5.1.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 7` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/sorer-3d8e3b90a3589354) [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test dataframe::tests::test_read_file ... ok [INFO] [stdout] test parsers::tests::test_parse_field ... ok [INFO] [stdout] test dataframe::tests::test_sor_terator ... ok [INFO] [stdout] test parsers::tests::test_parse_float ... ok [INFO] [stdout] test parsers::tests::test_parse_int ... ok [INFO] [stdout] test parsers::tests::test_parse_line_with_schema_and_missing_fields ... ok [INFO] [stdout] test parsers::tests::test_parse_string ... ok [INFO] [stdout] test parsers::tests::test_parsing_bad_lines_with_schema ... ok [INFO] [stdout] test parsers::tests::test_parse_bool ... ok [INFO] [stdout] test parsers::tests::test_parse_line ... ok [INFO] [stdout] test parsers::tests::test_parse_line_with_schema ... ok [INFO] [stderr] Running unittests src/bin/generate.rs (/opt/rustwide/target/debug/deps/generate-b2ad6c95766af716) [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/lib.rs (/opt/rustwide/target/debug/deps/lib-b51690ebad2b6376) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test print_col_idx ... ignored [INFO] [stdout] test schema_inference ... ok [INFO] [stdout] test get_col_type ... ok [INFO] [stdout] test is_missing_idx ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] Doc-tests sorer [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/parsers.rs - parsers::parse_line (line 123) ... ok [INFO] [stdout] test src/parsers.rs - parsers::parse_line_with_schema (line 171) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.63s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "87565ec16fa66a905b408dba982c764388bc5a57a4513dd86439cccee2a2d720", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87565ec16fa66a905b408dba982c764388bc5a57a4513dd86439cccee2a2d720", kill_on_drop: false }` [INFO] [stdout] 87565ec16fa66a905b408dba982c764388bc5a57a4513dd86439cccee2a2d720