[INFO] fetching crate photon 0.0.1... [INFO] testing photon-0.0.1 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate photon 0.0.1 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate photon 0.0.1 [INFO] finished tweaking crates.io crate photon 0.0.1 [INFO] tweaked toml for crates.io crate photon 0.0.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate photon 0.0.1 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6de3f879f1a9219b4c820e23841840b244009af537dfe163d86e0d556214b6de [INFO] running `Command { std: "docker" "start" "-a" "6de3f879f1a9219b4c820e23841840b244009af537dfe163d86e0d556214b6de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6de3f879f1a9219b4c820e23841840b244009af537dfe163d86e0d556214b6de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6de3f879f1a9219b4c820e23841840b244009af537dfe163d86e0d556214b6de", kill_on_drop: false }` [INFO] [stdout] 6de3f879f1a9219b4c820e23841840b244009af537dfe163d86e0d556214b6de [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5098c4c99b15c1e3f69be51be987c20699c64939f1d1e097496fc08633085aa9 [INFO] running `Command { std: "docker" "start" "-a" "5098c4c99b15c1e3f69be51be987c20699c64939f1d1e097496fc08633085aa9", kill_on_drop: false }` [INFO] [stderr] Compiling photon v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/lib.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 5 | async fn started(&mut self, cx: &mut Self::Context) -> Result<(), Self::Error>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 5 - async fn started(&mut self, cx: &mut Self::Context) -> Result<(), Self::Error>; [INFO] [stdout] 5 + fn started(&mut self, cx: &mut Self::Context) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/lib.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | async fn stopping(&mut self, cx: &mut Self::Context) -> Result<(), Self::Error>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 6 - async fn stopping(&mut self, cx: &mut Self::Context) -> Result<(), Self::Error>; [INFO] [stdout] 6 + fn stopping(&mut self, cx: &mut Self::Context) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/lib.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | async fn handle(&mut self, message: M, cx: &mut Self::Context) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 12 - async fn handle(&mut self, message: M, cx: &mut Self::Context) -> Result; [INFO] [stdout] 12 + fn handle(&mut self, message: M, cx: &mut Self::Context) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5098c4c99b15c1e3f69be51be987c20699c64939f1d1e097496fc08633085aa9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5098c4c99b15c1e3f69be51be987c20699c64939f1d1e097496fc08633085aa9", kill_on_drop: false }` [INFO] [stdout] 5098c4c99b15c1e3f69be51be987c20699c64939f1d1e097496fc08633085aa9 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 385fb5ed1dbae74364732dc0bb6bdaf61af3f0d396915a7db1590daeb75f0313 [INFO] running `Command { std: "docker" "start" "-a" "385fb5ed1dbae74364732dc0bb6bdaf61af3f0d396915a7db1590daeb75f0313", kill_on_drop: false }` [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/lib.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 5 | async fn started(&mut self, cx: &mut Self::Context) -> Result<(), Self::Error>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 5 - async fn started(&mut self, cx: &mut Self::Context) -> Result<(), Self::Error>; [INFO] [stdout] 5 + fn started(&mut self, cx: &mut Self::Context) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling photon v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/lib.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | async fn stopping(&mut self, cx: &mut Self::Context) -> Result<(), Self::Error>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 6 - async fn stopping(&mut self, cx: &mut Self::Context) -> Result<(), Self::Error>; [INFO] [stdout] 6 + fn stopping(&mut self, cx: &mut Self::Context) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/lib.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | async fn handle(&mut self, message: M, cx: &mut Self::Context) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 12 - async fn handle(&mut self, message: M, cx: &mut Self::Context) -> Result; [INFO] [stdout] 12 + fn handle(&mut self, message: M, cx: &mut Self::Context) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/lib.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 5 | async fn started(&mut self, cx: &mut Self::Context) -> Result<(), Self::Error>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 5 - async fn started(&mut self, cx: &mut Self::Context) -> Result<(), Self::Error>; [INFO] [stdout] 5 + fn started(&mut self, cx: &mut Self::Context) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/lib.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | async fn stopping(&mut self, cx: &mut Self::Context) -> Result<(), Self::Error>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 6 - async fn stopping(&mut self, cx: &mut Self::Context) -> Result<(), Self::Error>; [INFO] [stdout] 6 + fn stopping(&mut self, cx: &mut Self::Context) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/lib.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | async fn handle(&mut self, message: M, cx: &mut Self::Context) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 12 - async fn handle(&mut self, message: M, cx: &mut Self::Context) -> Result; [INFO] [stdout] 12 + fn handle(&mut self, message: M, cx: &mut Self::Context) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.33s [INFO] running `Command { std: "docker" "inspect" "385fb5ed1dbae74364732dc0bb6bdaf61af3f0d396915a7db1590daeb75f0313", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "385fb5ed1dbae74364732dc0bb6bdaf61af3f0d396915a7db1590daeb75f0313", kill_on_drop: false }` [INFO] [stdout] 385fb5ed1dbae74364732dc0bb6bdaf61af3f0d396915a7db1590daeb75f0313 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1c3915a86a9783ab31bd630f30711c654ca34d408c4625ea0d422d8b39094495 [INFO] running `Command { std: "docker" "start" "-a" "1c3915a86a9783ab31bd630f30711c654ca34d408c4625ea0d422d8b39094495", kill_on_drop: false }` [INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] [INFO] [stderr] --> src/lib.rs:5:3 [INFO] [stdout] running 0 tests [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] 5 | async fn started(&mut self, cx: &mut Self::Context) -> Result<(), Self::Error>; [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] | ^^^^^ [INFO] [stdout] [INFO] [stderr] | [INFO] [stderr] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stderr] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stderr] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stderr] | [INFO] [stderr] 5 - async fn started(&mut self, cx: &mut Self::Context) -> Result<(), Self::Error>; [INFO] [stderr] 5 + fn started(&mut self, cx: &mut Self::Context) -> impl std::future::Future> + Send; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stderr] --> src/lib.rs:6:3 [INFO] [stderr] | [INFO] [stderr] 6 | async fn stopping(&mut self, cx: &mut Self::Context) -> Result<(), Self::Error>; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stderr] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stderr] | [INFO] [stderr] 6 - async fn stopping(&mut self, cx: &mut Self::Context) -> Result<(), Self::Error>; [INFO] [stderr] 6 + fn stopping(&mut self, cx: &mut Self::Context) -> impl std::future::Future> + Send; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stderr] --> src/lib.rs:12:3 [INFO] [stderr] | [INFO] [stderr] 12 | async fn handle(&mut self, message: M, cx: &mut Self::Context) -> Result; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stderr] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stderr] | [INFO] [stderr] 12 - async fn handle(&mut self, message: M, cx: &mut Self::Context) -> Result; [INFO] [stderr] 12 + fn handle(&mut self, message: M, cx: &mut Self::Context) -> impl std::future::Future> + Send; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `photon` (lib) generated 3 warnings [INFO] [stderr] warning: `photon` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/photon-5e993375895f43f4) [INFO] [stderr] Doc-tests photon [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] running `Command { std: "docker" "inspect" "1c3915a86a9783ab31bd630f30711c654ca34d408c4625ea0d422d8b39094495", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c3915a86a9783ab31bd630f30711c654ca34d408c4625ea0d422d8b39094495", kill_on_drop: false }` [INFO] [stdout] 1c3915a86a9783ab31bd630f30711c654ca34d408c4625ea0d422d8b39094495