[INFO] cloning repository https://github.com/kpietak/rust-lecture-examples [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kpietak/rust-lecture-examples" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkpietak%2Frust-lecture-examples", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkpietak%2Frust-lecture-examples'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a7de7b4953d8e8b4d25744628bb8a839acd9c32a [INFO] checking kpietak/rust-lecture-examples against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkpietak%2Frust-lecture-examples" "/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/kpietak/rust-lecture-examples [INFO] finished tweaking git repo https://github.com/kpietak/rust-lecture-examples [INFO] tweaked toml for git repo https://github.com/kpietak/rust-lecture-examples written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kpietak/rust-lecture-examples on toolchain 7b3da9103634dffd4f4365cfd8642427c781d99f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kpietak/rust-lecture-examples 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" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking kpietak/rust-lecture-examples against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkpietak%2Frust-lecture-examples" "/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/kpietak/rust-lecture-examples [INFO] finished tweaking git repo https://github.com/kpietak/rust-lecture-examples [INFO] tweaked toml for git repo https://github.com/kpietak/rust-lecture-examples written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kpietak/rust-lecture-examples on toolchain 7b3da9103634dffd4f4365cfd8642427c781d99f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kpietak/rust-lecture-examples 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" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rand_core v0.9.0-alpha.1 [INFO] [stderr] Downloaded indexmap v2.2.5 [INFO] [stderr] Downloaded rand_chacha v0.9.0-alpha.1 [INFO] [stderr] Downloaded zerocopy-derive v0.8.0-alpha.6 [INFO] [stderr] Downloaded zerocopy v0.8.0-alpha.6 [INFO] [stderr] Downloaded openssl-sys v0.9.101 [INFO] [stderr] Downloaded rand v0.9.0-alpha.1 [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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 640ac530460a8c8e09a93ac155722194ca141b52430cfe04af9f4f365dcf0c5d [INFO] running `Command { std: "docker" "start" "-a" "640ac530460a8c8e09a93ac155722194ca141b52430cfe04af9f4f365dcf0c5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "640ac530460a8c8e09a93ac155722194ca141b52430cfe04af9f4f365dcf0c5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "640ac530460a8c8e09a93ac155722194ca141b52430cfe04af9f4f365dcf0c5d", kill_on_drop: false }` [INFO] [stdout] 640ac530460a8c8e09a93ac155722194ca141b52430cfe04af9f4f365dcf0c5d [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 -Dinherent-method-on-receiver" "-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 58a7c1bd601c4bfca97eef088466c0f35c06a4b2666547da5cb17d6915db2eb9 [INFO] running `Command { std: "docker" "start" "-a" "58a7c1bd601c4bfca97eef088466c0f35c06a4b2666547da5cb17d6915db2eb9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Compiling cc v1.0.88 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling zerocopy v0.8.0-alpha.6 [INFO] [stderr] Checking indexmap v2.2.5 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Checking rustls-pki-types v1.5.0 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking rustls-pemfile v2.1.2 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Checking http-body-util v0.1.1 [INFO] [stderr] Checking rand_core v0.9.0-alpha.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Checking rand_chacha v0.9.0-alpha.1 [INFO] [stderr] Checking rand v0.9.0-alpha.1 [INFO] [stderr] Compiling openssl-sys v0.9.101 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking h2 v0.4.4 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking hyper v1.3.1 [INFO] [stderr] Checking hyper-util v0.1.3 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking serde_json v1.0.116 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.4 [INFO] [stderr] Checking rust_lecture_examples v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `process_int` is never used [INFO] [stdout] --> examples/functions.rs:120:4 [INFO] [stdout] | [INFO] [stdout] 120 | fn process_int(a: i32, b: i32, f: F) -> i32 [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `accelerate` is never used [INFO] [stdout] --> examples/structures.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl Spaceship { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | fn accelerate(&mut self, acc : i32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `FlyingObject` is never used [INFO] [stdout] --> examples/structures.rs:77:7 [INFO] [stdout] | [INFO] [stdout] 77 | trait FlyingObject { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `shoot` is never used [INFO] [stdout] --> examples/structures.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 98 | impl Asteroid { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 103 | fn shoot(&self) -> Missile { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s2` [INFO] [stdout] --> examples/basics.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let s2 = s1; // the value is moved from s1 to s2, s1 is no longer valid [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PositiveBackend` is never constructed [INFO] [stdout] --> examples/static-dispatch-benchmark.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct PositiveBackend; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::space::ship::Spaceship` [INFO] [stdout] --> examples/modules.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::space::ship::Spaceship; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rectangle` is never constructed [INFO] [stdout] --> examples/errors.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct Rectangle { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_WIDTH` is never used [INFO] [stdout] --> examples/errors.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const DEFAULT_WIDTH: f64 = 1.0; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_HEIGHT` is never used [INFO] [stdout] --> examples/errors.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const DEFAULT_HEIGHT: f64 = 1.0; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `area`, `convert_to_int`, and `read_from_file` are never used [INFO] [stdout] --> examples/errors.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 17 | impl Rectangle { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 18 | fn new(width : f64, height : f64) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | fn area(&self) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | fn convert_to_int(&self) -> Result<(u32, u32)> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | fn read_from_file(path : &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bigger` is never used [INFO] [stdout] --> examples/errors.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn bigger(w1: f64, h1 : f64, w2 : f64, h2 : f64) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `borrow` is never used [INFO] [stdout] --> examples/collections.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn borrow(i : &i32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ex2` is never used [INFO] [stdout] --> examples/lifetime.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn ex2() { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Introduction` is never constructed [INFO] [stdout] --> examples/lifetime.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | struct Introduction<'a> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print` is never used [INFO] [stdout] --> examples/lifetime.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 46 | impl<'a> Introduction<'a> { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] 47 | fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_sample_text` is never used [INFO] [stdout] --> examples/lifetime.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | fn get_sample_text() -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.05s [INFO] running `Command { std: "docker" "inspect" "58a7c1bd601c4bfca97eef088466c0f35c06a4b2666547da5cb17d6915db2eb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58a7c1bd601c4bfca97eef088466c0f35c06a4b2666547da5cb17d6915db2eb9", kill_on_drop: false }` [INFO] [stdout] 58a7c1bd601c4bfca97eef088466c0f35c06a4b2666547da5cb17d6915db2eb9