[INFO] cloning repository https://github.com/soulim2040/rust_test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/soulim2040/rust_test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoulim2040%2Frust_test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoulim2040%2Frust_test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f16193b0d0114726a3dbfed92846b08b26a0593d [INFO] checking soulim2040/rust_test against try#b8ee37b59c6e1f39bae18b85e057975ab0d89308 for pr-139587-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoulim2040%2Frust_test" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/soulim2040/rust_test on toolchain b8ee37b59c6e1f39bae18b85e057975ab0d89308 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b8ee37b59c6e1f39bae18b85e057975ab0d89308" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/soulim2040/rust_test [INFO] finished tweaking git repo https://github.com/soulim2040/rust_test [INFO] tweaked toml for git repo https://github.com/soulim2040/rust_test written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/soulim2040/rust_test 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" "+b8ee37b59c6e1f39bae18b85e057975ab0d89308" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [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 [ERROR] error running command: no output for 300 seconds [INFO] checking soulim2040/rust_test against try#b8ee37b59c6e1f39bae18b85e057975ab0d89308 for pr-139587-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoulim2040%2Frust_test" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/soulim2040/rust_test on toolchain b8ee37b59c6e1f39bae18b85e057975ab0d89308 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b8ee37b59c6e1f39bae18b85e057975ab0d89308" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/soulim2040/rust_test [INFO] finished tweaking git repo https://github.com/soulim2040/rust_test [INFO] tweaked toml for git repo https://github.com/soulim2040/rust_test written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/soulim2040/rust_test 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" "+b8ee37b59c6e1f39bae18b85e057975ab0d89308" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [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 num v0.4.0 [INFO] [stderr] Downloaded enum-map-derive v0.10.0 [INFO] [stderr] Downloaded ahash v0.8.2 [INFO] [stderr] Downloaded enumset v1.0.12 [INFO] [stderr] Downloaded num-iter v0.1.43 [INFO] [stderr] Downloaded enumset_derive v0.6.1 [INFO] [stderr] Downloaded enum-map v2.4.1 [INFO] [stderr] Downloaded parking_lot_core v0.9.4 [INFO] [stderr] Downloaded cursive_core v0.3.5 [INFO] [stderr] Downloaded cursive v0.19.0 [INFO] [stderr] Downloaded crossterm v0.24.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+b8ee37b59c6e1f39bae18b85e057975ab0d89308" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9a8d8e4ea455590f06c1639ccf7806f0ccd5654c20c81639914d50b6f3e748cf [INFO] running `Command { std: "docker" "start" "-a" "9a8d8e4ea455590f06c1639ccf7806f0ccd5654c20c81639914d50b6f3e748cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9a8d8e4ea455590f06c1639ccf7806f0ccd5654c20c81639914d50b6f3e748cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a8d8e4ea455590f06c1639ccf7806f0ccd5654c20c81639914d50b6f3e748cf", kill_on_drop: false }` [INFO] [stdout] 9a8d8e4ea455590f06c1639ccf7806f0ccd5654c20c81639914d50b6f3e748cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+b8ee37b59c6e1f39bae18b85e057975ab0d89308" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] deb95c167e613b90c9c85b698eb6c070e4946d3b3a7e169c6fcb446d4b85021d [INFO] running `Command { std: "docker" "start" "-a" "deb95c167e613b90c9c85b698eb6c070e4946d3b3a7e169c6fcb446d4b85021d", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling proc-macro2 v1.0.47 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.5 [INFO] [stderr] Compiling syn v1.0.103 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Checking once_cell v1.16.0 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling crossbeam-utils v0.8.14 [INFO] [stderr] Compiling parking_lot_core v0.9.4 [INFO] [stderr] Compiling ahash v0.8.2 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking getrandom v0.2.8 [INFO] [stderr] Checking time-core v0.1.0 [INFO] [stderr] Checking itoa v1.0.4 [INFO] [stderr] Checking owning_ref v0.4.1 [INFO] [stderr] Checking xi-unicode v0.3.0 [INFO] [stderr] Checking unicode-segmentation v1.10.0 [INFO] [stderr] Checking lazy_test v0.1.0 (/opt/rustwide/workdir/lazy_test) [INFO] [stderr] Checking singleton_once v0.1.0 (/opt/rustwide/workdir/singleton_once) [INFO] [stderr] Checking time v0.3.17 [INFO] [stderr] Checking decorator1 v0.1.0 (/opt/rustwide/workdir/decorator1) [INFO] [stderr] Checking factory2 v0.1.0 (/opt/rustwide/workdir/factory2) [INFO] [stdout] warning: unused `MutexGuard` that must be used [INFO] [stdout] --> lazy_test/src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | dbg!(ARRAY.lock().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if unused the Mutex will immediately unlock [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `load` is never used [INFO] [stdout] --> singleton_once/src/user.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl User { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn load(id: u32) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking observer1 v0.1.0 (/opt/rustwide/workdir/observer1) [INFO] [stdout] warning: unused `MutexGuard` that must be used [INFO] [stdout] --> singleton_once/src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | dbg!(ARRAY.get().unwrap().lock().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if unused the Mutex will immediately unlock [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `load` is never used [INFO] [stdout] --> singleton_once/src/user.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl User { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn load(id: u32) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking abstract-factory v0.1.0 (/opt/rustwide/workdir/abstract-factory) [INFO] [stdout] warning: unused `MutexGuard` that must be used [INFO] [stdout] --> singleton_once/src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | dbg!(ARRAY.get().unwrap().lock().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if unused the Mutex will immediately unlock [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking builder v0.1.0 (/opt/rustwide/workdir/builder) [INFO] [stderr] Checking ahash v0.7.6 [INFO] [stdout] warning: method `on_click` is never used [INFO] [stdout] --> factory2/src/gui.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Button { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] 2 | fn render(&self); [INFO] [stdout] 3 | fn on_click(&self); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking bridge1 v0.1.0 (/opt/rustwide/workdir/bridge1) [INFO] [stdout] warning: method `refresh` is never used [INFO] [stdout] --> factory2/src/gui.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait Dialog { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 14 | fn refresh(&self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking vec_sort v0.1.0 (/opt/rustwide/workdir/vec_sort) [INFO] [stdout] warning: unused `MutexGuard` that must be used [INFO] [stdout] --> lazy_test/src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | dbg!(ARRAY.lock().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if unused the Mutex will immediately unlock [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking mediator1 v0.1.0 (/opt/rustwide/workdir/mediator1) [INFO] [stdout] warning: unused import: `observer::Publisher` [INFO] [stdout] --> observer1/src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use observer::Publisher; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GuiFactory` [INFO] [stdout] --> abstract-factory/src/main.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::gui::{GuiFactory}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `on_click` is never used [INFO] [stdout] --> factory2/src/gui.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Button { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] 2 | fn render(&self); [INFO] [stdout] 3 | fn on_click(&self); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `refresh` is never used [INFO] [stdout] --> factory2/src/gui.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait Dialog { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 14 | fn refresh(&self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CarBuilder` [INFO] [stdout] --> builder/src/director.rs:2:44 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::builder::car_builder::{Builder, CarBuilder}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking visitor1 v0.1.0 (/opt/rustwide/workdir/visitor1) [INFO] [stdout] warning: fields `car_type`, `transmission`, and `engine` are never read [INFO] [stdout] --> builder/src/car.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Car { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 4 | car_type : CarType, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 5 | transmission : Transmission, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 6 | engine : Engine, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Car` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> observer1/src/main.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let mut publisher = editor.publish_er(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `CityCar` and `Suv` are never constructed [INFO] [stdout] --> builder/src/components.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum CarType { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 4 | CityCar, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 5 | SportCar, [INFO] [stdout] 6 | Suv, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CarType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `unsubscribe` is never used [INFO] [stdout] --> observer1/src/observer.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Publisher { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn unsubscribe(&mut self, event : Event, listener : Subscriber){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `SingleSpeed`, `Manual`, and `Automatic` are never constructed [INFO] [stdout] --> builder/src/components.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Transmission { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 11 | SingleSpeed, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 12 | Manual, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 13 | Automatic, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Transmission` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> observer1/src/observer.rs:24:58 [INFO] [stdout] | [INFO] [stdout] 24 | self.events.get_mut(&event).unwrap().retain(|&x| x != listener); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 24 - self.events.get_mut(&event).unwrap().retain(|&x| x != listener); [INFO] [stdout] 24 + self.events.get_mut(&event).unwrap().retain(|&x| !std::ptr::fn_addr_eq(x, listener)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `volume`, `mileage`, and `started` are never read [INFO] [stdout] --> builder/src/components.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Engine { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 19 | volume : f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 20 | mileage : f64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 21 | started : bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Engine` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GuiFactory` [INFO] [stdout] --> abstract-factory/src/main.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::gui::{GuiFactory}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rust_1 v0.1.0 (/opt/rustwide/workdir/rust_1) [INFO] [stderr] Checking chain1 v0.1.0 (/opt/rustwide/workdir/chain1) [INFO] [stdout] warning: methods `volume_down`, `volume_up`, `channel_down`, and `channel_up` are never used [INFO] [stdout] --> bridge1/src/remotes/mod.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait Remote : HasMutDevice{ [INFO] [stdout] | ------ methods in this trait [INFO] [stdout] ... [INFO] [stdout] 23 | fn volume_down(&mut self){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | fn volume_up(&mut self){ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | fn channel_down(&mut self){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | fn channel_up(&mut self){ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking strategy_1 v0.1.0 (/opt/rustwide/workdir/strategy_1) [INFO] [stdout] warning: methods `volume`, `channel`, and `set_channel` are never used [INFO] [stdout] --> bridge1/src/devices/mod.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Device { [INFO] [stdout] | ------ methods in this trait [INFO] [stdout] ... [INFO] [stdout] 11 | fn volume(&self) -> u8; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 12 | fn set_volume(&mut self, percent: u8); [INFO] [stdout] 13 | fn channel(&self) -> u16; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 14 | fn set_channel(&mut self, channel: u16); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking moment1 v0.1.0 (/opt/rustwide/workdir/moment1) [INFO] [stdout] error[E0635]: unknown feature `stdsimd` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ahash-0.8.2/src/lib.rs:99:42 [INFO] [stdout] | [INFO] [stdout] 99 | #![cfg_attr(feature = "stdsimd", feature(stdsimd))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `stdsimd` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ahash-0.7.6/src/lib.rs:33:42 [INFO] [stdout] | [INFO] [stdout] 33 | #![cfg_attr(feature = "stdsimd", feature(stdsimd))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking prototype v0.1.0 (/opt/rustwide/workdir/prototype) [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> mediator1/src/trains/mod.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | _ => unimplemented!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> mediator1/src/trains/mod.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 32 | TrainType::FreightType => "freight", [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] 33 | TrainType::PassengerType => "passenger", [INFO] [stdout] | ------------------------ matches some of the same values [INFO] [stdout] 34 | _ => unimplemented!(), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> visitor1/src/visitor.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | fn parse_str(&self, input: &str) -> Result{ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> visitor1/src/visitor.rs:14:25 [INFO] [stdout] | [INFO] [stdout] 14 | fn parse_vec(&self, input: Vec) -> Result{ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking composite1 v0.1.0 (/opt/rustwide/workdir/composite1) [INFO] [stdout] warning: fields `a` and `b` are never read [INFO] [stdout] --> visitor1/src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct TwoValuesStruct { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 7 | a: i32, [INFO] [stdout] | ^ [INFO] [stdout] 8 | b: i32, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `TwoValuesStruct` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ab` is never read [INFO] [stdout] --> visitor1/src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct TwoValuesArray { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 24 | ab: [i32; 2], [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `TwoValuesArray` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> mediator1/src/trains/mod.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | _ => unimplemented!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> mediator1/src/trains/mod.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 32 | TrainType::FreightType => "freight", [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] 33 | TrainType::PassengerType => "passenger", [INFO] [stdout] | ------------------------ matches some of the same values [INFO] [stdout] 34 | _ => unimplemented!(), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `into_next` [INFO] [stdout] --> chain1/src/department/cashier.rs:2:34 [INFO] [stdout] | [INFO] [stdout] 2 | use super::{Department, Patient, into_next}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `moment` should have an upper camel case name [INFO] [stdout] --> moment1/src/main.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | trait moment { [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `Moment` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `proc_macro_span_shrink` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/proc-macro2-1.0.47/src/lib.rs:92:30 [INFO] [stdout] | [INFO] [stdout] 92 | feature(proc_macro_span, proc_macro_span_shrink) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking iterator1 v0.1.0 (/opt/rustwide/workdir/iterator1) [INFO] [stdout] error[E0599]: no method named `route_strategy` found for reference `&Navigator` in the current scope [INFO] [stdout] --> strategy_1/src/main.rs:83:14 [INFO] [stdout] | [INFO] [stdout] 83 | self.route_strategy(from, to); [INFO] [stdout] | ^^^^^^^^^^^^^^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: to call the function pointer stored in `route_strategy`, surround the field access with parentheses [INFO] [stdout] | [INFO] [stdout] 83 | (self.route_strategy)(from, to); [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `strategy_1` (bin "strategy_1" test) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: trait `moment` should have an upper camel case name [INFO] [stdout] --> moment1/src/main.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | trait moment { [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `Moment` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `user::UserVec` [INFO] [stdout] --> iterator1/src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use user::UserVec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0635`. [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `iter` are never used [INFO] [stdout] --> iterator1/src/user.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl UserVec { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 25 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn iter(&self) -> UserIterator { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ahash` (lib) due to 1 previous error [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> visitor1/src/visitor.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | fn parse_str(&self, input: &str) -> Result{ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> visitor1/src/visitor.rs:14:25 [INFO] [stdout] | [INFO] [stdout] 14 | fn parse_vec(&self, input: Vec) -> Result{ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0635`. [INFO] [stdout] [INFO] [stdout] warning: fields `a` and `b` are never read [INFO] [stdout] --> visitor1/src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct TwoValuesStruct { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 7 | a: i32, [INFO] [stdout] | ^ [INFO] [stdout] 8 | b: i32, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `TwoValuesStruct` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ab` is never read [INFO] [stdout] --> visitor1/src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct TwoValuesArray { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 24 | ab: [i32; 2], [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `TwoValuesArray` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ahash` (lib) due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0635`. [INFO] [stdout] [INFO] [stderr] error: could not compile `proc-macro2` (lib) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "deb95c167e613b90c9c85b698eb6c070e4946d3b3a7e169c6fcb446d4b85021d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "deb95c167e613b90c9c85b698eb6c070e4946d3b3a7e169c6fcb446d4b85021d", kill_on_drop: false }` [INFO] [stdout] deb95c167e613b90c9c85b698eb6c070e4946d3b3a7e169c6fcb446d4b85021d