[INFO] cloning repository https://github.com/dnseitz/CortexM0Rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dnseitz/CortexM0Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdnseitz%2FCortexM0Rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdnseitz%2FCortexM0Rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d6bcefbd6822b5beeeb01a94efb4873f6d8887b4 [INFO] testing dnseitz/CortexM0Rust against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdnseitz%2FCortexM0Rust" "/workspace/builds/worker-15/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-15/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dnseitz/CortexM0Rust on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dnseitz/CortexM0Rust [INFO] finished tweaking git repo https://github.com/dnseitz/CortexM0Rust [INFO] tweaked toml for git repo https://github.com/dnseitz/CortexM0Rust written to /workspace/builds/worker-15/source/Cargo.toml [INFO] crate git repo https://github.com/dnseitz/CortexM0Rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `panic` setting is ignored for `test` profile [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c5939570c3fd69acbe2d8a96c66e0b7c29702824d6ba0217bd9b96ef3cc2b4b3 [INFO] running `Command { std: "docker" "start" "-a" "c5939570c3fd69acbe2d8a96c66e0b7c29702824d6ba0217bd9b96ef3cc2b4b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c5939570c3fd69acbe2d8a96c66e0b7c29702824d6ba0217bd9b96ef3cc2b4b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5939570c3fd69acbe2d8a96c66e0b7c29702824d6ba0217bd9b96ef3cc2b4b3", kill_on_drop: false }` [INFO] [stdout] c5939570c3fd69acbe2d8a96c66e0b7c29702824d6ba0217bd9b96ef3cc2b4b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b2f9f203f698a81edaf1c93318aca7f694e579e596f96738879c1d98bb0fb3b5 [INFO] running `Command { std: "docker" "start" "-a" "b2f9f203f698a81edaf1c93318aca7f694e579e596f96738879c1d98bb0fb3b5", kill_on_drop: false }` [INFO] [stderr] warning: `panic` setting is ignored for `test` profile [INFO] [stderr] Compiling altos_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | #![feature(const_fn)] [INFO] [stdout] | ^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: split into finer-grained feature gates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `cortex_m0` [INFO] [stdout] --> src/lib.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | extern crate cortex_m0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mutex` [INFO] [stdout] --> src/lib.rs:26:37 [INFO] [stdout] | [INFO] [stdout] 26 | pub static TEST_MUTEX: Mutex = Mutex::new(0); [INFO] [stdout] | ^^^^^ use of undeclared type `Mutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CondVar` [INFO] [stdout] --> src/lib.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | pub static TEST_CONDVAR: CondVar = CondVar::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `CondVar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ArgsBuilder` [INFO] [stdout] --> src/lib.rs:31:18 [INFO] [stdout] | [INFO] [stdout] 31 | let mut args = ArgsBuilder::with_capacity(2); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ArgsBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ArgsBuilder` [INFO] [stdout] --> src/lib.rs:36:26 [INFO] [stdout] | [INFO] [stdout] 36 | let mut condvar_args = ArgsBuilder::with_capacity(1); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ArgsBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Box` [INFO] [stdout] --> src/lib.rs:37:24 [INFO] [stdout] | [INFO] [stdout] 37 | condvar_args.add_box(Box::new(guard)); [INFO] [stdout] | ^^^ use of undeclared type `Box` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syscall` [INFO] [stdout] --> src/lib.rs:39:3 [INFO] [stdout] | [INFO] [stdout] 39 | syscall::new_task(condvar_waiter, condvar_args.finalize(), 512, task::Priority::Critical, "condvar wait task"); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `syscall` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `task` [INFO] [stdout] --> src/lib.rs:39:67 [INFO] [stdout] | [INFO] [stdout] 39 | syscall::new_task(condvar_waiter, condvar_args.finalize(), 512, task::Priority::Critical, "condvar wait task"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `task` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `syscall` [INFO] [stdout] --> src/lib.rs:40:3 [INFO] [stdout] | [INFO] [stdout] 40 | syscall::new_task(condvar_notifier, Args::empty(), 512, task::Priority::Critical, "condvar notify task"); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `syscall` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Args` [INFO] [stdout] --> src/lib.rs:40:39 [INFO] [stdout] | [INFO] [stdout] 40 | syscall::new_task(condvar_notifier, Args::empty(), 512, task::Priority::Critical, "condvar notify task"); [INFO] [stdout] | ^^^^ use of undeclared type `Args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `task` [INFO] [stdout] --> src/lib.rs:40:59 [INFO] [stdout] | [INFO] [stdout] 40 | syscall::new_task(condvar_notifier, Args::empty(), 512, task::Priority::Critical, "condvar notify task"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `task` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `task` [INFO] [stdout] --> src/lib.rs:56:3 [INFO] [stdout] | [INFO] [stdout] 56 | task::start_scheduler(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `task` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `arm` [INFO] [stdout] --> src/lib.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | loop { unsafe { arm::asm::bkpt() }; } [INFO] [stdout] | ^^^ use of undeclared crate or module `arm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpio` [INFO] [stdout] --> src/lib.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | let pb3 = gpio::Port::new(3, gpio::Group::B); [INFO] [stdout] | ^^^^ use of undeclared crate or module `gpio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpio` [INFO] [stdout] --> src/lib.rs:62:32 [INFO] [stdout] | [INFO] [stdout] 62 | let pb3 = gpio::Port::new(3, gpio::Group::B); [INFO] [stdout] | ^^^^ use of undeclared crate or module `gpio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `time` [INFO] [stdout] --> src/lib.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | time::delay_ms(*guard as usize); [INFO] [stdout] | ^^^^ use of undeclared crate or module `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `time` [INFO] [stdout] --> src/lib.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | time::delay_ms(*guard as usize); [INFO] [stdout] | ^^^^ use of undeclared crate or module `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `time` [INFO] [stdout] --> src/lib.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | time::delay_ms(4000); [INFO] [stdout] | ^^^^ use of undeclared crate or module `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpio` [INFO] [stdout] --> src/lib.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | let pb3 = gpio::Port::new(3, gpio::Group::B); [INFO] [stdout] | ^^^^ use of undeclared crate or module `gpio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpio` [INFO] [stdout] --> src/lib.rs:89:32 [INFO] [stdout] | [INFO] [stdout] 89 | let pb3 = gpio::Port::new(3, gpio::Group::B); [INFO] [stdout] | ^^^^ use of undeclared crate or module `gpio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `time` [INFO] [stdout] --> src/lib.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | time::delay_ms(100); [INFO] [stdout] | ^^^^ use of undeclared crate or module `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `time` [INFO] [stdout] --> src/lib.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | time::delay_ms(100); [INFO] [stdout] | ^^^^ use of undeclared crate or module `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpio` [INFO] [stdout] --> src/lib.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | let pb3 = gpio::Port::new(3, gpio::Group::B); [INFO] [stdout] | ^^^^ use of undeclared crate or module `gpio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpio` [INFO] [stdout] --> src/lib.rs:99:32 [INFO] [stdout] | [INFO] [stdout] 99 | let pb3 = gpio::Port::new(3, gpio::Group::B); [INFO] [stdout] | ^^^^ use of undeclared crate or module `gpio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `time` [INFO] [stdout] --> src/lib.rs:107:7 [INFO] [stdout] | [INFO] [stdout] 107 | time::delay_ms(2000); [INFO] [stdout] | ^^^^ use of undeclared crate or module `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpio` [INFO] [stdout] --> src/lib.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | let pb3 = gpio::Port::new(3, gpio::Group::B); [INFO] [stdout] | ^^^^ use of undeclared crate or module `gpio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpio` [INFO] [stdout] --> src/lib.rs:117:32 [INFO] [stdout] | [INFO] [stdout] 117 | let pb3 = gpio::Port::new(3, gpio::Group::B); [INFO] [stdout] | ^^^^ use of undeclared crate or module `gpio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `time` [INFO] [stdout] --> src/lib.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | time::delay_ms(100); [INFO] [stdout] | ^^^^ use of undeclared crate or module `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `time` [INFO] [stdout] --> src/lib.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | time::delay_ms(100); [INFO] [stdout] | ^^^^ use of undeclared crate or module `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpio` [INFO] [stdout] --> src/lib.rs:138:13 [INFO] [stdout] | [INFO] [stdout] 138 | let pb3 = gpio::Port::new(3, gpio::Group::B); [INFO] [stdout] | ^^^^ use of undeclared crate or module `gpio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpio` [INFO] [stdout] --> src/lib.rs:138:32 [INFO] [stdout] | [INFO] [stdout] 138 | let pb3 = gpio::Port::new(3, gpio::Group::B); [INFO] [stdout] | ^^^^ use of undeclared crate or module `gpio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `time` [INFO] [stdout] --> src/lib.rs:142:7 [INFO] [stdout] | [INFO] [stdout] 142 | time::delay_ms(100); [INFO] [stdout] | ^^^^ use of undeclared crate or module `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `time` [INFO] [stdout] --> src/lib.rs:144:7 [INFO] [stdout] | [INFO] [stdout] 144 | time::delay_ms(100); [INFO] [stdout] | ^^^^ use of undeclared crate or module `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpio` [INFO] [stdout] --> src/lib.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 150 | let pb3 = gpio::Port::new(3, gpio::Group::B); [INFO] [stdout] | ^^^^ use of undeclared crate or module `gpio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpio` [INFO] [stdout] --> src/lib.rs:150:32 [INFO] [stdout] | [INFO] [stdout] 150 | let pb3 = gpio::Port::new(3, gpio::Group::B); [INFO] [stdout] | ^^^^ use of undeclared crate or module `gpio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `time` [INFO] [stdout] --> src/lib.rs:154:7 [INFO] [stdout] | [INFO] [stdout] 154 | time::delay_ms(500); [INFO] [stdout] | ^^^^ use of undeclared crate or module `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `time` [INFO] [stdout] --> src/lib.rs:156:7 [INFO] [stdout] | [INFO] [stdout] 156 | time::delay_ms(500); [INFO] [stdout] | ^^^^ use of undeclared crate or module `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpio` [INFO] [stdout] --> src/lib.rs:162:13 [INFO] [stdout] | [INFO] [stdout] 162 | let pb3 = gpio::Port::new(3, gpio::Group::B); [INFO] [stdout] | ^^^^ use of undeclared crate or module `gpio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpio` [INFO] [stdout] --> src/lib.rs:162:32 [INFO] [stdout] | [INFO] [stdout] 162 | let pb3 = gpio::Port::new(3, gpio::Group::B); [INFO] [stdout] | ^^^^ use of undeclared crate or module `gpio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `time` [INFO] [stdout] --> src/lib.rs:166:7 [INFO] [stdout] | [INFO] [stdout] 166 | time::delay_ms(50); [INFO] [stdout] | ^^^^ use of undeclared crate or module `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `time` [INFO] [stdout] --> src/lib.rs:168:7 [INFO] [stdout] | [INFO] [stdout] 168 | time::delay_ms(50); [INFO] [stdout] | ^^^^ use of undeclared crate or module `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpio` [INFO] [stdout] --> src/lib.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | let pb3 = gpio::Port::new(3, gpio::Group::B); [INFO] [stdout] | ^^^^ use of undeclared crate or module `gpio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpio` [INFO] [stdout] --> src/lib.rs:174:32 [INFO] [stdout] | [INFO] [stdout] 174 | let pb3 = gpio::Port::new(3, gpio::Group::B); [INFO] [stdout] | ^^^^ use of undeclared crate or module `gpio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `time` [INFO] [stdout] --> src/lib.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 178 | time::delay_ms(delay); [INFO] [stdout] | ^^^^ use of undeclared crate or module `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `time` [INFO] [stdout] --> src/lib.rs:180:5 [INFO] [stdout] | [INFO] [stdout] 180 | time::delay_ms(delay); [INFO] [stdout] | ^^^^ use of undeclared crate or module `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpio` [INFO] [stdout] --> src/lib.rs:185:13 [INFO] [stdout] | [INFO] [stdout] 185 | let pb3 = gpio::Port::new(3, gpio::Group::B); [INFO] [stdout] | ^^^^ use of undeclared crate or module `gpio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpio` [INFO] [stdout] --> src/lib.rs:185:32 [INFO] [stdout] | [INFO] [stdout] 185 | let pb3 = gpio::Port::new(3, gpio::Group::B); [INFO] [stdout] | ^^^^ use of undeclared crate or module `gpio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `time` [INFO] [stdout] --> src/lib.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 189 | time::delay_ms(delay); [INFO] [stdout] | ^^^^ use of undeclared crate or module `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `time` [INFO] [stdout] --> src/lib.rs:191:5 [INFO] [stdout] | [INFO] [stdout] 191 | time::delay_ms(delay); [INFO] [stdout] | ^^^^ use of undeclared crate or module `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpio` [INFO] [stdout] --> src/lib.rs:218:13 [INFO] [stdout] | [INFO] [stdout] 218 | let pb3 = gpio::Port::new(3, gpio::Group::B); [INFO] [stdout] | ^^^^ use of undeclared crate or module `gpio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpio` [INFO] [stdout] --> src/lib.rs:218:32 [INFO] [stdout] | [INFO] [stdout] 218 | let pb3 = gpio::Port::new(3, gpio::Group::B); [INFO] [stdout] | ^^^^ use of undeclared crate or module `gpio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `time` [INFO] [stdout] --> src/lib.rs:221:5 [INFO] [stdout] | [INFO] [stdout] 221 | time::delay_ms(rate * multiplier); [INFO] [stdout] | ^^^^ use of undeclared crate or module `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `time` [INFO] [stdout] --> src/lib.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | time::delay_ms(rate * multiplier); [INFO] [stdout] | ^^^^ use of undeclared crate or module `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpio` [INFO] [stdout] --> src/lib.rs:229:13 [INFO] [stdout] | [INFO] [stdout] 229 | let pb3 = gpio::Port::new(3, gpio::Group::B); [INFO] [stdout] | ^^^^ use of undeclared crate or module `gpio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpio` [INFO] [stdout] --> src/lib.rs:229:32 [INFO] [stdout] | [INFO] [stdout] 229 | let pb3 = gpio::Port::new(3, gpio::Group::B); [INFO] [stdout] | ^^^^ use of undeclared crate or module `gpio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `time` [INFO] [stdout] --> src/lib.rs:232:5 [INFO] [stdout] | [INFO] [stdout] 232 | time::delay_ms(1000); [INFO] [stdout] | ^^^^ use of undeclared crate or module `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `time` [INFO] [stdout] --> src/lib.rs:234:5 [INFO] [stdout] | [INFO] [stdout] 234 | time::delay_ms(1000); [INFO] [stdout] | ^^^^ use of undeclared crate or module `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpio` [INFO] [stdout] --> src/lib.rs:240:13 [INFO] [stdout] | [INFO] [stdout] 240 | let pb3 = gpio::Port::new(3, gpio::Group::B); [INFO] [stdout] | ^^^^ use of undeclared crate or module `gpio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpio` [INFO] [stdout] --> src/lib.rs:240:32 [INFO] [stdout] | [INFO] [stdout] 240 | let pb3 = gpio::Port::new(3, gpio::Group::B); [INFO] [stdout] | ^^^^ use of undeclared crate or module `gpio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `time` [INFO] [stdout] --> src/lib.rs:243:5 [INFO] [stdout] | [INFO] [stdout] 243 | time::delay_ms(100); [INFO] [stdout] | ^^^^ use of undeclared crate or module `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `time` [INFO] [stdout] --> src/lib.rs:245:5 [INFO] [stdout] | [INFO] [stdout] 245 | time::delay_ms(100); [INFO] [stdout] | ^^^^ use of undeclared crate or module `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Mutex` in this scope [INFO] [stdout] --> src/lib.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | pub static TEST_MUTEX: Mutex = Mutex::new(0); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CondVar` in this scope [INFO] [stdout] --> src/lib.rs:27:26 [INFO] [stdout] | [INFO] [stdout] 27 | pub static TEST_CONDVAR: CondVar = CondVar::new(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Args` in this scope [INFO] [stdout] --> src/lib.rs:61:30 [INFO] [stdout] | [INFO] [stdout] 61 | fn condvar_waiter(args: &mut Args) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MutexGuard` in this scope [INFO] [stdout] --> src/lib.rs:63:44 [INFO] [stdout] | [INFO] [stdout] 63 | let mut guard = unsafe { *args.pop_box::>() }; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Args` in this scope [INFO] [stdout] --> src/lib.rs:73:33 [INFO] [stdout] | [INFO] [stdout] 73 | fn condvar_notifier(_args: &mut Args) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Args` in this scope [INFO] [stdout] --> src/lib.rs:98:29 [INFO] [stdout] | [INFO] [stdout] 98 | fn mutex_task_1(_args: &mut Args) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Args` in this scope [INFO] [stdout] --> src/lib.rs:116:29 [INFO] [stdout] | [INFO] [stdout] 116 | fn mutex_task_2(_args: &mut Args) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Args` in this scope [INFO] [stdout] --> src/lib.rs:137:28 [INFO] [stdout] | [INFO] [stdout] 137 | fn test_task_1(_args: &mut Args) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Args` in this scope [INFO] [stdout] --> src/lib.rs:149:28 [INFO] [stdout] | [INFO] [stdout] 149 | fn test_task_2(_args: &mut Args) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Args` in this scope [INFO] [stdout] --> src/lib.rs:161:28 [INFO] [stdout] | [INFO] [stdout] 161 | fn test_task_3(_args: &mut Args) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Args` in this scope [INFO] [stdout] --> src/lib.rs:215:24 [INFO] [stdout] | [INFO] [stdout] 215 | fn arg_task(args: &mut Args) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Args` in this scope [INFO] [stdout] --> src/lib.rs:227:28 [INFO] [stdout] | [INFO] [stdout] 227 | fn destroy_task(args: &mut Args) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TaskHandle` in this scope [INFO] [stdout] --> src/lib.rs:228:44 [INFO] [stdout] | [INFO] [stdout] 227 | fn destroy_task(args: &mut Args) { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 228 | let mut handle = unsafe { args.pop_box::() }; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Args` in this scope [INFO] [stdout] --> src/lib.rs:239:27 [INFO] [stdout] | [INFO] [stdout] 239 | fn to_destroy(_args: &mut Args) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `#[panic_handler]` function required, but not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 77 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0463, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `altos_rust` due to 78 previous errors [INFO] running `Command { std: "docker" "inspect" "b2f9f203f698a81edaf1c93318aca7f694e579e596f96738879c1d98bb0fb3b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2f9f203f698a81edaf1c93318aca7f694e579e596f96738879c1d98bb0fb3b5", kill_on_drop: false }` [INFO] [stdout] b2f9f203f698a81edaf1c93318aca7f694e579e596f96738879c1d98bb0fb3b5