[INFO] cloning repository https://github.com/ayourtch/pg2sqlite2pg [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ayourtch/pg2sqlite2pg" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fayourtch%2Fpg2sqlite2pg", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fayourtch%2Fpg2sqlite2pg'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 226c32572fb8a9d77652898c1340a7cc862a4875 [INFO] checking ayourtch/pg2sqlite2pg against try#024378d9203a4009ed73d6db2681b88a8d74ce7a for pr-112160 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fayourtch%2Fpg2sqlite2pg" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ayourtch/pg2sqlite2pg on toolchain 024378d9203a4009ed73d6db2681b88a8d74ce7a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ayourtch/pg2sqlite2pg [INFO] finished tweaking git repo https://github.com/ayourtch/pg2sqlite2pg [INFO] tweaked toml for git repo https://github.com/ayourtch/pg2sqlite2pg written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ayourtch/pg2sqlite2pg 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" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6ed266be7f2dfa1003d8bc8d0fae3cae1d1a0d3b968685ecb68d340cf86544bd [INFO] running `Command { std: "docker" "start" "-a" "6ed266be7f2dfa1003d8bc8d0fae3cae1d1a0d3b968685ecb68d340cf86544bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6ed266be7f2dfa1003d8bc8d0fae3cae1d1a0d3b968685ecb68d340cf86544bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ed266be7f2dfa1003d8bc8d0fae3cae1d1a0d3b968685ecb68d340cf86544bd", kill_on_drop: false }` [INFO] [stdout] 6ed266be7f2dfa1003d8bc8d0fae3cae1d1a0d3b968685ecb68d340cf86544bd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ff8ff5531c0024d428a45e6a7264ee903fdcb38de4a935a743726679566c632b [INFO] running `Command { std: "docker" "start" "-a" "ff8ff5531c0024d428a45e6a7264ee903fdcb38de4a935a743726679566c632b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.135 [INFO] [stderr] Compiling proc-macro2 v1.0.46 [INFO] [stderr] Compiling unicode-ident v1.0.5 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling syn v1.0.102 [INFO] [stderr] Compiling tokio v1.21.2 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Compiling futures-task v0.3.24 [INFO] [stderr] Checking sha2 v0.10.6 [INFO] [stderr] Checking md-5 v0.10.5 [INFO] [stderr] Checking tracing-core v0.1.30 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling futures-util v0.3.24 [INFO] [stderr] Checking siphasher v0.3.10 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Checking iana-time-zone v0.1.51 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking phf_shared v0.11.1 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Compiling jobserver v0.1.25 [INFO] [stderr] Checking num-integer v0.1.45 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking socket2 v0.4.7 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Compiling libsqlite3-sys v0.25.1 [INFO] [stderr] Checking chrono v0.4.22 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking ahash v0.7.6 [INFO] [stderr] Checking parking_lot_core v0.9.3 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking phf v0.11.1 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking postgres-protocol v0.6.4 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking hashlink v0.8.1 [INFO] [stderr] Checking time v0.3.15 [INFO] [stderr] Checking rust-ini v0.9.12 [INFO] [stderr] Compiling openssl-sys v0.9.76 [INFO] [stderr] Compiling libz-sys v1.1.8 [INFO] [stderr] Compiling libssh2-sys v0.2.23 [INFO] [stderr] Compiling libgit2-sys v0.14.0+1.5.0 [INFO] [stderr] Checking postgres-types v0.2.4 [INFO] [stderr] Checking rusqlite v0.28.0 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking argparse v0.2.2 [INFO] [stderr] Checking tokio-util v0.7.4 [INFO] [stderr] Compiling futures-macro v0.3.24 [INFO] [stderr] Compiling async-trait v0.1.57 [INFO] [stderr] Checking tokio-postgres v0.7.7 [INFO] [stderr] Checking git2 v0.15.0 [INFO] [stderr] Checking postgres v0.19.4 [INFO] [stderr] Checking pg2sqlite2pg v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `num` and `something` are never read [INFO] [stdout] --> src/bin/export-sqlite3-to-postgres.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 196 | struct ForeignKeyInfo { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 197 | num: i32, [INFO] [stdout] | ^^^ [INFO] [stdout] 198 | something: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ForeignKeyInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/bin/export-sqlite3-to-postgres.rs:72:16 [INFO] [stdout] | [INFO] [stdout] 72 | _ => dv.clone().to_string(), [INFO] [stdout] | ^^^^^^^^ unnecessary method 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: `#[deny(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pg2sqlite2pg` (bin "export-sqlite3-to-postgres" test) due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: fields `num` and `something` are never read [INFO] [stdout] --> src/bin/export-sqlite3-to-postgres.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 196 | struct ForeignKeyInfo { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 197 | num: i32, [INFO] [stdout] | ^^^ [INFO] [stdout] 198 | something: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ForeignKeyInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/bin/export-sqlite3-to-postgres.rs:72:16 [INFO] [stdout] | [INFO] [stdout] 72 | _ => dv.clone().to_string(), [INFO] [stdout] | ^^^^^^^^ unnecessary method 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: `#[deny(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pg2sqlite2pg` (bin "export-sqlite3-to-postgres") due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "ff8ff5531c0024d428a45e6a7264ee903fdcb38de4a935a743726679566c632b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff8ff5531c0024d428a45e6a7264ee903fdcb38de4a935a743726679566c632b", kill_on_drop: false }` [INFO] [stdout] ff8ff5531c0024d428a45e6a7264ee903fdcb38de4a935a743726679566c632b