[INFO] crate checksec 0.0.5 is already in cache [INFO] testing checksec-0.0.5 against beta-2020-06-03 for beta-1.45-1 [INFO] extracting crate checksec 0.0.5 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate checksec 0.0.5 on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate checksec 0.0.5 [INFO] finished tweaking crates.io crate checksec 0.0.5 [INFO] tweaked toml for crates.io crate checksec 0.0.5 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate crates.io crate checksec 0.0.5 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stdout] 6b8f1a548dfde296abf9894daad623ccb0df947625f7849b14ff1b3f1a3ee145 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "6b8f1a548dfde296abf9894daad623ccb0df947625f7849b14ff1b3f1a3ee145"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling plain v0.2.3 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling bstr v0.2.12 [INFO] [stderr] Compiling colored v1.9.3 [INFO] [stderr] Compiling regex v1.3.6 [INFO] [stderr] Compiling globset v0.4.5 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling scroll_derive v0.10.1 [INFO] [stderr] Compiling ignore v0.4.14 [INFO] [stderr] Compiling scroll v0.10.1 [INFO] [stderr] Compiling goblin v0.2.1 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling serde_json v1.0.51 [INFO] [stderr] Compiling checksec v0.0.5 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 56.67s [INFO] running `"docker" "inspect" "6b8f1a548dfde296abf9894daad623ccb0df947625f7849b14ff1b3f1a3ee145"` [INFO] running `"docker" "rm" "-f" "6b8f1a548dfde296abf9894daad623ccb0df947625f7849b14ff1b3f1a3ee145"` [INFO] [stdout] 6b8f1a548dfde296abf9894daad623ccb0df947625f7849b14ff1b3f1a3ee145 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d3dbf2619a87d64480b869283b984e18fb1b88e68be5c4c76cdd71c301511dac [INFO] running `"docker" "start" "-a" "d3dbf2619a87d64480b869283b984e18fb1b88e68be5c4c76cdd71c301511dac"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling checksec v0.0.5 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.64s [INFO] running `"docker" "inspect" "d3dbf2619a87d64480b869283b984e18fb1b88e68be5c4c76cdd71c301511dac"` [INFO] running `"docker" "rm" "-f" "d3dbf2619a87d64480b869283b984e18fb1b88e68be5c4c76cdd71c301511dac"` [INFO] [stdout] d3dbf2619a87d64480b869283b984e18fb1b88e68be5c4c76cdd71c301511dac [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "test" "--frozen"` [INFO] [stdout] b1d777d9355a9975f713693e0480484dd67e524e37eec14436fead93bee49b8e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "b1d777d9355a9975f713693e0480484dd67e524e37eec14436fead93bee49b8e"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.27s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/checksec-0b42381f07b6a5f4 [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/checksec-25cda971c5ae4bd9 [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Doc-tests checksec [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test src/macho.rs - macho::MachOCheckSecResults (line 22) ... FAILED [INFO] [stdout] test src/elf.rs - elf::ElfCheckSecResults (line 77) ... FAILED [INFO] [stdout] test src/pe.rs - pe::PECheckSecResults (line 239) ... FAILED [INFO] [stdout] test src/elf.rs - elf::ElfProperties (line 189) ... FAILED [INFO] [stdout] test src/lib.rs - (line 18) ... ok [INFO] [stdout] test src/lib.rs - (line 34) ... ok [INFO] [stdout] test src/macho.rs - macho::MachOProperties (line 131) ... FAILED [INFO] [stdout] test src/pe.rs - pe::PEProperties (line 381) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/macho.rs - macho::MachOCheckSecResults (line 22) stdout ---- [INFO] [stdout] error[E0277]: the trait bound `std::fs::File: std::convert::AsRef` is not satisfied [INFO] [stdout] --> src/macho.rs:29:35 [INFO] [stdout] | [INFO] [stdout] 10 | if let Ok(buf) = fs::read(fp) { [INFO] [stdout] | ^^ the trait `std::convert::AsRef` is not implemented for `std::fs::File` [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/macho.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 11 | if let Ok(macho) = MachO::parse(&buf) { [INFO] [stdout] | ^^^^^^^^^^^^ ---- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277. [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/elf.rs - elf::ElfCheckSecResults (line 77) stdout ---- [INFO] [stdout] error[E0277]: the trait bound `std::fs::File: std::convert::AsRef` is not satisfied [INFO] [stdout] --> src/elf.rs:84:35 [INFO] [stdout] | [INFO] [stdout] 10 | if let Ok(buf) = fs::read(fp) { [INFO] [stdout] | ^^ the trait `std::convert::AsRef` is not implemented for `std::fs::File` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/pe.rs - pe::PECheckSecResults (line 239) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Object` [INFO] [stdout] --> src/pe.rs:248:30 [INFO] [stdout] | [INFO] [stdout] 12 | if let Ok(obj) = Object::parse(&buf) { [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Object` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Object` [INFO] [stdout] --> src/pe.rs:250:21 [INFO] [stdout] | [INFO] [stdout] 14 | Object::PE(pe) => println!( [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Object` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PECheckSecResults` [INFO] [stdout] --> src/pe.rs:252:25 [INFO] [stdout] | [INFO] [stdout] 16 | PECheckSecResults::parse(&pe, &buf) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `PECheckSecResults` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/elf.rs - elf::ElfProperties (line 189) stdout ---- [INFO] [stdout] error[E0277]: the trait bound `std::fs::File: std::convert::AsRef` is not satisfied [INFO] [stdout] --> src/elf.rs:196:35 [INFO] [stdout] | [INFO] [stdout] 10 | if let Ok(buf) = fs::read(fp) { [INFO] [stdout] | ^^ the trait `std::convert::AsRef` is not implemented for `std::fs::File` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/macho.rs - macho::MachOProperties (line 131) stdout ---- [INFO] [stdout] error[E0277]: the trait bound `std::fs::File: std::convert::AsRef` is not satisfied [INFO] [stdout] --> src/macho.rs:138:35 [INFO] [stdout] | [INFO] [stdout] 10 | if let Ok(buf) = fs::read(fp) { [INFO] [stdout] | ^^ the trait `std::convert::AsRef` is not implemented for `std::fs::File` [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/macho.rs:139:32 [INFO] [stdout] | [INFO] [stdout] 11 | if let Ok(macho) = MachO::parse(&buf) { [INFO] [stdout] | ^^^^^^^^^^^^ ---- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277. [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/elf.rs - elf::ElfCheckSecResults (line 77) [INFO] [stdout] src/elf.rs - elf::ElfProperties (line 189) [INFO] [stdout] src/macho.rs - macho::MachOCheckSecResults (line 22) [INFO] [stdout] src/macho.rs - macho::MachOProperties (line 131) [INFO] [stdout] src/pe.rs - pe::PECheckSecResults (line 239) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 3 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `"docker" "inspect" "b1d777d9355a9975f713693e0480484dd67e524e37eec14436fead93bee49b8e"` [INFO] running `"docker" "rm" "-f" "b1d777d9355a9975f713693e0480484dd67e524e37eec14436fead93bee49b8e"` [INFO] [stdout] b1d777d9355a9975f713693e0480484dd67e524e37eec14436fead93bee49b8e