[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#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYuhta%2Fcsvsql" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Yuhta/csvsql on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-11/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-11/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hashbrown v0.9.1 [INFO] [stderr] Downloaded hashlink v0.6.0 [INFO] [stderr] Downloaded fallible-iterator v0.2.0 [INFO] [stderr] Downloaded pkg-config v0.3.19 [INFO] [stderr] Downloaded getopts v0.2.21 [INFO] [stderr] Downloaded unicode-width v0.1.8 [INFO] [stderr] Downloaded csv v1.1.6 [INFO] [stderr] Downloaded byteorder v1.4.3 [INFO] [stderr] Downloaded smallvec v1.6.1 [INFO] [stderr] Downloaded vcpkg v0.2.11 [INFO] [stderr] Downloaded ahash v0.4.7 [INFO] [stderr] Downloaded bstr v0.2.15 [INFO] [stderr] Downloaded rusqlite v0.24.2 [INFO] [stderr] Downloaded serde v1.0.124 [INFO] [stderr] Downloaded fallible-streaming-iterator v0.1.9 [INFO] [stderr] Downloaded libsqlite3-sys v0.20.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4e777bbd33f5bcffbe8cf772d3a288a188f6343b6fd7998c0de9b1181d657609 [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" "4e777bbd33f5bcffbe8cf772d3a288a188f6343b6fd7998c0de9b1181d657609", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4e777bbd33f5bcffbe8cf772d3a288a188f6343b6fd7998c0de9b1181d657609", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e777bbd33f5bcffbe8cf772d3a288a188f6343b6fd7998c0de9b1181d657609", kill_on_drop: false }` [INFO] [stdout] 4e777bbd33f5bcffbe8cf772d3a288a188f6343b6fd7998c0de9b1181d657609 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3dc41cbedc84143075ce06ca43eed8a3b55f818b7fcca3b1e3871893a2164f43 [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" "3dc41cbedc84143075ce06ca43eed8a3b55f818b7fcca3b1e3871893a2164f43", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking ahash v0.4.7 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking bstr v0.2.15 [INFO] [stderr] Compiling libsqlite3-sys v0.20.1 [INFO] [stderr] Checking hashlink v0.6.0 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking rusqlite v0.24.2 [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] 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: 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] 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] 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[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[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] [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] [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: could not compile `sqlcsv` [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] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "3dc41cbedc84143075ce06ca43eed8a3b55f818b7fcca3b1e3871893a2164f43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3dc41cbedc84143075ce06ca43eed8a3b55f818b7fcca3b1e3871893a2164f43", kill_on_drop: false }` [INFO] [stdout] 3dc41cbedc84143075ce06ca43eed8a3b55f818b7fcca3b1e3871893a2164f43