[INFO] cloning repository https://github.com/DefectingCat/rs-playground [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DefectingCat/rs-playground" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDefectingCat%2Frs-playground", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDefectingCat%2Frs-playground'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f1064a7360526288b73f5af94740c77f72ea82dc [INFO] checking DefectingCat/rs-playground against try#22cc29ba5b459fb386c0406b9baf3a49eb0fba39 for pr-146095 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDefectingCat%2Frs-playground" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/DefectingCat/rs-playground [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/DefectingCat/rs-playground [INFO] tweaked toml for git repo https://github.com/DefectingCat/rs-playground written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/DefectingCat/rs-playground on toolchain 22cc29ba5b459fb386c0406b9baf3a49eb0fba39 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+22cc29ba5b459fb386c0406b9baf3a49eb0fba39" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/DefectingCat/rs-playground 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" "+22cc29ba5b459fb386c0406b9baf3a49eb0fba39" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cron v0.12.1 [INFO] [stderr] Downloaded half v2.4.0 [INFO] [stderr] Downloaded exr v1.72.0 [INFO] [stderr] Downloaded tokio-cron-scheduler v0.11.0 [INFO] [stderr] Downloaded syn v2.0.55 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+22cc29ba5b459fb386c0406b9baf3a49eb0fba39" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b13d309f45f446926cf4e6f1703654ab2993e8c8c8f48b3397a52580e5b128a7 [INFO] running `Command { std: "docker" "start" "-a" "b13d309f45f446926cf4e6f1703654ab2993e8c8c8f48b3397a52580e5b128a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b13d309f45f446926cf4e6f1703654ab2993e8c8c8f48b3397a52580e5b128a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b13d309f45f446926cf4e6f1703654ab2993e8c8c8f48b3397a52580e5b128a7", kill_on_drop: false }` [INFO] [stdout] b13d309f45f446926cf4e6f1703654ab2993e8c8c8f48b3397a52580e5b128a7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+22cc29ba5b459fb386c0406b9baf3a49eb0fba39" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 25eca4181c6cda595e2a71f3605305e8d9c5432ea4a767c3cf53d2a52c35a5f4 [INFO] running `Command { std: "docker" "start" "-a" "25eca4181c6cda595e2a71f3605305e8d9c5432ea4a767c3cf53d2a52c35a5f4", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.55 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Compiling serde v1.0.208 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling tokio-cron-scheduler v0.11.0 [INFO] [stderr] Checking rustls-pki-types v1.8.0 [INFO] [stderr] Compiling serde_json v1.0.125 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rustls-pemfile v2.1.3 [INFO] [stderr] Checking uuid v1.8.0 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Checking half v2.4.0 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking bytemuck v1.15.0 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking wake-tree v0.1.0 (/opt/rustwide/workdir/wake-tree) [INFO] [stderr] Checking gif v0.13.1 [INFO] [stderr] Checking unsafe-tree v0.1.0 (/opt/rustwide/workdir/unsafe-tree) [INFO] [stdout] warning: fields `value` and `chilren` are never read [INFO] [stdout] --> wake-tree/src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | struct Node { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 8 | value: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | parent: RefCell>, [INFO] [stdout] 10 | chilren: RefCell>>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `value` and `chilren` are never read [INFO] [stdout] --> wake-tree/src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | struct Node { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 8 | value: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | parent: RefCell>, [INFO] [stdout] 10 | chilren: RefCell>>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling openssl-sys v0.9.101 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking exr v1.72.0 [INFO] [stderr] Checking chrono v0.4.37 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.5 [INFO] [stderr] Checking num-iter v0.1.44 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking cron v0.12.1 [INFO] [stderr] Checking num v0.4.1 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling serde_derive v1.0.208 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking tokio v1.39.3 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking mandelbrot v0.1.0 (/opt/rustwide/workdir/mandelbrot) [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking timed-future v0.1.0 (/opt/rustwide/workdir/timed-future) [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> timed-future/src/lib.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> timed-future/src/lib.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | let mut inner_poll = std::pin::pin!(self.future).as_mut().poll(cx); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow data in dereference of `Pin<&mut TimedFuture>` as mutable [INFO] [stdout] --> timed-future/src/lib.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | let start = self.start.get_or_insert(Instant::now()); [INFO] [stdout] | ^^^^^^^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `Pin<&mut TimedFuture>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of dereference of `Pin<&mut TimedFuture>` [INFO] [stdout] --> timed-future/src/lib.rs:19:45 [INFO] [stdout] | [INFO] [stdout] 19 | let mut inner_poll = std::pin::pin!(self.future).as_mut().poll(cx); [INFO] [stdout] | ^^^^^^^^^^^ move occurs because value has type `Fut`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: if `Fut` implemented `Clone`, you could clone the value [INFO] [stdout] --> timed-future/src/lib.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 11 | impl Future for TimedFuture { [INFO] [stdout] | ^^^ consider constraining this type parameter with `Clone` [INFO] [stdout] ... [INFO] [stdout] 19 | let mut inner_poll = std::pin::pin!(self.future).as_mut().poll(cx); [INFO] [stdout] | ----------- you could clone this value [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 19 | let mut inner_poll = std::pin::pin!(&self.future).as_mut().poll(cx); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> timed-future/src/lib.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | let start = self.start.get_or_insert(Instant::now()); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `elapsed` [INFO] [stdout] --> timed-future/src/lib.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let elapsed = self.start.unwrap().elapsed(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_elapsed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `add` in this scope [INFO] [stdout] --> timed-future/src/lib.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 35 | let result = add(2, 2); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: use the `.` operator to call the method `Add::add` on `{integer}` [INFO] [stdout] | [INFO] [stdout] 35 - let result = add(2, 2); [INFO] [stdout] 35 + let result = 2.add(2); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0507, E0596. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0507`. [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> timed-future/src/lib.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | let mut inner_poll = std::pin::pin!(self.future).as_mut().poll(cx); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow data in dereference of `Pin<&mut TimedFuture>` as mutable [INFO] [stdout] --> timed-future/src/lib.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | let start = self.start.get_or_insert(Instant::now()); [INFO] [stdout] | ^^^^^^^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `Pin<&mut TimedFuture>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of dereference of `Pin<&mut TimedFuture>` [INFO] [stdout] --> timed-future/src/lib.rs:19:45 [INFO] [stdout] | [INFO] [stdout] 19 | let mut inner_poll = std::pin::pin!(self.future).as_mut().poll(cx); [INFO] [stdout] | ^^^^^^^^^^^ move occurs because value has type `Fut`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: if `Fut` implemented `Clone`, you could clone the value [INFO] [stdout] --> timed-future/src/lib.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 11 | impl Future for TimedFuture { [INFO] [stdout] | ^^^ consider constraining this type parameter with `Clone` [INFO] [stdout] ... [INFO] [stdout] 19 | let mut inner_poll = std::pin::pin!(self.future).as_mut().poll(cx); [INFO] [stdout] | ----------- you could clone this value [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 19 | let mut inner_poll = std::pin::pin!(&self.future).as_mut().poll(cx); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> timed-future/src/lib.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | let start = self.start.get_or_insert(Instant::now()); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `elapsed` [INFO] [stdout] --> timed-future/src/lib.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let elapsed = self.start.unwrap().elapsed(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_elapsed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0507, E0596. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `timed-future` (lib) due to 2 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `timed-future` (lib test) due to 3 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "25eca4181c6cda595e2a71f3605305e8d9c5432ea4a767c3cf53d2a52c35a5f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25eca4181c6cda595e2a71f3605305e8d9c5432ea4a767c3cf53d2a52c35a5f4", kill_on_drop: false }` [INFO] [stdout] 25eca4181c6cda595e2a71f3605305e8d9c5432ea4a767c3cf53d2a52c35a5f4