[INFO] cloning repository https://github.com/tobybot11/serving-db-content [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tobybot11/serving-db-content" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftobybot11%2Fserving-db-content", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftobybot11%2Fserving-db-content'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2f6ef409ec5f34ae17faa916f32b47e29813a8f4 [INFO] building tobybot11/serving-db-content/2f6ef409ec5f34ae17faa916f32b47e29813a8f4 against master#44f415c1d617ebc7b931a243b7b321ef8a6ca47c for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftobybot11%2Fserving-db-content" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tobybot11/serving-db-content on toolchain 44f415c1d617ebc7b931a243b7b321ef8a6ca47c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tobybot11/serving-db-content [INFO] finished tweaking git repo https://github.com/tobybot11/serving-db-content [INFO] tweaked toml for git repo https://github.com/tobybot11/serving-db-content written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/tobybot11/serving-db-content 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" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Updating git repository `https://github.com/tokio-rs/tokio-minihttp` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded r2d2_postgres v0.11.1 [INFO] [stderr] Downloaded postgres-shared v0.1.1 [INFO] [stderr] Downloaded r2d2 v0.7.4 [INFO] [stderr] Downloaded postgres v0.13.6 [INFO] [stderr] Downloaded postgres-protocol v0.2.2 [INFO] [stderr] Downloaded md5 v0.3.6 [INFO] [stderr] Downloaded scheduled-thread-pool v0.1.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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 944fa966d4128cf4892b109c774d2f84ded9acc54cc258d71622fdb9526dc614 [INFO] running `Command { std: "docker" "start" "-a" "944fa966d4128cf4892b109c774d2f84ded9acc54cc258d71622fdb9526dc614", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "944fa966d4128cf4892b109c774d2f84ded9acc54cc258d71622fdb9526dc614", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "944fa966d4128cf4892b109c774d2f84ded9acc54cc258d71622fdb9526dc614", kill_on_drop: false }` [INFO] [stdout] 944fa966d4128cf4892b109c774d2f84ded9acc54cc258d71622fdb9526dc614 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e94d739da1c7e51c4397ffdc0b02f321c547ee747b5f01dfb293bacd314e6de8 [INFO] running `Command { std: "docker" "start" "-a" "e94d739da1c7e51c4397ffdc0b02f321c547ee747b5f01dfb293bacd314e6de8", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.36 [INFO] [stderr] Compiling cfg-if v0.1.2 [INFO] [stderr] Compiling byteorder v1.2.1 [INFO] [stderr] Compiling futures v0.1.18 [INFO] [stderr] Compiling siphasher v0.2.2 [INFO] [stderr] Compiling fallible-iterator v0.1.4 [INFO] [stderr] Compiling md5 v0.3.6 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling lazycell v0.6.0 [INFO] [stderr] Compiling slab v0.3.0 [INFO] [stderr] Compiling antidote v1.0.0 [INFO] [stderr] Compiling hex v0.2.0 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling scoped-tls v0.1.0 [INFO] [stderr] Compiling slab v0.4.0 [INFO] [stderr] Compiling take v0.1.0 [INFO] [stderr] Compiling log v0.4.1 [INFO] [stderr] Compiling smallvec v0.2.1 [INFO] [stderr] Compiling bufstream v0.1.3 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling itoa v0.3.4 [INFO] [stderr] Compiling httparse v1.2.4 [INFO] [stderr] Compiling scheduled-thread-pool v0.1.0 [INFO] [stderr] Compiling serde v1.0.27 [INFO] [stderr] Compiling phf_shared v0.7.21 [INFO] [stderr] Compiling dtoa v0.4.2 [INFO] [stderr] Compiling num-traits v0.1.42 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling phf v0.7.21 [INFO] [stderr] Compiling r2d2 v0.7.4 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling net2 v0.2.31 [INFO] [stderr] Compiling rand v0.3.20 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling time v0.1.39 [INFO] [stderr] Compiling postgres-protocol v0.2.2 [INFO] [stderr] Compiling bytes v0.4.6 [INFO] [stderr] Compiling serde_derive_internals v0.19.0 [INFO] [stderr] Compiling mio v0.6.12 [INFO] [stderr] Compiling serde_derive v1.0.27 [INFO] [stderr] Compiling postgres-shared v0.1.1 [INFO] [stderr] Compiling postgres v0.13.6 [INFO] [stderr] Compiling tokio-io v0.1.4 [INFO] [stderr] Compiling tokio-service v0.1.0 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling tokio-core v0.1.12 [INFO] [stderr] Compiling r2d2_postgres v0.11.1 [INFO] [stderr] Compiling tokio-proto v0.1.1 [INFO] [stderr] Compiling tokio-minihttp v0.1.0 (https://github.com/tokio-rs/tokio-minihttp#c8afcc00) [INFO] [stderr] Compiling serde_json v1.0.9 [INFO] [stderr] Compiling serving-db-content v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:40:23 [INFO] [stdout] | [INFO] [stdout] 40 | type Future = Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 | type Future = Box>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Message` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Message` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.87s [INFO] running `Command { std: "docker" "inspect" "e94d739da1c7e51c4397ffdc0b02f321c547ee747b5f01dfb293bacd314e6de8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e94d739da1c7e51c4397ffdc0b02f321c547ee747b5f01dfb293bacd314e6de8", kill_on_drop: false }` [INFO] [stdout] e94d739da1c7e51c4397ffdc0b02f321c547ee747b5f01dfb293bacd314e6de8 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] df4248c4214504b5e30d69e67d231fecba6fccef1c05dbd7fb4883144804ee4a [INFO] running `Command { std: "docker" "start" "-a" "df4248c4214504b5e30d69e67d231fecba6fccef1c05dbd7fb4883144804ee4a", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling serving-db-content v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:40:23 [INFO] [stdout] | [INFO] [stdout] 40 | type Future = Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 | type Future = Box>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Message` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Message` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.39s [INFO] running `Command { std: "docker" "inspect" "df4248c4214504b5e30d69e67d231fecba6fccef1c05dbd7fb4883144804ee4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df4248c4214504b5e30d69e67d231fecba6fccef1c05dbd7fb4883144804ee4a", kill_on_drop: false }` [INFO] [stdout] df4248c4214504b5e30d69e67d231fecba6fccef1c05dbd7fb4883144804ee4a