[INFO] cloning repository https://github.com/Jovons/diesel_demo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Jovons/diesel_demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJovons%2Fdiesel_demo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJovons%2Fdiesel_demo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1088b3ae1ae521debdd1bfe93870a5b0e63e34df [INFO] checking Jovons/diesel_demo against master#836c31742687ba4e2f857b5b698e1e9e6b67619c for pr-81789 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJovons%2Fdiesel_demo" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Jovons/diesel_demo on toolchain 836c31742687ba4e2f857b5b698e1e9e6b67619c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Jovons/diesel_demo [INFO] finished tweaking git repo https://github.com/Jovons/diesel_demo [INFO] tweaked toml for git repo https://github.com/Jovons/diesel_demo written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/Jovons/diesel_demo already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1f4423c3fdcbc1b4198f883908be9969b7f88b13e6338e1eca4184702e63063a [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" "1f4423c3fdcbc1b4198f883908be9969b7f88b13e6338e1eca4184702e63063a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1f4423c3fdcbc1b4198f883908be9969b7f88b13e6338e1eca4184702e63063a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f4423c3fdcbc1b4198f883908be9969b7f88b13e6338e1eca4184702e63063a", kill_on_drop: false }` [INFO] [stdout] 1f4423c3fdcbc1b4198f883908be9969b7f88b13e6338e1eca4184702e63063a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5b7ed789ada189658ab71b19fb84ac3096d75eee0ac868fa9a0c899dc473181d [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" "5b7ed789ada189658ab71b19fb84ac3096d75eee0ac868fa9a0c899dc473181d", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.92 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.68 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Compiling mysqlclient-sys v0.2.4 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking bigdecimal v0.1.2 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Checking diesel v1.4.6 [INFO] [stderr] Checking diesel_demo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function is never used: `connection_without_transaction` [INFO] [stdout] --> tests/testschema.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn connection_without_transaction() -> TestConnection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `TestConnection` [INFO] [stdout] --> tests/testschema.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub type TestConnection = MysqlConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `connection` [INFO] [stdout] --> tests/testschema.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn connection() -> TestConnection { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/bin/write_post.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | let title = title.trim_right(); // Remove the trailing newline [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/bin/write_post.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | let title = title.trim_right(); // Remove the trailing newline [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `MyEnum: diesel::Expression` is not satisfied [INFO] [stdout] --> tests/custom_types.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | #[derive(Insertable, Queryable, Identifiable, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^ the trait `diesel::Expression` is not implemented for `MyEnum` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `diesel::expression::AsExpression` for `MyEnum` [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `MyEnum: diesel::Expression` is not satisfied [INFO] [stdout] --> tests/custom_types.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | #[derive(Insertable, Queryable, Identifiable, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^ the trait `diesel::Expression` is not implemented for `MyEnum` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `diesel::Expression` for `&'insert MyEnum` [INFO] [stdout] = note: required because of the requirements on the impl of `diesel::expression::AsExpression` for `&'insert MyEnum` [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `MyEnum: diesel::Expression` is not satisfied [INFO] [stdout] --> tests/custom_types.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | #[derive(Insertable, Queryable, Identifiable, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^ the trait `diesel::Expression` is not implemented for `MyEnum` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `diesel::Expression` for `&MyEnum` [INFO] [stdout] = note: required because of the requirements on the impl of `diesel::expression::AsExpression` for `&MyEnum` [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `diesel_demo` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "5b7ed789ada189658ab71b19fb84ac3096d75eee0ac868fa9a0c899dc473181d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b7ed789ada189658ab71b19fb84ac3096d75eee0ac868fa9a0c899dc473181d", kill_on_drop: false }` [INFO] [stdout] 5b7ed789ada189658ab71b19fb84ac3096d75eee0ac868fa9a0c899dc473181d