[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] testing DefectingCat/rs-playground/f1064a7360526288b73f5af94740c77f72ea82dc against master#2fd6efc32704647e64d3d646d21c4c68eae100e4 for pr-149852-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDefectingCat%2Frs-playground" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/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-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/DefectingCat/rs-playground on toolchain 2fd6efc32704647e64d3d646d21c4c68eae100e4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "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" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde v1.0.208 [INFO] [stderr] Downloaded system-configuration v0.6.0 [INFO] [stderr] Downloaded bytemuck v1.15.0 [INFO] [stderr] Downloaded half v2.4.0 [INFO] [stderr] Downloaded openssl-sys v0.9.101 [INFO] [stderr] Downloaded serde_json v1.0.125 [INFO] [stderr] Downloaded tokio-cron-scheduler v0.11.0 [INFO] [stderr] Downloaded serde_derive v1.0.208 [INFO] [stderr] Downloaded chrono v0.4.37 [INFO] [stderr] Downloaded openssl v0.10.64 [INFO] [stderr] Downloaded syn v2.0.55 [INFO] [stderr] Downloaded tokio v1.39.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7ebac32b880800621e004d48f3242414c17b7691ef260308c604c7a55a0db961 [INFO] running `Command { std: "docker" "start" "-a" "7ebac32b880800621e004d48f3242414c17b7691ef260308c604c7a55a0db961", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7ebac32b880800621e004d48f3242414c17b7691ef260308c604c7a55a0db961", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ebac32b880800621e004d48f3242414c17b7691ef260308c604c7a55a0db961", kill_on_drop: false }` [INFO] [stdout] 7ebac32b880800621e004d48f3242414c17b7691ef260308c604c7a55a0db961 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 51d60172dcc76fd705e26c8d3afbbc0436a9eef7ac88b0673ff6a83142753f27 [INFO] running `Command { std: "docker" "start" "-a" "51d60172dcc76fd705e26c8d3afbbc0436a9eef7ac88b0673ff6a83142753f27", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling serde v1.0.208 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling rustls-pki-types v1.8.0 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling tokio-cron-scheduler v0.11.0 [INFO] [stderr] Compiling serde_json v1.0.125 [INFO] [stderr] Compiling rustls-pemfile v2.1.3 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.55 [INFO] [stderr] Compiling socket2 v0.5.6 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling openssl-sys v0.9.101 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling uuid v1.8.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling chrono v0.4.37 [INFO] [stderr] Compiling cron v0.12.1 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.208 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling tokio v1.39.3 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling h2 v0.4.6 [INFO] [stderr] Compiling hyper v1.4.1 [INFO] [stderr] Compiling hyper-util v0.1.7 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.7 [INFO] [stderr] Compiling rs-playground v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 50.17s [INFO] running `Command { std: "docker" "inspect" "51d60172dcc76fd705e26c8d3afbbc0436a9eef7ac88b0673ff6a83142753f27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51d60172dcc76fd705e26c8d3afbbc0436a9eef7ac88b0673ff6a83142753f27", kill_on_drop: false }` [INFO] [stdout] 51d60172dcc76fd705e26c8d3afbbc0436a9eef7ac88b0673ff6a83142753f27 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2d11c647faa8806f20cb56d491d311bd378bc16c569cb5f5181c7b0391a3086c [INFO] running `Command { std: "docker" "start" "-a" "2d11c647faa8806f20cb56d491d311bd378bc16c569cb5f5181c7b0391a3086c", kill_on_drop: false }` [INFO] [stderr] Compiling rs-playground v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait `Trait` is never used [INFO] [stdout] --> examples/generic.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | trait Trait {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `c` in this scope [INFO] [stdout] --> examples/move_ownership.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | if c { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 11 - if c { [INFO] [stdout] 11 + if x { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/simple_try.rs:7:33 [INFO] [stdout] | [INFO] [stdout] 7 | simple_fold(arr.iter_mut(), total, |prev, cur| { [INFO] [stdout] | ----------- ^^^^^ expected `()`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] help: the return type of this call is `{integer}` due to the type of the argument passed [INFO] [stdout] --> examples/simple_try.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | simple_fold(arr.iter_mut(), total, |prev, cur| { [INFO] [stdout] | ^ ----- this argument influences the return type of `simple_fold` [INFO] [stdout] | _____| [INFO] [stdout] | | [INFO] [stdout] 8 | | dbg!(&prev, &cur); [INFO] [stdout] 9 | | // prev += cur; [INFO] [stdout] 10 | | prev [INFO] [stdout] 11 | | }) [INFO] [stdout] | |______^ [INFO] [stdout] note: function defined here [INFO] [stdout] --> examples/simple_try.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn simple_fold( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 15 | iter: impl Iterator, [INFO] [stdout] 16 | mut init: A, [INFO] [stdout] | ----------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] warning: unused variable: `test` [INFO] [stdout] --> examples/async_closure.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | let test = || async { println!("async closure") }; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_test` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `atest` [INFO] [stdout] --> examples/async_closure.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let atest = async || println!("async closure"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_atest` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rs-playground` (example "simple_try") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0425]: cannot find function `f` in this scope [INFO] [stdout] --> examples/move_ownership.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | f(x); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 12 - f(x); [INFO] [stdout] 12 + x(x); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `g` in this scope [INFO] [stdout] --> examples/move_ownership.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | g(x); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 14 - g(x); [INFO] [stdout] 14 + x(x); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `h` in this scope [INFO] [stdout] --> examples/move_ownership.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | h(x); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 16 - h(x); [INFO] [stdout] 16 + x(x); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `f` in this scope [INFO] [stdout] --> examples/move_ownership.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | while f() { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 19 - while f() { [INFO] [stdout] 19 + while x() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `g` in this scope [INFO] [stdout] --> examples/move_ownership.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | g(x); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 20 - g(x); [INFO] [stdout] 20 + x(x); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rs-playground` (example "move_ownership") due to 6 previous errors [INFO] [stdout] warning: function `drop_static` is never used [INFO] [stdout] --> examples/static_test.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn drop_static(target: T) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2d11c647faa8806f20cb56d491d311bd378bc16c569cb5f5181c7b0391a3086c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d11c647faa8806f20cb56d491d311bd378bc16c569cb5f5181c7b0391a3086c", kill_on_drop: false }` [INFO] [stdout] 2d11c647faa8806f20cb56d491d311bd378bc16c569cb5f5181c7b0391a3086c