[INFO] cloning repository https://github.com/nothking/rust_study [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nothking/rust_study" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnothking%2Frust_study", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnothking%2Frust_study'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e10c5361da7b1f7a8d37ab4615d1586d86d8682a [INFO] testing nothking/rust_study against master#b03b3a7ec92682be2917540b679478d41c95a30c for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnothking%2Frust_study" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/nothking/rust_study [INFO] finished tweaking git repo https://github.com/nothking/rust_study [INFO] tweaked toml for git repo https://github.com/nothking/rust_study written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/nothking/rust_study on toolchain b03b3a7ec92682be2917540b679478d41c95a30c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/nothking/rust_study 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" "+b03b3a7ec92682be2917540b679478d41c95a30c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded postgres v0.19.2 [INFO] [stderr] Downloaded md-5 v0.10.0 [INFO] [stderr] Downloaded sha2 v0.10.1 [INFO] [stderr] Downloaded hmac v0.12.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3a92bd284248c6c38df30fc91d4e8fd52faa999eb8a82ee7d0e341c2aec6b1f7 [INFO] running `Command { std: "docker" "start" "-a" "3a92bd284248c6c38df30fc91d4e8fd52faa999eb8a82ee7d0e341c2aec6b1f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3a92bd284248c6c38df30fc91d4e8fd52faa999eb8a82ee7d0e341c2aec6b1f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a92bd284248c6c38df30fc91d4e8fd52faa999eb8a82ee7d0e341c2aec6b1f7", kill_on_drop: false }` [INFO] [stdout] 3a92bd284248c6c38df30fc91d4e8fd52faa999eb8a82ee7d0e341c2aec6b1f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eaaaf7d984bf9361c746f3b2b9d69abd2efd0d7daf710503cd0e7439da0a7812 [INFO] running `Command { std: "docker" "start" "-a" "eaaaf7d984bf9361c746f3b2b9d69abd2efd0d7daf710503cd0e7439da0a7812", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.113 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling futures-sink v0.3.19 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling tinyvec v1.4.0 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling unicode-bidi v0.3.6 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling futures-io v0.3.19 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling block-buffer v0.10.0 [INFO] [stderr] Compiling crypto-common v0.1.1 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling siphasher v0.3.9 [INFO] [stderr] Compiling digest v0.10.1 [INFO] [stderr] Compiling hmac v0.12.0 [INFO] [stderr] Compiling sha2 v0.10.1 [INFO] [stderr] Compiling md-5 v0.10.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling tokio v1.15.0 [INFO] [stderr] Compiling socket2 v0.4.3 [INFO] [stderr] Compiling postgres-protocol v0.6.3 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling postgres-types v0.2.2 [INFO] [stderr] Compiling futures-macro v0.3.19 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling futures-executor v0.3.19 [INFO] [stderr] Compiling futures v0.3.19 [INFO] [stderr] Compiling tokio-postgres v0.7.5 [INFO] [stderr] Compiling postgres v0.19.2 [INFO] [stderr] Compiling rust_study v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `id`, `name`, and `data` are never read [INFO] [stdout] --> src/postgre_test.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | struct Person { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 6 | id : i32, [INFO] [stdout] | ^^ [INFO] [stdout] 7 | name:String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | data:Option> [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Person` 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] warning: function `insert_data` is never used [INFO] [stdout] --> src/postgre_test.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn insert_data(client:&mut Client) -> Result<(),Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | postgre_test::db_test(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 12 | let _ = postgre_test::db_test(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 47.86s [INFO] running `Command { std: "docker" "inspect" "eaaaf7d984bf9361c746f3b2b9d69abd2efd0d7daf710503cd0e7439da0a7812", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eaaaf7d984bf9361c746f3b2b9d69abd2efd0d7daf710503cd0e7439da0a7812", kill_on_drop: false }` [INFO] [stdout] eaaaf7d984bf9361c746f3b2b9d69abd2efd0d7daf710503cd0e7439da0a7812 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0baa95c5a8aabdf6a83861a36d2827211917e4f880092bc939b0571cfc6589bf [INFO] running `Command { std: "docker" "start" "-a" "0baa95c5a8aabdf6a83861a36d2827211917e4f880092bc939b0571cfc6589bf", kill_on_drop: false }` [INFO] [stderr] Compiling rust_study v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `id`, `name`, and `data` are never read [INFO] [stdout] --> src/postgre_test.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | struct Person { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 6 | id : i32, [INFO] [stdout] | ^^ [INFO] [stdout] 7 | name:String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | data:Option> [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Person` 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] warning: function `insert_data` is never used [INFO] [stdout] --> src/postgre_test.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn insert_data(client:&mut Client) -> Result<(),Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | postgre_test::db_test(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 12 | let _ = postgre_test::db_test(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.60s [INFO] running `Command { std: "docker" "inspect" "0baa95c5a8aabdf6a83861a36d2827211917e4f880092bc939b0571cfc6589bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0baa95c5a8aabdf6a83861a36d2827211917e4f880092bc939b0571cfc6589bf", kill_on_drop: false }` [INFO] [stdout] 0baa95c5a8aabdf6a83861a36d2827211917e4f880092bc939b0571cfc6589bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7583195c4152183f91b6691ac493498c4cf16ad8a99d2f0766cac3b42b660de3 [INFO] running `Command { std: "docker" "start" "-a" "7583195c4152183f91b6691ac493498c4cf16ad8a99d2f0766cac3b42b660de3", kill_on_drop: false }` [INFO] [stderr] warning: fields `id`, `name`, and `data` are never read [INFO] [stdout] [INFO] [stderr] --> src/postgre_test.rs:6:5 [INFO] [stdout] running 0 tests [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] 5 | struct Person { [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] | ------ fields in this struct [INFO] [stdout] [INFO] [stderr] 6 | id : i32, [INFO] [stderr] | ^^ [INFO] [stderr] 7 | name:String, [INFO] [stderr] | ^^^^ [INFO] [stderr] 8 | data:Option> [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Person` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `insert_data` is never used [INFO] [stderr] --> src/postgre_test.rs:43:4 [INFO] [stderr] | [INFO] [stderr] 43 | fn insert_data(client:&mut Client) -> Result<(),Error> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | postgre_test::db_test(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 12 | let _ = postgre_test::db_test(); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `rust_study` (bin "rust_study" test) generated 3 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_study-6709f3b27d67d35d) [INFO] running `Command { std: "docker" "inspect" "7583195c4152183f91b6691ac493498c4cf16ad8a99d2f0766cac3b42b660de3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7583195c4152183f91b6691ac493498c4cf16ad8a99d2f0766cac3b42b660de3", kill_on_drop: false }` [INFO] [stdout] 7583195c4152183f91b6691ac493498c4cf16ad8a99d2f0766cac3b42b660de3