[INFO] cloning repository https://github.com/hobarak/rustdatastructures [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hobarak/rustdatastructures" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhobarak%2Frustdatastructures", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhobarak%2Frustdatastructures'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9c2d49596d650b84b5478d3471d82ba0010ab4de [INFO] checking hobarak/rustdatastructures against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhobarak%2Frustdatastructures" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hobarak/rustdatastructures on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hobarak/rustdatastructures [INFO] finished tweaking git repo https://github.com/hobarak/rustdatastructures [INFO] tweaked toml for git repo https://github.com/hobarak/rustdatastructures written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/hobarak/rustdatastructures already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1a561f1aa72d5e70aca3c7881d907b3e5165a6072eb803833006c6f47f78a0ca [INFO] running `Command { std: "docker" "start" "-a" "1a561f1aa72d5e70aca3c7881d907b3e5165a6072eb803833006c6f47f78a0ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a561f1aa72d5e70aca3c7881d907b3e5165a6072eb803833006c6f47f78a0ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a561f1aa72d5e70aca3c7881d907b3e5165a6072eb803833006c6f47f78a0ca", kill_on_drop: false }` [INFO] [stdout] 1a561f1aa72d5e70aca3c7881d907b3e5165a6072eb803833006c6f47f78a0ca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cd400c13c5867f9bb07e73dd9689b4cc6c09f4c796bd53f8d1d4fd72eaaa281d [INFO] running `Command { std: "docker" "start" "-a" "cd400c13c5867f9bb07e73dd9689b4cc6c09f4c796bd53f8d1d4fd72eaaa281d", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] tokio v0.2.21: winapi [INFO] [stderr] [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.12 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.21 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking arc-swap v0.4.6 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Checking pin-project-lite v0.1.5 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking threadpool v1.8.0 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling quote v1.0.5 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Checking tokio v0.2.21 [INFO] [stderr] Checking rustdatastructures v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/pointers/simplebox.rs (2 fixes) [INFO] [stderr] Fixed src/artofmultiprocessor/ch9.rs (5 fixes) [INFO] [stderr] Fixed src/pointers/simplerefcell.rs (1 fix) [INFO] [stderr] Fixed src/datastructures/stack.rs (1 fix) [INFO] [stderr] Fixed src/main.rs (5 fixes) [INFO] [stderr] Fixed src/artofmultiprocessor/ch7.rs (4 fixes) [INFO] [stderr] Fixed src/artofmultiprocessor/ch8.rs (3 fixes) [INFO] [stderr] Fixed src/pointers/simplerc.rs (1 fix) [INFO] [stderr] Fixed src/artofmultiprocessor/ch10.rs (3 fixes) [INFO] [stderr] Fixed src/datastructures/conslist.rs (1 fix) [INFO] [stderr] Fixed src/artofmultiprocessor/ch2.rs (2 fixes) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arc` [INFO] [stdout] --> src/artofmultiprocessor/ch2.rs:64:14 [INFO] [stdout] | [INFO] [stdout] 64 | let lo = Arc::new(LockOne::new(0)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::artofmultiprocessor::ch7::Arc; [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arc` [INFO] [stdout] --> src/artofmultiprocessor/ch2.rs:105:14 [INFO] [stdout] | [INFO] [stdout] 105 | let lo = Arc::new(LockTwo::new(0)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::artofmultiprocessor::ch7::Arc; [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JoinHandle` in this scope [INFO] [stdout] --> src/artofmultiprocessor/ch2.rs:109:18 [INFO] [stdout] | [INFO] [stdout] 109 | let tid: JoinHandle<()> = spawn(move |tid| { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use std::thread::JoinHandle; [INFO] [stdout] | [INFO] [stdout] 1 | use tokio::task::JoinHandle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arc` [INFO] [stdout] --> src/artofmultiprocessor/ch2.rs:155:14 [INFO] [stdout] | [INFO] [stdout] 155 | let lo = Arc::new(Peterson::new(0)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::artofmultiprocessor::ch7::Arc; [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arc` [INFO] [stdout] --> src/artofmultiprocessor/ch2.rs:222:14 [INFO] [stdout] | [INFO] [stdout] 222 | let lo = Arc::new(FilterLock::new(0, 30)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::artofmultiprocessor::ch7::Arc; [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arc` [INFO] [stdout] --> src/artofmultiprocessor/ch2.rs:299:14 [INFO] [stdout] | [INFO] [stdout] 299 | let lo = Arc::new(Bakery::new(0, 100)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::artofmultiprocessor::ch7::Arc; [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arc` [INFO] [stdout] --> src/artofmultiprocessor/ch9.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | let e = Arc::new(CoarseList::::new()); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::artofmultiprocessor::ch7::Arc; [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arc` [INFO] [stdout] --> src/artofmultiprocessor/ch9.rs:209:13 [INFO] [stdout] | [INFO] [stdout] 209 | let e = Arc::new(FGList::::new()); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::artofmultiprocessor::ch7::Arc; [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Display` in this scope [INFO] [stdout] --> src/pointers/simplebox.rs:62:24 [INFO] [stdout] | [INFO] [stdout] 62 | let c: Box = k; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::fmt::Display; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::datastructures::conslist::Display; [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Display; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rc` [INFO] [stdout] --> src/pointers/simplerc.rs:80:14 [INFO] [stdout] | [INFO] [stdout] 80 | let rc = Rc::new("asd".to_string()); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::datastructures::conslist::Rc; [INFO] [stdout] | [INFO] [stdout] 1 | use std::rc::Rc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rc` [INFO] [stdout] --> src/pointers/simplerc.rs:83:15 [INFO] [stdout] | [INFO] [stdout] 83 | let rc3 = Rc::new("asdasd".to_string()); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::datastructures::conslist::Rc; [INFO] [stdout] | [INFO] [stdout] 1 | use std::rc::Rc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rc` in this scope [INFO] [stdout] --> src/pointers/simplerc.rs:84:14 [INFO] [stdout] | [INFO] [stdout] 84 | let rc4: Rc = rc3; [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::datastructures::conslist::Rc; [INFO] [stdout] | [INFO] [stdout] 1 | use std::rc::Rc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Display` in this scope [INFO] [stdout] --> src/pointers/simplerc.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | let rc4: Rc = rc3; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::fmt::Display; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::datastructures::conslist::Display; [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Display; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RefCell` [INFO] [stdout] --> src/pointers/simplerefcell.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | let a = RefCell::new(2); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::cell::RefCell; [INFO] [stdout] | [INFO] [stdout] 1 | use std::cell::RefCell; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thread` [INFO] [stdout] --> src/artofmultiprocessor/ch10.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | thread, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thread` [INFO] [stdout] --> src/artofmultiprocessor/ch8.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | thread, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/concurrent/mod.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 12 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::intrinsics::drop_in_place`: no longer an intrinsic - use `ptr::drop_in_place` directly [INFO] [stdout] --> src/pointers/simplebox.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | intrinsics::drop_in_place, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::intrinsics::drop_in_place`: no longer an intrinsic - use `ptr::drop_in_place` directly [INFO] [stdout] --> src/pointers/simplebox.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | drop_in_place(self.0.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thread` [INFO] [stdout] --> src/artofmultiprocessor/ch10.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | thread, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thread` [INFO] [stdout] --> src/artofmultiprocessor/ch8.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | thread, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thread` [INFO] [stdout] --> src/artofmultiprocessor/ch9.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | thread, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::intrinsics::drop_in_place`: no longer an intrinsic - use `ptr::drop_in_place` directly [INFO] [stdout] --> src/pointers/simplebox.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | intrinsics::drop_in_place, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::intrinsics::drop_in_place`: no longer an intrinsic - use `ptr::drop_in_place` directly [INFO] [stdout] --> src/pointers/simplebox.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | drop_in_place(self.0.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/artofmultiprocessor/ch7.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | if self.1.compare_and_swap(false, true, Ordering::SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustdatastructures` due to 15 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/artofmultiprocessor/ch7.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | if self.1.compare_and_swap(false, true, Ordering::SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `mynode` should have an upper case name [INFO] [stdout] --> src/artofmultiprocessor/ch7.rs:160:18 [INFO] [stdout] | [INFO] [stdout] 160 | pub static mynode: AtomicBool = AtomicBool::new(false); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `MYNODE` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `mypred` should have an upper case name [INFO] [stdout] --> src/artofmultiprocessor/ch7.rs:161:18 [INFO] [stdout] | [INFO] [stdout] 161 | pub static mypred: Cell<&'static AtomicBool> = Cell::new(&falsenode); [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `MYPRED` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `falsenode` should have an upper case name [INFO] [stdout] --> src/artofmultiprocessor/ch7.rs:164:12 [INFO] [stdout] | [INFO] [stdout] 164 | pub static falsenode: AtomicBool = AtomicBool::new(false); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper case: `FALSENODE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `sayHello` should have a snake case name [INFO] [stdout] --> src/pointers/simplerc.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | fn sayHello(&self); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `say_hello` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "cd400c13c5867f9bb07e73dd9689b4cc6c09f4c796bd53f8d1d4fd72eaaa281d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd400c13c5867f9bb07e73dd9689b4cc6c09f4c796bd53f8d1d4fd72eaaa281d", kill_on_drop: false }` [INFO] [stdout] cd400c13c5867f9bb07e73dd9689b4cc6c09f4c796bd53f8d1d4fd72eaaa281d