Aug 29 22:56:06.680 INFO checking usb-0.1.5 against master#545f22340f72ee0efaf6463efb43a2840e3d35db for pr-53699 Aug 29 22:56:06.680 INFO running: cargo +545f22340f72ee0efaf6463efb43a2840e3d35db-alt check --frozen --all --all-targets Aug 29 22:56:06.680 INFO running `"docker" "create" "-v" "/home/ec2-user/crater/./work/local/test-source/worker-3/pr-53699/master#545f22340f72ee0efaf6463efb43a2840e3d35db:/source:ro,Z" "-v" "/home/ec2-user/crater/./work/local/target-dirs/pr-53699/worker-3/master#545f22340f72ee0efaf6463efb43a2840e3d35db:/target:rw,Z" "-v" "/home/ec2-user/crater/./work/local/cargo-home:/cargo-home:ro,Z" "-v" "/home/ec2-user/crater/./work/local/rustup-home:/rustup-home:ro,Z" "-e" "USER_ID=500" "-e" "CMD=cargo +545f22340f72ee0efaf6463efb43a2840e3d35db-alt check --frozen --all --all-targets" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-m" "2G" "crater"` Aug 29 22:56:06.821 INFO blam! ba93f53e91ab95b08577d3d7471f7b07c32181bb2f7cbbf7d577d9413b57fb73 Aug 29 22:56:06.823 INFO running `"docker" "start" "-a" "ba93f53e91ab95b08577d3d7471f7b07c32181bb2f7cbbf7d577d9413b57fb73"` Aug 29 22:56:07.404 INFO kablam! warning: path `/source/src/usb.rs` was erroneously implicitly accepted for library `usb`, Aug 29 22:56:07.404 INFO kablam! please rename the file to `src/lib.rs` or set lib.path in Cargo.toml Aug 29 22:56:07.405 INFO kablam! Checking usb v0.1.5 (file:///source) Aug 29 22:56:07.454 INFO kablam! error: invalid suffix `us` for numeric literal Aug 29 22:56:07.454 INFO kablam! --> src/usb.rs:411:32 Aug 29 22:56:07.454 INFO kablam! | Aug 29 22:56:07.454 INFO kablam! 411 | let mut running_transfers = 0us; Aug 29 22:56:07.454 INFO kablam! | ^^^ Aug 29 22:56:07.454 INFO kablam! | Aug 29 22:56:07.454 INFO kablam! = help: the suffix must be one of the integral types (`u32`, `isize`, etc) Aug 29 22:56:07.454 INFO kablam! Aug 29 22:56:07.454 INFO kablam! warning: unknown lint: `unstable` Aug 29 22:56:07.454 INFO kablam! --> src/usb.rs:2:27 Aug 29 22:56:07.454 INFO kablam! | Aug 29 22:56:07.454 INFO kablam! 2 | #![ allow(non_snake_case, unstable) ] Aug 29 22:56:07.454 INFO kablam! | ^^^^^^^^ Aug 29 22:56:07.454 INFO kablam! | Aug 29 22:56:07.455 INFO kablam! = note: #[warn(unknown_lints)] on by default Aug 29 22:56:07.455 INFO kablam! Aug 29 22:56:07.455 INFO kablam! error: invalid suffix `us` for numeric literal Aug 29 22:56:07.455 INFO kablam! --> src/usb.rs:411:32 Aug 29 22:56:07.455 INFO kablam! | Aug 29 22:56:07.455 INFO kablam! 411 | let mut running_transfers = 0us; Aug 29 22:56:07.455 INFO kablam! | ^^^ Aug 29 22:56:07.455 INFO kablam! | Aug 29 22:56:07.455 INFO kablam! = help: the suffix must be one of the integral types (`u32`, `isize`, etc) Aug 29 22:56:07.455 INFO kablam! Aug 29 22:56:07.455 INFO kablam! warning: unknown lint: `unstable` Aug 29 22:56:07.455 INFO kablam! --> src/usb.rs:2:27 Aug 29 22:56:07.455 INFO kablam! | Aug 29 22:56:07.455 INFO kablam! 2 | #![ allow(non_snake_case, unstable) ] Aug 29 22:56:07.455 INFO kablam! | ^^^^^^^^ Aug 29 22:56:07.455 INFO kablam! | Aug 29 22:56:07.455 INFO kablam! = note: #[warn(unknown_lints)] on by default Aug 29 22:56:07.455 INFO kablam! Aug 29 22:56:07.599 INFO kablam! error[E0432]: unresolved import `std::sync::atomic::AtomicInt` Aug 29 22:56:07.599 INFO kablam! --> src/usb.rs:19:35 Aug 29 22:56:07.599 INFO kablam! | Aug 29 22:56:07.599 INFO kablam! 19 | use std::sync::atomic::{Ordering, AtomicInt}; Aug 29 22:56:07.599 INFO kablam! | ^^^^^^^^^ no `AtomicInt` in `sync::atomic`. Did you mean to use `AtomicI16`? Aug 29 22:56:07.599 INFO kablam! Aug 29 22:56:07.603 INFO kablam! error: cannot find derive macro `Show` in this scope Aug 29 22:56:07.603 INFO kablam! --> src/libusb.rs:81:31 Aug 29 22:56:07.603 INFO kablam! | Aug 29 22:56:07.603 INFO kablam! 81 | #[derive(Copy, PartialEq, Eq, Show)] Aug 29 22:56:07.603 INFO kablam! | ^^^^ Aug 29 22:56:07.603 INFO kablam! Aug 29 22:56:07.603 INFO kablam! error: cannot find derive macro `Show` in this scope Aug 29 22:56:07.603 INFO kablam! --> src/libusb.rs:144:31 Aug 29 22:56:07.603 INFO kablam! | Aug 29 22:56:07.603 INFO kablam! 144 | #[derive(Copy, PartialEq, Eq, Show)] Aug 29 22:56:07.603 INFO kablam! | ^^^^ Aug 29 22:56:07.603 INFO kablam! Aug 29 22:56:07.604 INFO kablam! error: cannot find derive macro `Show` in this scope Aug 29 22:56:07.604 INFO kablam! --> src/libusb.rs:187:31 Aug 29 22:56:07.604 INFO kablam! | Aug 29 22:56:07.604 INFO kablam! 187 | #[derive(Copy, PartialEq, Eq, Show)] Aug 29 22:56:07.604 INFO kablam! | ^^^^ Aug 29 22:56:07.604 INFO kablam! Aug 29 22:56:07.604 INFO kablam! error: cannot find derive macro `Show` in this scope Aug 29 22:56:07.604 INFO kablam! --> src/libusb.rs:197:31 Aug 29 22:56:07.604 INFO kablam! | Aug 29 22:56:07.604 INFO kablam! 197 | #[derive(Copy, PartialEq, Eq, Show)] Aug 29 22:56:07.604 INFO kablam! | ^^^^ Aug 29 22:56:07.604 INFO kablam! Aug 29 22:56:07.604 INFO kablam! error: cannot find derive macro `Show` in this scope Aug 29 22:56:07.604 INFO kablam! --> src/libusb.rs:218:16 Aug 29 22:56:07.604 INFO kablam! | Aug 29 22:56:07.604 INFO kablam! 218 | #[derive(Copy, Show)] Aug 29 22:56:07.604 INFO kablam! | ^^^^ Aug 29 22:56:07.604 INFO kablam! Aug 29 22:56:07.604 INFO kablam! error: cannot find derive macro `Show` in this scope Aug 29 22:56:07.604 INFO kablam! --> src/libusb.rs:443:31 Aug 29 22:56:07.604 INFO kablam! | Aug 29 22:56:07.604 INFO kablam! 443 | #[derive(Copy, PartialEq, Eq, Show)] Aug 29 22:56:07.604 INFO kablam! | ^^^^ Aug 29 22:56:07.604 INFO kablam! Aug 29 22:56:07.604 INFO kablam! error: cannot find derive macro `Show` in this scope Aug 29 22:56:07.605 INFO kablam! --> src/libusb.rs:494:31 Aug 29 22:56:07.605 INFO kablam! | Aug 29 22:56:07.605 INFO kablam! 494 | #[derive(Copy, FromPrimitive, Show, PartialEq, Eq)] Aug 29 22:56:07.605 INFO kablam! | ^^^^ Aug 29 22:56:07.605 INFO kablam! Aug 29 22:56:07.605 INFO kablam! error: cannot find derive macro `FromPrimitive` in this scope Aug 29 22:56:07.605 INFO kablam! --> src/libusb.rs:494:16 Aug 29 22:56:07.605 INFO kablam! | Aug 29 22:56:07.605 INFO kablam! 494 | #[derive(Copy, FromPrimitive, Show, PartialEq, Eq)] Aug 29 22:56:07.605 INFO kablam! | ^^^^^^^^^^^^^ Aug 29 22:56:07.605 INFO kablam! Aug 29 22:56:07.605 INFO kablam! error: cannot find derive macro `Show` in this scope Aug 29 22:56:07.605 INFO kablam! --> src/libusb.rs:523:31 Aug 29 22:56:07.605 INFO kablam! | Aug 29 22:56:07.605 INFO kablam! 523 | #[derive(Copy, PartialEq, Eq, Show)] Aug 29 22:56:07.605 INFO kablam! | ^^^^ Aug 29 22:56:07.605 INFO kablam! Aug 29 22:56:07.605 INFO kablam! error: cannot find derive macro `Show` in this scope Aug 29 22:56:07.605 INFO kablam! --> src/libusb.rs:612:16 Aug 29 22:56:07.605 INFO kablam! | Aug 29 22:56:07.605 INFO kablam! 612 | #[derive(Copy, Show)] Aug 29 22:56:07.605 INFO kablam! | ^^^^ Aug 29 22:56:07.605 INFO kablam! Aug 29 22:56:07.605 INFO kablam! error[E0433]: failed to resolve. Could not find `FromPrimitive` in `num` Aug 29 22:56:07.605 INFO kablam! --> src/libusb.rs:603:8 Aug 29 22:56:07.605 INFO kablam! | Aug 29 22:56:07.605 INFO kablam! 603 | num::FromPrimitive::from_u32(self.status).unwrap() Aug 29 22:56:07.605 INFO kablam! | ^^^^^^^^^^^^^ Could not find `FromPrimitive` in `num` Aug 29 22:56:07.605 INFO kablam! Aug 29 22:56:07.631 INFO kablam! error[E0425]: cannot find function `from_raw_mut_buf` in module `slice` Aug 29 22:56:07.631 INFO kablam! --> src/usb.rs:77:19 Aug 29 22:56:07.631 INFO kablam! | Aug 29 22:56:07.631 INFO kablam! 77 | let l = slice::from_raw_mut_buf(&list, num_devices as usize); Aug 29 22:56:07.631 INFO kablam! | ^^^^^^^^^^^^^^^^ not found in `slice` Aug 29 22:56:07.631 INFO kablam! Aug 29 22:56:07.631 INFO kablam! error[E0425]: cannot find function `range` in this scope Aug 29 22:56:07.631 INFO kablam! --> src/usb.rs:352:27 Aug 29 22:56:07.631 INFO kablam! | Aug 29 22:56:07.632 INFO kablam! 352 | let transfers: Vec<_> = range(0, num_transfers).map(|_| { TH { Aug 29 22:56:07.632 INFO kablam! | ^^^^^ not found in this scope Aug 29 22:56:07.632 INFO kablam! Aug 29 22:56:07.632 INFO kablam! error[E0425]: cannot find function `from_raw_mut_buf` in module `slice` Aug 29 22:56:07.632 INFO kablam! --> src/usb.rs:388:21 Aug 29 22:56:07.632 INFO kablam! | Aug 29 22:56:07.632 INFO kablam! 388 | let b = slice::from_raw_mut_buf(&(*transfer).buffer, size); Aug 29 22:56:07.632 INFO kablam! | ^^^^^^^^^^^^^^^^ not found in `slice` Aug 29 22:56:07.632 INFO kablam! Aug 29 22:56:07.632 INFO kablam! error[E0425]: cannot find function `from_raw_mut_buf` in module `slice` Aug 29 22:56:07.632 INFO kablam! --> src/usb.rs:416:20 Aug 29 22:56:07.632 INFO kablam! | Aug 29 22:56:07.632 INFO kablam! 416 | let b = slice::from_raw_mut_buf(&(*th.t).buffer, size); Aug 29 22:56:07.632 INFO kablam! | ^^^^^^^^^^^^^^^^ not found in `slice` Aug 29 22:56:07.632 INFO kablam! Aug 29 22:56:07.632 INFO kablam! error[E0425]: cannot find function `from_raw_mut_buf` in module `slice` Aug 29 22:56:07.632 INFO kablam! --> src/usb.rs:430:21 Aug 29 22:56:07.632 INFO kablam! | Aug 29 22:56:07.632 INFO kablam! 430 | let b = slice::from_raw_mut_buf(&(*transfer).buffer, size); Aug 29 22:56:07.632 INFO kablam! | ^^^^^^^^^^^^^^^^ not found in `slice` Aug 29 22:56:07.632 INFO kablam! Aug 29 22:56:07.634 INFO kablam! error: aborting due to 18 previous errors Aug 29 22:56:07.634 INFO kablam! Aug 29 22:56:07.634 INFO kablam! Some errors occurred: E0425, E0432, E0433. Aug 29 22:56:07.634 INFO kablam! For more information about an error, try `rustc --explain E0425`. Aug 29 22:56:07.640 INFO kablam! error: Could not compile `usb`. Aug 29 22:56:07.640 INFO kablam! warning: build failed, waiting for other jobs to finish... Aug 29 22:56:07.659 INFO kablam! error[E0432]: unresolved import `std::sync::atomic::AtomicInt` Aug 29 22:56:07.659 INFO kablam! --> src/usb.rs:19:35 Aug 29 22:56:07.659 INFO kablam! | Aug 29 22:56:07.659 INFO kablam! 19 | use std::sync::atomic::{Ordering, AtomicInt}; Aug 29 22:56:07.659 INFO kablam! | ^^^^^^^^^ no `AtomicInt` in `sync::atomic`. Did you mean to use `AtomicI16`? Aug 29 22:56:07.659 INFO kablam! Aug 29 22:56:07.665 INFO kablam! error: cannot find derive macro `Show` in this scope Aug 29 22:56:07.665 INFO kablam! --> src/libusb.rs:81:31 Aug 29 22:56:07.665 INFO kablam! | Aug 29 22:56:07.665 INFO kablam! 81 | #[derive(Copy, PartialEq, Eq, Show)] Aug 29 22:56:07.665 INFO kablam! | ^^^^ Aug 29 22:56:07.665 INFO kablam! Aug 29 22:56:07.665 INFO kablam! error: cannot find derive macro `Show` in this scope Aug 29 22:56:07.665 INFO kablam! --> src/libusb.rs:144:31 Aug 29 22:56:07.665 INFO kablam! | Aug 29 22:56:07.665 INFO kablam! 144 | #[derive(Copy, PartialEq, Eq, Show)] Aug 29 22:56:07.665 INFO kablam! | ^^^^ Aug 29 22:56:07.665 INFO kablam! Aug 29 22:56:07.665 INFO kablam! error: cannot find derive macro `Show` in this scope Aug 29 22:56:07.665 INFO kablam! --> src/libusb.rs:187:31 Aug 29 22:56:07.665 INFO kablam! | Aug 29 22:56:07.666 INFO kablam! 187 | #[derive(Copy, PartialEq, Eq, Show)] Aug 29 22:56:07.666 INFO kablam! | ^^^^ Aug 29 22:56:07.666 INFO kablam! Aug 29 22:56:07.666 INFO kablam! error: cannot find derive macro `Show` in this scope Aug 29 22:56:07.666 INFO kablam! --> src/libusb.rs:197:31 Aug 29 22:56:07.666 INFO kablam! | Aug 29 22:56:07.666 INFO kablam! 197 | #[derive(Copy, PartialEq, Eq, Show)] Aug 29 22:56:07.666 INFO kablam! | ^^^^ Aug 29 22:56:07.666 INFO kablam! Aug 29 22:56:07.666 INFO kablam! error: cannot find derive macro `Show` in this scope Aug 29 22:56:07.666 INFO kablam! --> src/libusb.rs:218:16 Aug 29 22:56:07.666 INFO kablam! | Aug 29 22:56:07.666 INFO kablam! 218 | #[derive(Copy, Show)] Aug 29 22:56:07.666 INFO kablam! | ^^^^ Aug 29 22:56:07.666 INFO kablam! Aug 29 22:56:07.666 INFO kablam! error: cannot find derive macro `Show` in this scope Aug 29 22:56:07.666 INFO kablam! --> src/libusb.rs:443:31 Aug 29 22:56:07.666 INFO kablam! | Aug 29 22:56:07.667 INFO kablam! 443 | #[derive(Copy, PartialEq, Eq, Show)] Aug 29 22:56:07.667 INFO kablam! | ^^^^ Aug 29 22:56:07.667 INFO kablam! Aug 29 22:56:07.667 INFO kablam! error: cannot find derive macro `Show` in this scope Aug 29 22:56:07.667 INFO kablam! --> src/libusb.rs:494:31 Aug 29 22:56:07.667 INFO kablam! | Aug 29 22:56:07.667 INFO kablam! 494 | #[derive(Copy, FromPrimitive, Show, PartialEq, Eq)] Aug 29 22:56:07.667 INFO kablam! | ^^^^ Aug 29 22:56:07.667 INFO kablam! Aug 29 22:56:07.667 INFO kablam! error: cannot find derive macro `FromPrimitive` in this scope Aug 29 22:56:07.667 INFO kablam! --> src/libusb.rs:494:16 Aug 29 22:56:07.667 INFO kablam! | Aug 29 22:56:07.667 INFO kablam! 494 | #[derive(Copy, FromPrimitive, Show, PartialEq, Eq)] Aug 29 22:56:07.667 INFO kablam! | ^^^^^^^^^^^^^ Aug 29 22:56:07.667 INFO kablam! Aug 29 22:56:07.667 INFO kablam! error: cannot find derive macro `Show` in this scope Aug 29 22:56:07.667 INFO kablam! --> src/libusb.rs:523:31 Aug 29 22:56:07.667 INFO kablam! | Aug 29 22:56:07.667 INFO kablam! 523 | #[derive(Copy, PartialEq, Eq, Show)] Aug 29 22:56:07.667 INFO kablam! | ^^^^ Aug 29 22:56:07.668 INFO kablam! Aug 29 22:56:07.668 INFO kablam! error: cannot find derive macro `Show` in this scope Aug 29 22:56:07.668 INFO kablam! --> src/libusb.rs:612:16 Aug 29 22:56:07.668 INFO kablam! | Aug 29 22:56:07.668 INFO kablam! 612 | #[derive(Copy, Show)] Aug 29 22:56:07.668 INFO kablam! | ^^^^ Aug 29 22:56:07.668 INFO kablam! Aug 29 22:56:07.668 INFO kablam! error[E0433]: failed to resolve. Could not find `FromPrimitive` in `num` Aug 29 22:56:07.668 INFO kablam! --> src/libusb.rs:603:8 Aug 29 22:56:07.668 INFO kablam! | Aug 29 22:56:07.668 INFO kablam! 603 | num::FromPrimitive::from_u32(self.status).unwrap() Aug 29 22:56:07.668 INFO kablam! | ^^^^^^^^^^^^^ Could not find `FromPrimitive` in `num` Aug 29 22:56:07.668 INFO kablam! Aug 29 22:56:07.711 INFO kablam! error[E0425]: cannot find function `from_raw_mut_buf` in module `slice` Aug 29 22:56:07.711 INFO kablam! --> src/usb.rs:77:19 Aug 29 22:56:07.711 INFO kablam! | Aug 29 22:56:07.711 INFO kablam! 77 | let l = slice::from_raw_mut_buf(&list, num_devices as usize); Aug 29 22:56:07.711 INFO kablam! | ^^^^^^^^^^^^^^^^ not found in `slice` Aug 29 22:56:07.711 INFO kablam! Aug 29 22:56:07.711 INFO kablam! error[E0425]: cannot find function `range` in this scope Aug 29 22:56:07.711 INFO kablam! --> src/usb.rs:352:27 Aug 29 22:56:07.711 INFO kablam! | Aug 29 22:56:07.711 INFO kablam! 352 | let transfers: Vec<_> = range(0, num_transfers).map(|_| { TH { Aug 29 22:56:07.711 INFO kablam! | ^^^^^ not found in this scope Aug 29 22:56:07.711 INFO kablam! Aug 29 22:56:07.711 INFO kablam! error[E0425]: cannot find function `from_raw_mut_buf` in module `slice` Aug 29 22:56:07.711 INFO kablam! --> src/usb.rs:388:21 Aug 29 22:56:07.711 INFO kablam! | Aug 29 22:56:07.711 INFO kablam! 388 | let b = slice::from_raw_mut_buf(&(*transfer).buffer, size); Aug 29 22:56:07.711 INFO kablam! | ^^^^^^^^^^^^^^^^ not found in `slice` Aug 29 22:56:07.711 INFO kablam! Aug 29 22:56:07.711 INFO kablam! error[E0425]: cannot find function `from_raw_mut_buf` in module `slice` Aug 29 22:56:07.711 INFO kablam! --> src/usb.rs:416:20 Aug 29 22:56:07.711 INFO kablam! | Aug 29 22:56:07.711 INFO kablam! 416 | let b = slice::from_raw_mut_buf(&(*th.t).buffer, size); Aug 29 22:56:07.711 INFO kablam! | ^^^^^^^^^^^^^^^^ not found in `slice` Aug 29 22:56:07.712 INFO kablam! Aug 29 22:56:07.712 INFO kablam! error[E0425]: cannot find function `from_raw_mut_buf` in module `slice` Aug 29 22:56:07.712 INFO kablam! --> src/usb.rs:430:21 Aug 29 22:56:07.712 INFO kablam! | Aug 29 22:56:07.712 INFO kablam! 430 | let b = slice::from_raw_mut_buf(&(*transfer).buffer, size); Aug 29 22:56:07.712 INFO kablam! | ^^^^^^^^^^^^^^^^ not found in `slice` Aug 29 22:56:07.712 INFO kablam! Aug 29 22:56:07.712 INFO kablam! error: aborting due to 18 previous errors Aug 29 22:56:07.712 INFO kablam! Aug 29 22:56:07.712 INFO kablam! Some errors occurred: E0425, E0432, E0433. Aug 29 22:56:07.712 INFO kablam! For more information about an error, try `rustc --explain E0425`. Aug 29 22:56:07.712 INFO kablam! error: Could not compile `usb`. Aug 29 22:56:07.712 INFO kablam! Aug 29 22:56:07.712 INFO kablam! To learn more, run the command again with --verbose. Aug 29 22:56:07.713 INFO kablam! su: No module specific data is present Aug 29 22:56:08.150 INFO running `"docker" "rm" "-f" "ba93f53e91ab95b08577d3d7471f7b07c32181bb2f7cbbf7d577d9413b57fb73"` Aug 29 22:56:08.240 INFO blam! ba93f53e91ab95b08577d3d7471f7b07c32181bb2f7cbbf7d577d9413b57fb73