[INFO] cloning repository https://github.com/tembo-io/dyson [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tembo-io/dyson" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftembo-io%2Fdyson", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftembo-io%2Fdyson'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b2b9cd0b87bb506d6b84aba50999325bda92c826 [INFO] testing tembo-io/dyson against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftembo-io%2Fdyson" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tembo-io/dyson [INFO] finished tweaking git repo https://github.com/tembo-io/dyson [INFO] tweaked toml for git repo https://github.com/tembo-io/dyson written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tembo-io/dyson on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tembo-io/dyson 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quickcheck_macros v1.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0b0b137da9b8ee9e40c9e462b158fffd1cdd0d613501b0ed9a4133f7dbd6419d [INFO] running `Command { std: "docker" "start" "-a" "0b0b137da9b8ee9e40c9e462b158fffd1cdd0d613501b0ed9a4133f7dbd6419d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0b0b137da9b8ee9e40c9e462b158fffd1cdd0d613501b0ed9a4133f7dbd6419d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b0b137da9b8ee9e40c9e462b158fffd1cdd0d613501b0ed9a4133f7dbd6419d", kill_on_drop: false }` [INFO] [stdout] 0b0b137da9b8ee9e40c9e462b158fffd1cdd0d613501b0ed9a4133f7dbd6419d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a5fb3d294ce4001835595e71e3296f83e04d6d2a6bae889eae6cf23d7c8653f5 [INFO] running `Command { std: "docker" "start" "-a" "a5fb3d294ce4001835595e71e3296f83e04d6d2a6bae889eae6cf23d7c8653f5", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.183 [INFO] [stderr] Compiling serde_json v1.0.104 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling dyson v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.27s [INFO] running `Command { std: "docker" "inspect" "a5fb3d294ce4001835595e71e3296f83e04d6d2a6bae889eae6cf23d7c8653f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5fb3d294ce4001835595e71e3296f83e04d6d2a6bae889eae6cf23d7c8653f5", kill_on_drop: false }` [INFO] [stdout] a5fb3d294ce4001835595e71e3296f83e04d6d2a6bae889eae6cf23d7c8653f5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 89775c1ec766a628d643026b5689df713e9e83631c985c1eaa4d145e00fc71e7 [INFO] running `Command { std: "docker" "start" "-a" "89775c1ec766a628d643026b5689df713e9e83631c985c1eaa4d145e00fc71e7", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling regex-syntax v0.7.4 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling serde_derive v1.0.183 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling aho-corasick v1.0.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling regex-automata v0.3.6 [INFO] [stderr] Compiling quickcheck_macros v1.0.0 [INFO] [stderr] Compiling regex v1.9.3 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling quickcheck v1.0.3 [INFO] [stderr] Compiling dyson v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 12.75s [INFO] running `Command { std: "docker" "inspect" "89775c1ec766a628d643026b5689df713e9e83631c985c1eaa4d145e00fc71e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89775c1ec766a628d643026b5689df713e9e83631c985c1eaa4d145e00fc71e7", kill_on_drop: false }` [INFO] [stdout] 89775c1ec766a628d643026b5689df713e9e83631c985c1eaa4d145e00fc71e7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7d2e64b7eb7de9bea9eedc851976a1cc0cc4b418d8f8f45678c7666cefc7e313 [INFO] running `Command { std: "docker" "start" "-a" "7d2e64b7eb7de9bea9eedc851976a1cc0cc4b418d8f8f45678c7666cefc7e313", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/dyson-61096c42e9838015) [INFO] [stderr] Running tests/serializes_correctly.rs (/opt/rustwide/target/debug/deps/serializes_correctly-aaf72e74235a2c54) [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] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test serializes_correctly ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.95s [INFO] [stdout] [INFO] [stderr] Doc-tests dyson [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/lib.rs - (line 16) ... FAILED [INFO] [stdout] test src/lib.rs - (line 3) ... ok [INFO] [stdout] test src/lib.rs - Json (line 37) ... ok [INFO] [stdout] test src/lib.rs - JsonPretty (line 53) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 16) stdout ---- [INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `,` [INFO] [stdout] --> src/lib.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 7 | fn send_message(&str, &T) -> Result { [INFO] [stdout] | ^ expected one of `:`, `@`, or `|` [INFO] [stdout] | [INFO] [stdout] help: if this is a parameter name, give it a type [INFO] [stdout] | [INFO] [stdout] 7 - fn send_message(&str, &T) -> Result { [INFO] [stdout] 7 + fn send_message(str: &TypeName, &T) -> Result { [INFO] [stdout] | [INFO] [stdout] help: if this is a type, explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 7 | fn send_message(_: &str, &T) -> Result { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `)` [INFO] [stdout] --> src/lib.rs:20:28 [INFO] [stdout] | [INFO] [stdout] 7 | fn send_message(&str, &T) -> Result { [INFO] [stdout] | ^ expected one of `:`, `@`, or `|` [INFO] [stdout] | [INFO] [stdout] help: if this is a parameter name, give it a type [INFO] [stdout] | [INFO] [stdout] 7 - fn send_message(&str, &T) -> Result { [INFO] [stdout] 7 + fn send_message(&str, T: &TypeName) -> Result { [INFO] [stdout] | [INFO] [stdout] help: if this is a type, explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 7 | fn send_message(&str, _: &T) -> Result { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `send_message` is defined multiple times [INFO] [stdout] --> src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 7 | fn send_message(&str, &T) -> Result { [INFO] [stdout] | -------------------------------------- previous definition of the value `send_message` here [INFO] [stdout] ... [INFO] [stdout] 12 | fn send_message(message: &Message) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `send_message` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `send_message` must be defined only once in the value namespace of this block [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Message: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> src/lib.rs:26:54 [INFO] [stdout] | [INFO] [stdout] 13 | query("SELECT from send_message($1::jsonb)", Json(message)) [INFO] [stdout] | ---- ^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `serde::ser::Serialize` is not implemented for `Message` [INFO] [stdout] --> src/lib.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 5 | struct Message; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `serde::ser::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 130 others [INFO] [stdout] = note: required for `&Message` to implement `serde::ser::Serialize` [INFO] [stdout] note: required by a bound in `Json` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:49:20 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct Json(pub T); [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Json` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `query` in this scope [INFO] [stdout] --> src/lib.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 13 | query("SELECT from send_message($1::jsonb)", Json(message)) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Message: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> src/lib.rs:26:49 [INFO] [stdout] | [INFO] [stdout] 13 | query("SELECT from send_message($1::jsonb)", Json(message)) [INFO] [stdout] | ^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `serde::ser::Serialize` is not implemented for `Message` [INFO] [stdout] --> src/lib.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 5 | struct Message; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `serde::ser::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 130 others [INFO] [stdout] = note: required for `&Message` to implement `serde::ser::Serialize` [INFO] [stdout] note: required by a bound in `Json` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:49:20 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct Json(pub T); [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Json` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0428. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 16) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 3 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.49s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "7d2e64b7eb7de9bea9eedc851976a1cc0cc4b418d8f8f45678c7666cefc7e313", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d2e64b7eb7de9bea9eedc851976a1cc0cc4b418d8f8f45678c7666cefc7e313", kill_on_drop: false }` [INFO] [stdout] 7d2e64b7eb7de9bea9eedc851976a1cc0cc4b418d8f8f45678c7666cefc7e313