[INFO] fetching crate raw_sync_2 0.1.5... [INFO] checking raw_sync_2-0.1.5 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] extracting crate raw_sync_2 0.1.5 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate raw_sync_2 0.1.5 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 raw_sync_2 0.1.5 [INFO] finished tweaking crates.io crate raw_sync_2 0.1.5 [INFO] tweaked toml for crates.io crate raw_sync_2 0.1.5 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate crates.io crate raw_sync_2 0.1.5 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" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] deef59e8046a98f05ef8ab0643dca82f67202dc591168bdd5ba2964455677b7e [INFO] running `Command { std: "docker" "start" "-a" "deef59e8046a98f05ef8ab0643dca82f67202dc591168bdd5ba2964455677b7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "deef59e8046a98f05ef8ab0643dca82f67202dc591168bdd5ba2964455677b7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "deef59e8046a98f05ef8ab0643dca82f67202dc591168bdd5ba2964455677b7e", kill_on_drop: false }` [INFO] [stdout] deef59e8046a98f05ef8ab0643dca82f67202dc591168bdd5ba2964455677b7e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] ba167bc908682c79dfbab9ab260b1247c21cd9134a1918510d8e404f2f9a8a91 [INFO] running `Command { std: "docker" "start" "-a" "ba167bc908682c79dfbab9ab260b1247c21cd9134a1918510d8e404f2f9a8a91", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking regex-syntax v0.6.28 [INFO] [stderr] Checking termcolor v1.2.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking nix v0.23.2 [INFO] [stderr] Checking aho-corasick v0.7.20 [INFO] [stderr] Checking regex v1.7.1 [INFO] [stderr] Checking env_logger v0.9.3 [INFO] [stderr] Checking raw_sync_2 v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `raw_sync` [INFO] [stdout] --> examples/locks.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use raw_sync::{locks::*, Timeout}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `raw_sync` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 6 | use raw_sync_2::{locks::*, Timeout}; [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `raw_sync` [INFO] [stdout] --> examples/events.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use raw_sync::{events::*, Timeout}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `raw_sync` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 6 | use raw_sync_2::{events::*, Timeout}; [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `raw_sync` [INFO] [stdout] --> examples/locks.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use raw_sync::{locks::*, Timeout}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `raw_sync` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 6 | use raw_sync_2::{locks::*, Timeout}; [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `raw_sync` [INFO] [stdout] --> examples/events.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use raw_sync::{events::*, Timeout}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `raw_sync` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 6 | use raw_sync_2::{events::*, Timeout}; [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `LockImpl` in this scope [INFO] [stdout] --> examples/locks.rs:10:36 [INFO] [stdout] | [INFO] [stdout] 10 | fn test_timeout(id: u8, lock: &dyn LockImpl) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use raw_sync_2::locks::LockImpl; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `LockImpl` in this scope [INFO] [stdout] --> examples/locks.rs:21:40 [INFO] [stdout] | [INFO] [stdout] 21 | fn increment_val(id: u8, lock: Box) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use raw_sync_2::locks::LockImpl; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mutex` [INFO] [stdout] --> examples/locks.rs:71:30 [INFO] [stdout] | [INFO] [stdout] 71 | let (lock, _) = unsafe { Mutex::new(mem, data_ptr as _)? }; [INFO] [stdout] | ^^^^^ use of undeclared type `Mutex` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use std::sync::Mutex; [INFO] [stdout] | [INFO] [stdout] 1 + use raw_sync_2::locks::Mutex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mutex` [INFO] [stdout] --> examples/locks.rs:74:34 [INFO] [stdout] | [INFO] [stdout] 74 | let (lock, _) = unsafe { Mutex::from_existing(mem_ptr as _, data_ptr as _).unwrap() }; [INFO] [stdout] | ^^^^^ use of undeclared type `Mutex` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use std::sync::Mutex; [INFO] [stdout] | [INFO] [stdout] 1 + use raw_sync_2::locks::Mutex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RwLock` [INFO] [stdout] --> examples/locks.rs:96:30 [INFO] [stdout] | [INFO] [stdout] 96 | let (lock, _) = unsafe { RwLock::new(mem, data_ptr as _)? }; [INFO] [stdout] | ^^^^^^ use of undeclared type `RwLock` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use std::sync::RwLock; [INFO] [stdout] | [INFO] [stdout] 1 + use raw_sync_2::locks::RwLock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RwLock` [INFO] [stdout] --> examples/locks.rs:99:34 [INFO] [stdout] | [INFO] [stdout] 99 | let (lock, _) = unsafe { RwLock::from_existing(mem_ptr as _, data_ptr as _).unwrap() }; [INFO] [stdout] | ^^^^^^ use of undeclared type `RwLock` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use std::sync::RwLock; [INFO] [stdout] | [INFO] [stdout] 1 + use raw_sync_2::locks::RwLock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Event` [INFO] [stdout] --> examples/events.rs:37:29 [INFO] [stdout] | [INFO] [stdout] 37 | let (obj, _) = unsafe { Event::new(mem, auto_reset)? }; [INFO] [stdout] | ^^^^^ use of undeclared type `Event` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use nix::sys::ptrace::Event; [INFO] [stdout] | [INFO] [stdout] 1 + use raw_sync_2::events::Event; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Event` [INFO] [stdout] --> examples/events.rs:42:33 [INFO] [stdout] | [INFO] [stdout] 42 | let (obj, _) = unsafe { Event::from_existing(mem_ptr as _).unwrap() }; [INFO] [stdout] | ^^^^^ use of undeclared type `Event` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use nix::sys::ptrace::Event; [INFO] [stdout] | [INFO] [stdout] 1 + use raw_sync_2::events::Event; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventState` [INFO] [stdout] --> examples/events.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | obj.set(EventState::Signaled).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `EventState` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use raw_sync_2::events::EventState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventState` [INFO] [stdout] --> examples/events.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | obj.set(EventState::Signaled).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `EventState` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use raw_sync_2::events::EventState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventState` [INFO] [stdout] --> examples/events.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | obj.set(EventState::Clear).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `EventState` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use raw_sync_2::events::EventState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventState` [INFO] [stdout] --> examples/events.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | obj.set(EventState::Signaled)?; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `EventState` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use raw_sync_2::events::EventState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BusyEvent` [INFO] [stdout] --> examples/events.rs:93:29 [INFO] [stdout] | [INFO] [stdout] 93 | let (obj, _) = unsafe { BusyEvent::new(mem, auto_reset)? }; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BusyEvent` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use raw_sync_2::events::BusyEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BusyEvent` [INFO] [stdout] --> examples/events.rs:98:33 [INFO] [stdout] | [INFO] [stdout] 98 | let (obj, _) = unsafe { BusyEvent::from_existing(mem_ptr as _).unwrap() }; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BusyEvent` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use raw_sync_2::events::BusyEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventState` [INFO] [stdout] --> examples/events.rs:120:17 [INFO] [stdout] | [INFO] [stdout] 120 | obj.set(EventState::Signaled).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `EventState` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use raw_sync_2::events::EventState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventState` [INFO] [stdout] --> examples/events.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | obj.set(EventState::Signaled).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `EventState` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use raw_sync_2::events::EventState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventState` [INFO] [stdout] --> examples/events.rs:124:17 [INFO] [stdout] | [INFO] [stdout] 124 | obj.set(EventState::Clear).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `EventState` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use raw_sync_2::events::EventState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EventState` [INFO] [stdout] --> examples/events.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | obj.set(EventState::Signaled)?; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `EventState` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use raw_sync_2::events::EventState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `raw_sync_2` (example "locks") due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `raw_sync_2` (example "events") due to 14 previous errors [INFO] running `Command { std: "docker" "inspect" "ba167bc908682c79dfbab9ab260b1247c21cd9134a1918510d8e404f2f9a8a91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba167bc908682c79dfbab9ab260b1247c21cd9134a1918510d8e404f2f9a8a91", kill_on_drop: false }` [INFO] [stdout] ba167bc908682c79dfbab9ab260b1247c21cd9134a1918510d8e404f2f9a8a91