[INFO] crate checksec 0.0.4 is already in cache [INFO] testing checksec-0.0.4 against try#41997647ba6a77908f6ef64401414feb00bccf16 for pr-71274 [INFO] extracting crate checksec 0.0.4 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate checksec 0.0.4 on toolchain 41997647ba6a77908f6ef64401414feb00bccf16 [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate checksec 0.0.4 [INFO] finished tweaking crates.io crate checksec 0.0.4 [INFO] tweaked toml for crates.io crate checksec 0.0.4 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate crates.io crate checksec 0.0.4 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=forbid" "-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" "+41997647ba6a77908f6ef64401414feb00bccf16" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e7615705e17b8a8aebfadfb764f3a6e9854b09036d18c31e6038dd75bb934a8a [INFO] running `"docker" "start" "-a" "e7615705e17b8a8aebfadfb764f3a6e9854b09036d18c31e6038dd75bb934a8a"` [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling plain v0.2.3 [INFO] [stderr] Compiling bstr v0.2.12 [INFO] [stderr] Compiling crossbeam-channel v0.4.2 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling colored v1.9.3 [INFO] [stderr] Compiling regex v1.3.6 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling scroll_derive v0.10.1 [INFO] [stderr] Compiling globset v0.4.5 [INFO] [stderr] Compiling scroll v0.10.1 [INFO] [stderr] Compiling goblin v0.2.1 [INFO] [stderr] Compiling ignore v0.4.14 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling serde_json v1.0.51 [INFO] [stderr] Compiling checksec v0.0.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 21s [INFO] running `"docker" "inspect" "e7615705e17b8a8aebfadfb764f3a6e9854b09036d18c31e6038dd75bb934a8a"` [INFO] running `"docker" "rm" "-f" "e7615705e17b8a8aebfadfb764f3a6e9854b09036d18c31e6038dd75bb934a8a"` [INFO] [stdout] e7615705e17b8a8aebfadfb764f3a6e9854b09036d18c31e6038dd75bb934a8a [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=forbid" "-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" "+41997647ba6a77908f6ef64401414feb00bccf16" "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] af73ee1e5520135995bb2740f9850662efd8f302c78929d333caf3848e6d94e9 [INFO] running `"docker" "start" "-a" "af73ee1e5520135995bb2740f9850662efd8f302c78929d333caf3848e6d94e9"` [INFO] [stderr] Compiling checksec v0.0.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.28s [INFO] running `"docker" "inspect" "af73ee1e5520135995bb2740f9850662efd8f302c78929d333caf3848e6d94e9"` [INFO] running `"docker" "rm" "-f" "af73ee1e5520135995bb2740f9850662efd8f302c78929d333caf3848e6d94e9"` [INFO] [stdout] af73ee1e5520135995bb2740f9850662efd8f302c78929d333caf3848e6d94e9 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=forbid" "-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" "+41997647ba6a77908f6ef64401414feb00bccf16" "test" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3d9eff561d1d246b6fc2c1c8716fdd64a3ab68e0e7b662dadac8b7a29285c89a [INFO] running `"docker" "start" "-a" "3d9eff561d1d246b6fc2c1c8716fdd64a3ab68e0e7b662dadac8b7a29285c89a"` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/checksec-082622f7bcac949f [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-bc64ca0480995929 [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/pe.rs - pe::PECheckSecResults (line 239) ... FAILED [INFO] [stdout] test src/macho.rs - macho::MachOProperties (line 131) ... FAILED [INFO] [stdout] test src/elf.rs - elf::ElfProperties (line 189) ... FAILED [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::PEProperties (line 381) ... ok [INFO] [stdout] test src/lib.rs - (line 34) ... ok [INFO] [stdout] test src/lib.rs - (line 18) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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/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] ---- 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::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] [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" "3d9eff561d1d246b6fc2c1c8716fdd64a3ab68e0e7b662dadac8b7a29285c89a"` [INFO] running `"docker" "rm" "-f" "3d9eff561d1d246b6fc2c1c8716fdd64a3ab68e0e7b662dadac8b7a29285c89a"` [INFO] [stdout] 3d9eff561d1d246b6fc2c1c8716fdd64a3ab68e0e7b662dadac8b7a29285c89a