[INFO] crate spinlocks 0.0.1 is already in cache [INFO] extracting crate spinlocks 0.0.1 into work/ex/pr-62133/sources/master#5f9c0448dde167128d668da4555879f64e56af1d/reg/spinlocks/0.0.1 [INFO] extracting crate spinlocks 0.0.1 into work/ex/pr-62133/sources/try#8ec8125bea94852768b56958f05da47666c21ab0/reg/spinlocks/0.0.1 [INFO] validating manifest of spinlocks-0.0.1 on toolchain master#5f9c0448dde167128d668da4555879f64e56af1d [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+5f9c0448dde167128d668da4555879f64e56af1d-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of spinlocks-0.0.1 on toolchain try#8ec8125bea94852768b56958f05da47666c21ab0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+8ec8125bea94852768b56958f05da47666c21ab0-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing spinlocks-0.0.1 [INFO] finished frobbing spinlocks-0.0.1 [INFO] frobbed toml for spinlocks-0.0.1 written to work/ex/pr-62133/sources/master#5f9c0448dde167128d668da4555879f64e56af1d/reg/spinlocks/0.0.1/Cargo.toml [INFO] started frobbing spinlocks-0.0.1 [INFO] finished frobbing spinlocks-0.0.1 [INFO] frobbed toml for spinlocks-0.0.1 written to work/ex/pr-62133/sources/try#8ec8125bea94852768b56958f05da47666c21ab0/reg/spinlocks/0.0.1/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+5f9c0448dde167128d668da4555879f64e56af1d-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+8ec8125bea94852768b56958f05da47666c21ab0-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+5f9c0448dde167128d668da4555879f64e56af1d-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+8ec8125bea94852768b56958f05da47666c21ab0-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] checking spinlocks-0.0.1 against master#5f9c0448dde167128d668da4555879f64e56af1d for pr-62133 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-62133/worker-4/master#5f9c0448dde167128d668da4555879f64e56af1d:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-62133/sources/master#5f9c0448dde167128d668da4555879f64e56af1d/reg/spinlocks/0.0.1:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+5f9c0448dde167128d668da4555879f64e56af1d-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 7f6cd50c5f74ea38cd805efe71aa63aa614866d045faa482351dc6dfc60b7738 [INFO] running `"docker" "start" "-a" "7f6cd50c5f74ea38cd805efe71aa63aa614866d045faa482351dc6dfc60b7738"` [INFO] [stderr] Checking spinlocks v0.0.1 (/opt/crater/workdir) [INFO] [stderr] error[E0658]: The attribute `unsafe_destructor` is currently unknown to the compiler and may have meaning added to it in the future [INFO] [stderr] --> src/lib.rs:390:3 [INFO] [stderr] | [INFO] [stderr] 390 | #[unsafe_destructor] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/29642 [INFO] [stderr] = help: add #![feature(custom_attribute)] to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: The attribute `unsafe_destructor` is currently unknown to the compiler and may have meaning added to it in the future [INFO] [stderr] --> src/lib.rs:429:3 [INFO] [stderr] | [INFO] [stderr] 429 | #[unsafe_destructor] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/29642 [INFO] [stderr] = help: add #![feature(custom_attribute)] to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: The attribute `unsafe_destructor` is currently unknown to the compiler and may have meaning added to it in the future [INFO] [stderr] --> src/lib.rs:390:3 [INFO] [stderr] | [INFO] [stderr] 390 | #[unsafe_destructor] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/29642 [INFO] [stderr] = help: add #![feature(custom_attribute)] to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: The attribute `unsafe_destructor` is currently unknown to the compiler and may have meaning added to it in the future [INFO] [stderr] --> src/lib.rs:429:3 [INFO] [stderr] | [INFO] [stderr] 429 | #[unsafe_destructor] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/29642 [INFO] [stderr] = help: add #![feature(custom_attribute)] to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: The attribute `should_fail` is currently unknown to the compiler and may have meaning added to it in the future [INFO] [stderr] --> src/tests/mod.rs:71:3 [INFO] [stderr] | [INFO] [stderr] 71 | #[should_fail] [INFO] [stderr] | ^^^^^^^^^^^ help: a built-in attribute with a similar name exists: `should_panic` [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/29642 [INFO] [stderr] = help: add #![feature(custom_attribute)] to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: The attribute `unsafe_destructor` is currently unknown to the compiler and may have meaning added to it in the future [INFO] [stderr] --> src/tests/mod.rs:84:3 [INFO] [stderr] | [INFO] [stderr] 84 | #[unsafe_destructor] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/29642 [INFO] [stderr] = help: add #![feature(custom_attribute)] to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: The attribute `should_fail` is currently unknown to the compiler and may have meaning added to it in the future [INFO] [stderr] --> src/tests/mod.rs:93:3 [INFO] [stderr] | [INFO] [stderr] 93 | #[should_fail(expected = "child thread None panicked")] [INFO] [stderr] | ^^^^^^^^^^^ help: a built-in attribute with a similar name exists: `should_panic` [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/29642 [INFO] [stderr] = help: add #![feature(custom_attribute)] to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `scoped` in module `thread` [INFO] [stderr] --> src/tests/mod.rs:98:13 [INFO] [stderr] | [INFO] [stderr] 98 | thread::scoped(|| { let _ = spin.write().unwrap(); }).join(); [INFO] [stderr] | ^^^^^^ not found in `thread` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `JoinGuard` in module `thread` [INFO] [stderr] --> src/tests/mod.rs:105:35 [INFO] [stderr] | [INFO] [stderr] 105 | let mut workers : Vec> = Vec::with_capacity(10); [INFO] [stderr] | ^^^^^^^^^ not found in `thread` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `scoped` in module `thread` [INFO] [stderr] --> src/tests/mod.rs:107:30 [INFO] [stderr] | [INFO] [stderr] 107 | workers.push(thread::scoped(|| { let data = spin.read().unwrap(); assert_eq!(*data, 255);}) ); [INFO] [stderr] | ^^^^^^ not found in `thread` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `JoinGuard` in module `thread` [INFO] [stderr] --> src/tests/mod.rs:117:35 [INFO] [stderr] | [INFO] [stderr] 117 | let mut workers : Vec> = Vec::with_capacity(10); [INFO] [stderr] | ^^^^^^^^^ not found in `thread` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `scoped` in module `thread` [INFO] [stderr] --> src/tests/mod.rs:120:30 [INFO] [stderr] | [INFO] [stderr] 120 | workers.push(thread::scoped(move || { let mut data = spin.write().unwrap(); *data = i ;assert_eq!(*data, i );}) ); [INFO] [stderr] | ^^^^^^ not found in `thread` [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `for` head expression [INFO] [stderr] --> src/tests/mod.rs:106:14 [INFO] [stderr] | [INFO] [stderr] 106 | for _ in (0..9) { [INFO] [stderr] | ^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_parens)] on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `for` head expression [INFO] [stderr] --> src/tests/mod.rs:118:14 [INFO] [stderr] | [INFO] [stderr] 118 | for i in (0u32..9) { [INFO] [stderr] | ^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] error: Could not compile `spinlocks`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to 10 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0658. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: Could not compile `spinlocks`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "7f6cd50c5f74ea38cd805efe71aa63aa614866d045faa482351dc6dfc60b7738"` [INFO] running `"docker" "rm" "-f" "7f6cd50c5f74ea38cd805efe71aa63aa614866d045faa482351dc6dfc60b7738"` [INFO] [stdout] 7f6cd50c5f74ea38cd805efe71aa63aa614866d045faa482351dc6dfc60b7738