[INFO] fetching crate trickster 0.0.6... [INFO] testing trickster-0.0.6 against beta-2021-09-08 for beta-1.56-1 [INFO] extracting crate trickster 0.0.6 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate trickster 0.0.6 on toolchain beta-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate trickster 0.0.6 [INFO] finished tweaking crates.io crate trickster 0.0.6 [INFO] tweaked toml for crates.io crate trickster 0.0.6 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded scan_fmt v0.2.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e532bed0d2d016c5efc02da6beb2ef6a99c1b36ced4b3531a6502dc9b34934fe [INFO] running `Command { std: "docker" "start" "-a" "e532bed0d2d016c5efc02da6beb2ef6a99c1b36ced4b3531a6502dc9b34934fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e532bed0d2d016c5efc02da6beb2ef6a99c1b36ced4b3531a6502dc9b34934fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e532bed0d2d016c5efc02da6beb2ef6a99c1b36ced4b3531a6502dc9b34934fe", kill_on_drop: false }` [INFO] [stdout] e532bed0d2d016c5efc02da6beb2ef6a99c1b36ced4b3531a6502dc9b34934fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a4211a86df41af51ec0699f1f9804fc87d97079b6ac324213b47dfb71dfff4c9 [INFO] running `Command { std: "docker" "start" "-a" "a4211a86df41af51ec0699f1f9804fc87d97079b6ac324213b47dfb71dfff4c9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling scan_fmt v0.2.6 [INFO] [stderr] Compiling trickster v0.0.6 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.48s [INFO] running `Command { std: "docker" "inspect" "a4211a86df41af51ec0699f1f9804fc87d97079b6ac324213b47dfb71dfff4c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4211a86df41af51ec0699f1f9804fc87d97079b6ac324213b47dfb71dfff4c9", kill_on_drop: false }` [INFO] [stdout] a4211a86df41af51ec0699f1f9804fc87d97079b6ac324213b47dfb71dfff4c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b186d53aebfb4c2936e93c2c86377a2204c3d7c5ad01ebda53a94595ae51f61a [INFO] running `Command { std: "docker" "start" "-a" "b186d53aebfb4c2936e93c2c86377a2204c3d7c5ad01ebda53a94595ae51f61a", kill_on_drop: false }` [INFO] [stderr] Compiling trickster v0.0.6 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.02s [INFO] running `Command { std: "docker" "inspect" "b186d53aebfb4c2936e93c2c86377a2204c3d7c5ad01ebda53a94595ae51f61a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b186d53aebfb4c2936e93c2c86377a2204c3d7c5ad01ebda53a94595ae51f61a", kill_on_drop: false }` [INFO] [stdout] b186d53aebfb4c2936e93c2c86377a2204c3d7c5ad01ebda53a94595ae51f61a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 361366e8026c1a6e1a726988b489c49b687cca6ce9ccaa050f66cbf7cae717bb [INFO] running `Command { std: "docker" "start" "-a" "361366e8026c1a6e1a726988b489c49b687cca6ce9ccaa050f66cbf7cae717bb", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/trickster-0cb2b176a0ffe772) [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; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests trickster [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/external/process.rs - external::process::Process::write_memory (line 227) ... FAILED [INFO] [stdout] test src/external/process.rs - external::process::Process::read_memory (line 144) ... FAILED [INFO] [stdout] test src/external/process.rs - external::process::Process::read_memory (line 111) ... FAILED [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] [stdout] test src/external/process.rs - external::process::Process::new (line 36) ... FAILED [INFO] [stdout] test src/external/process.rs - external::process::Process::write_memory (line 196) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/external/process.rs - external::process::Process::write_memory (line 227) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `ctx` in this scope [INFO] [stdout] --> src/external/process.rs:233:1 [INFO] [stdout] | [INFO] [stdout] 8 | ctx.write_memory::(&kind_of_remote_var as *const i32 as usize, write_buffer)?; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `kind_of_remote_var` in this scope [INFO] [stdout] --> src/external/process.rs:233:26 [INFO] [stdout] | [INFO] [stdout] 8 | ctx.write_memory::(&kind_of_remote_var as *const i32 as usize, write_buffer)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/external/process.rs:232:43 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_external_process_rs_227_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 4 | | use byteorder::{LittleEndian, WriteBytesExt}; [INFO] [stdout] 5 | | // ... [INFO] [stdout] 6 | | let mut write_buffer = Vec::new(); [INFO] [stdout] 7 | | write_buffer.write_i32::(10)?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 8 | | ctx.write_memory::(&kind_of_remote_var as *const i32 as usize, write_buffer)?; [INFO] [stdout] 9 | | // ... [INFO] [stdout] 10 | | } _doctest_main_src_external_process_rs_227_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `()` [INFO] [stdout] note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/external/process.rs:233:82 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_external_process_rs_227_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 4 | | use byteorder::{LittleEndian, WriteBytesExt}; [INFO] [stdout] 5 | | // ... [INFO] [stdout] 6 | | let mut write_buffer = Vec::new(); [INFO] [stdout] 7 | | write_buffer.write_i32::(10)?; [INFO] [stdout] 8 | | ctx.write_memory::(&kind_of_remote_var as *const i32 as usize, write_buffer)?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 9 | | // ... [INFO] [stdout] 10 | | } _doctest_main_src_external_process_rs_227_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [INFO] [stdout] note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/external/process.rs - external::process::Process::read_memory (line 144) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `ctx` in this scope [INFO] [stdout] --> src/external/process.rs:148:28 [INFO] [stdout] | [INFO] [stdout] 6 | let mut read_byte_buffer = ctx.read_memory::(&kind_of_remote_var as *const i32 as usize)?; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `kind_of_remote_var` in this scope [INFO] [stdout] --> src/external/process.rs:148:52 [INFO] [stdout] | [INFO] [stdout] 6 | let mut read_byte_buffer = ctx.read_memory::(&kind_of_remote_var as *const i32 as usize)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/external/process.rs:148:94 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_external_process_rs_144_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 4 | | use byteorder::{LittleEndian, ReadBytesExt}; [INFO] [stdout] 5 | | // ... [INFO] [stdout] 6 | | let mut read_byte_buffer = ctx.read_memory::(&kind_of_remote_var as *const i32 as usize)?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 7 | | println!("kind_of_remote_var from byte buffer: {}", read_byte_buffer.read_i32::()?); [INFO] [stdout] 8 | | // ... [INFO] [stdout] 9 | | } _doctest_main_src_external_process_rs_144_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [INFO] [stdout] note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/external/process.rs:149:96 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_external_process_rs_144_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 4 | | use byteorder::{LittleEndian, ReadBytesExt}; [INFO] [stdout] 5 | | // ... [INFO] [stdout] 6 | | let mut read_byte_buffer = ctx.read_memory::(&kind_of_remote_var as *const i32 as usize)?; [INFO] [stdout] 7 | | println!("kind_of_remote_var from byte buffer: {}", read_byte_buffer.read_i32::()?); [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 8 | | // ... [INFO] [stdout] 9 | | } _doctest_main_src_external_process_rs_144_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [INFO] [stdout] note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/external/process.rs - external::process::Process::read_memory (line 111) stdout ---- [INFO] [stdout] Test executable failed (exit code 1). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] Error: Could not get process id of current_process_name. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- src/external/process.rs - external::process::Process::new (line 36) stdout ---- [INFO] [stdout] Test executable failed (exit code 1). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] Error: Could not get process id of current_process_name. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- src/external/process.rs - external::process::Process::write_memory (line 196) stdout ---- [INFO] [stdout] Test executable failed (exit code 1). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] Error: Could not get process id of current_process_name. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/external/process.rs - external::process::Process::new (line 36) [INFO] [stdout] src/external/process.rs - external::process::Process::read_memory (line 111) [INFO] [stdout] src/external/process.rs - external::process::Process::read_memory (line 144) [INFO] [stdout] src/external/process.rs - external::process::Process::write_memory (line 196) [INFO] [stdout] src/external/process.rs - external::process::Process::write_memory (line 227) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.81s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "361366e8026c1a6e1a726988b489c49b687cca6ce9ccaa050f66cbf7cae717bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "361366e8026c1a6e1a726988b489c49b687cca6ce9ccaa050f66cbf7cae717bb", kill_on_drop: false }` [INFO] [stdout] 361366e8026c1a6e1a726988b489c49b687cca6ce9ccaa050f66cbf7cae717bb