[INFO] fetching crate spinlocks 0.0.1... [INFO] checking spinlocks-0.0.1 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] extracting crate spinlocks 0.0.1 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate spinlocks 0.0.1 on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate spinlocks 0.0.1 [INFO] finished tweaking crates.io crate spinlocks 0.0.1 [INFO] tweaked toml for crates.io crate spinlocks 0.0.1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 11 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5fdba44667a4088eed19ff42e02d70558dea58724036ded2430b79386bf7bf6d [INFO] running `Command { std: "docker" "start" "-a" "5fdba44667a4088eed19ff42e02d70558dea58724036ded2430b79386bf7bf6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5fdba44667a4088eed19ff42e02d70558dea58724036ded2430b79386bf7bf6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5fdba44667a4088eed19ff42e02d70558dea58724036ded2430b79386bf7bf6d", kill_on_drop: false }` [INFO] [stdout] 5fdba44667a4088eed19ff42e02d70558dea58724036ded2430b79386bf7bf6d [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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b6e31b61ab685858744acdc4c7697df1b8f6210b449e4ff39ee451012de030c7 [INFO] running `Command { std: "docker" "start" "-a" "b6e31b61ab685858744acdc4c7697df1b8f6210b449e4ff39ee451012de030c7", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking spinlocks v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | #![feature(optin_builtin_traits)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: renamed to `auto_traits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | #![feature(optin_builtin_traits)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: renamed to `auto_traits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `unsafe_destructor` in this scope [INFO] [stdout] --> src/lib.rs:390:3 [INFO] [stdout] | [INFO] [stdout] 390 | #[unsafe_destructor] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `unsafe_destructor` in this scope [INFO] [stdout] --> src/lib.rs:390:3 [INFO] [stdout] | [INFO] [stdout] 390 | #[unsafe_destructor] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `unsafe_destructor` in this scope [INFO] [stdout] --> src/lib.rs:429:3 [INFO] [stdout] | [INFO] [stdout] 429 | #[unsafe_destructor] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `unsafe_destructor` in this scope [INFO] [stdout] --> src/lib.rs:429:3 [INFO] [stdout] | [INFO] [stdout] 429 | #[unsafe_destructor] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `should_fail` in this scope [INFO] [stdout] --> src/tests/mod.rs:71:3 [INFO] [stdout] | [INFO] [stdout] 71 | #[should_fail] [INFO] [stdout] | ^^^^^^^^^^^ help: a built-in attribute with a similar name exists: `should_panic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `unsafe_destructor` in this scope [INFO] [stdout] --> src/tests/mod.rs:84:3 [INFO] [stdout] | [INFO] [stdout] 84 | #[unsafe_destructor] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `precise_time_ns` in crate `time` [INFO] [stdout] --> src/lib.rs:202:30 [INFO] [stdout] | [INFO] [stdout] 202 | time = time::precise_time_ns(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `precise_time_ns` in crate `time` [INFO] [stdout] --> src/lib.rs:261:30 [INFO] [stdout] | [INFO] [stdout] 261 | time = time::precise_time_ns(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `should_fail` in this scope [INFO] [stdout] --> src/tests/mod.rs:93:3 [INFO] [stdout] | [INFO] [stdout] 93 | #[should_fail(expected = "child thread None panicked")] [INFO] [stdout] | ^^^^^^^^^^^ help: a built-in attribute with a similar name exists: `should_panic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: negative trait bounds are not yet fully implemented; use marker types for now [INFO] [stdout] --> src/lib.rs:371:13 [INFO] [stdout] | [INFO] [stdout] 371 | impl<'a, T> !Send for SpinLockReadGuard<'a, T> {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #68318 for more information [INFO] [stdout] = help: add `#![feature(negative_impls)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-11-23; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: negative trait bounds are not yet fully implemented; use marker types for now [INFO] [stdout] --> src/lib.rs:405:13 [INFO] [stdout] | [INFO] [stdout] 405 | impl<'a, T> !Send for SpinLockWriteGuard<'a, T> {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #68318 for more information [INFO] [stdout] = help: add `#![feature(negative_impls)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-11-23; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `unsafe_destructor` [INFO] [stdout] --> src/lib.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | #![feature(unsafe_destructor)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `std_misc` [INFO] [stdout] --> src/lib.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | #![feature(std_misc)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `precise_time_ns` in crate `time` [INFO] [stdout] --> src/lib.rs:202:30 [INFO] [stdout] | [INFO] [stdout] 202 | time = time::precise_time_ns(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `precise_time_ns` in crate `time` [INFO] [stdout] --> src/lib.rs:261:30 [INFO] [stdout] | [INFO] [stdout] 261 | time = time::precise_time_ns(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found module `thread::scoped` [INFO] [stdout] --> src/tests/mod.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | thread::scoped(|| { let _ = spin.write().unwrap(); }).join(); [INFO] [stdout] | ^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | help: a function with a similar name exists: `scope` [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/std/src/thread/scoped.rs:134:1 [INFO] [stdout] ::: /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/std/src/thread/scoped.rs:136:60 [INFO] [stdout] | [INFO] [stdout] = note: similarly named function `scope` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JoinGuard` in module `thread` [INFO] [stdout] --> src/tests/mod.rs:105:35 [INFO] [stdout] | [INFO] [stdout] 105 | let mut workers : Vec> = Vec::with_capacity(10); [INFO] [stdout] | ^^^^^^^^^ not found in `thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found module `thread::scoped` [INFO] [stdout] --> src/tests/mod.rs:107:22 [INFO] [stdout] | [INFO] [stdout] 107 | workers.push(thread::scoped(|| { let data = spin.read().unwrap(); assert_eq!(*data, 255);}) ); [INFO] [stdout] | ^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | help: a function with a similar name exists: `scope` [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/std/src/thread/scoped.rs:134:1 [INFO] [stdout] ::: /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/std/src/thread/scoped.rs:136:60 [INFO] [stdout] | [INFO] [stdout] = note: similarly named function `scope` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JoinGuard` in module `thread` [INFO] [stdout] --> src/tests/mod.rs:117:35 [INFO] [stdout] | [INFO] [stdout] 117 | let mut workers : Vec> = Vec::with_capacity(10); [INFO] [stdout] | ^^^^^^^^^ not found in `thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found module `thread::scoped` [INFO] [stdout] --> src/tests/mod.rs:120:22 [INFO] [stdout] | [INFO] [stdout] 120 | workers.push(thread::scoped(move || { let mut data = spin.write().unwrap(); *data = i ;assert_eq!(*data, i );}) ); [INFO] [stdout] | ^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | help: a function with a similar name exists: `scope` [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/std/src/thread/scoped.rs:134:1 [INFO] [stdout] ::: /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/std/src/thread/scoped.rs:136:60 [INFO] [stdout] | [INFO] [stdout] = note: similarly named function `scope` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `scoped` is private [INFO] [stdout] --> src/tests/mod.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | thread::scoped(|| { let _ = spin.write().unwrap(); }).join(); [INFO] [stdout] | ^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `scoped` is defined here [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/std/src/thread/mod.rs:180:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `scoped` is private [INFO] [stdout] --> src/tests/mod.rs:107:30 [INFO] [stdout] | [INFO] [stdout] 107 | workers.push(thread::scoped(|| { let data = spin.read().unwrap(); assert_eq!(*data, 255);}) ); [INFO] [stdout] | ^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `scoped` is defined here [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/std/src/thread/mod.rs:180:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `scoped` is private [INFO] [stdout] --> src/tests/mod.rs:120:30 [INFO] [stdout] | [INFO] [stdout] 120 | workers.push(thread::scoped(move || { let mut data = spin.write().unwrap(); *data = i ;assert_eq!(*data, i );}) ); [INFO] [stdout] | ^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `scoped` is defined here [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/std/src/thread/mod.rs:180:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: negative trait bounds are not yet fully implemented; use marker types for now [INFO] [stdout] --> src/lib.rs:371:13 [INFO] [stdout] | [INFO] [stdout] 371 | impl<'a, T> !Send for SpinLockReadGuard<'a, T> {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #68318 for more information [INFO] [stdout] = help: add `#![feature(negative_impls)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-11-23; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: negative trait bounds are not yet fully implemented; use marker types for now [INFO] [stdout] --> src/lib.rs:405:13 [INFO] [stdout] | [INFO] [stdout] 405 | impl<'a, T> !Send for SpinLockWriteGuard<'a, T> {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #68318 for more information [INFO] [stdout] = help: add `#![feature(negative_impls)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-11-23; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `unsafe_destructor` [INFO] [stdout] --> src/lib.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | #![feature(unsafe_destructor)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `std_misc` [INFO] [stdout] --> src/lib.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | #![feature(std_misc)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0557, E0635, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `spinlocks` (lib) due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0412, E0423, E0425, E0557, E0603, E0635, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `spinlocks` (lib test) due to 20 previous errors [INFO] running `Command { std: "docker" "inspect" "b6e31b61ab685858744acdc4c7697df1b8f6210b449e4ff39ee451012de030c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6e31b61ab685858744acdc4c7697df1b8f6210b449e4ff39ee451012de030c7", kill_on_drop: false }` [INFO] [stdout] b6e31b61ab685858744acdc4c7697df1b8f6210b449e4ff39ee451012de030c7