[INFO] cloning repository https://github.com/Yuhta/csvsql [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Yuhta/csvsql" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYuhta%2Fcsvsql", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYuhta%2Fcsvsql'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b8fc803eb9d86042f17662f42fe07c7fa7d0c4ab [INFO] checking Yuhta/csvsql against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYuhta%2Fcsvsql" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Yuhta/csvsql on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Yuhta/csvsql [INFO] finished tweaking git repo https://github.com/Yuhta/csvsql [INFO] tweaked toml for git repo https://github.com/Yuhta/csvsql written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/Yuhta/csvsql already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-4/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hashlink v0.6.0 [INFO] [stderr] Downloaded rusqlite v0.24.1 [INFO] [stderr] Downloaded ahash v0.4.5 [INFO] [stderr] Downloaded libsqlite3-sys v0.20.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6fb88a792c797a65c315b6606aedfb5695d61d3eef8143c69fe7991dc630f489 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6fb88a792c797a65c315b6606aedfb5695d61d3eef8143c69fe7991dc630f489", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6fb88a792c797a65c315b6606aedfb5695d61d3eef8143c69fe7991dc630f489", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fb88a792c797a65c315b6606aedfb5695d61d3eef8143c69fe7991dc630f489", kill_on_drop: false }` [INFO] [stdout] 6fb88a792c797a65c315b6606aedfb5695d61d3eef8143c69fe7991dc630f489 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 58ddf07154de41bdd7cc7038c1c3204cd30d63dcbd3680b093825d3c9dbeda5f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "58ddf07154de41bdd7cc7038c1c3204cd30d63dcbd3680b093825d3c9dbeda5f", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking hashlink v0.6.0 [INFO] [stderr] Compiling libsqlite3-sys v0.20.1 [INFO] [stderr] Checking rusqlite v0.24.1 [INFO] [stderr] Checking bstr v0.2.13 [INFO] [stderr] Checking csv v1.1.3 [INFO] [stderr] Checking sqlcsv v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `rusqlite::SqliteConnection` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rusqlite::SqliteConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ no `SqliteConnection` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:26:52 [INFO] [stdout] | [INFO] [stdout] 26 | let row: Vec<_> = row.iter().map(|c| c as &ToSql).collect(); [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn ToSql` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rusqlite::SqliteConnection` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rusqlite::SqliteConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ no `SqliteConnection` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rusqlite::SqliteConnection` [INFO] [stdout] --> src/main.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | use rusqlite::SqliteConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ no `SqliteConnection` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:26:52 [INFO] [stdout] | [INFO] [stdout] 26 | let row: Vec<_> = row.iter().map(|c| c as &ToSql).collect(); [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn ToSql` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::slice::::connect`: renamed to join [INFO] [stdout] --> src/main.rs:17:59 [INFO] [stdout] | [INFO] [stdout] 17 | let sql = format!("CREATE TABLE {} ({})", table, hdrs.connect(", ")); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::slice::::connect`: renamed to join [INFO] [stdout] --> src/main.rs:17:59 [INFO] [stdout] | [INFO] [stdout] 17 | let sql = format!("CREATE TABLE {} ({})", table, hdrs.connect(", ")); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::slice::::connect`: renamed to join [INFO] [stdout] --> src/main.rs:22:67 [INFO] [stdout] | [INFO] [stdout] 22 | let sql = format!("INSERT INTO {} VALUES ({})", table, params.connect(", ")); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::slice::::connect`: renamed to join [INFO] [stdout] --> src/main.rs:22:67 [INFO] [stdout] | [INFO] [stdout] 22 | let sql = format!("INSERT INTO {} VALUES ({})", table, params.connect(", ")); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/main.rs:26:46 [INFO] [stdout] | [INFO] [stdout] 26 | let row: Vec<_> = row.iter().map(|c| c as &ToSql).collect(); [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: required for the cast to the object type `dyn ToSql` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for mutable reference `&mut Writer` in the current scope [INFO] [stdout] --> src/main.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | writer.encode(hdrs).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `&mut Writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for mutable reference `&mut Writer` in the current scope [INFO] [stdout] --> src/main.rs:47:16 [INFO] [stdout] | [INFO] [stdout] 47 | writer.encode(row).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `&mut Writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_file` found for struct `Reader<_>` in the current scope [INFO] [stdout] --> src/main.rs:83:36 [INFO] [stdout] | [INFO] [stdout] 83 | let reader = match Reader::from_file(tf[1]) { [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Reader<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/main.rs:26:46 [INFO] [stdout] | [INFO] [stdout] 26 | let row: Vec<_> = row.iter().map(|c| c as &ToSql).collect(); [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: required for the cast to the object type `dyn ToSql` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for mutable reference `&mut Writer` in the current scope [INFO] [stdout] --> src/main.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | writer.encode(hdrs).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `&mut Writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for mutable reference `&mut Writer` in the current scope [INFO] [stdout] --> src/main.rs:47:16 [INFO] [stdout] | [INFO] [stdout] 47 | writer.encode(row).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `&mut Writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sqlcsv` [INFO] [stdout] error[E0599]: no function or associated item named `from_file` found for struct `Reader<_>` in the current scope [INFO] [stdout] --> src/main.rs:83:36 [INFO] [stdout] | [INFO] [stdout] 83 | let reader = match Reader::from_file(tf[1]) { [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Reader<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] error[E0599]: no function or associated item named `from_string` found for struct `Reader<_>` in the current scope [INFO] [stdout] --> src/main.rs:101:27 [INFO] [stdout] | [INFO] [stdout] 101 | let rdr = Reader::from_string("A,B\n1,2\n3,4"); [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `Reader<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] error[E0599]: no function or associated item named `from_memory` found for struct `Writer<_>` in the current scope [INFO] [stdout] --> src/main.rs:116:31 [INFO] [stdout] | [INFO] [stdout] 116 | let mut wtr = Writer::from_memory(); [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `Writer<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `as_string` found for struct `Writer<_>` in the current scope [INFO] [stdout] --> src/main.rs:118:24 [INFO] [stdout] | [INFO] [stdout] 118 | assert_eq!(wtr.as_string(), "a,b\n1,foo\n2,bar\n"); [INFO] [stdout] | ^^^^^^^^^ method not found in `Writer<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "58ddf07154de41bdd7cc7038c1c3204cd30d63dcbd3680b093825d3c9dbeda5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58ddf07154de41bdd7cc7038c1c3204cd30d63dcbd3680b093825d3c9dbeda5f", kill_on_drop: false }` [INFO] [stdout] 58ddf07154de41bdd7cc7038c1c3204cd30d63dcbd3680b093825d3c9dbeda5f