[INFO] cloning repository https://github.com/Stuff7/aes
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Stuff7/aes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStuff7%2Faes", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStuff7%2Faes'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2e4b8537564713f6d33b20d722c8d1bab34f8b44
[INFO] testing Stuff7/aes against master#0d162b25edd5bf0dba9a22e83b614f1113e90474 for pr-150681
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStuff7%2Faes" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Stuff7/aes
[INFO] finished tweaking git repo https://github.com/Stuff7/aes
[INFO] tweaked toml for git repo https://github.com/Stuff7/aes written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Stuff7/aes on toolchain 0d162b25edd5bf0dba9a22e83b614f1113e90474
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Stuff7/aes already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4ca9cde2ae78e51d316560422380e44c33e739d6933302b4e3f0c69f5813ab58
[INFO] running `Command { std: "docker" "start" "-a" "4ca9cde2ae78e51d316560422380e44c33e739d6933302b4e3f0c69f5813ab58", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4ca9cde2ae78e51d316560422380e44c33e739d6933302b4e3f0c69f5813ab58", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4ca9cde2ae78e51d316560422380e44c33e739d6933302b4e3f0c69f5813ab58", kill_on_drop: false }`
[INFO] [stdout] 4ca9cde2ae78e51d316560422380e44c33e739d6933302b4e3f0c69f5813ab58
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4fe7fb138a216a19f1ae7476e8199cab54447706d11295e420741b4c6a4bc822
[INFO] running `Command { std: "docker" "start" "-a" "4fe7fb138a216a19f1ae7476e8199cab54447706d11295e420741b4c6a4bc822", kill_on_drop: false }`
[INFO] [stderr]    Compiling aes v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.58s
[INFO] running `Command { std: "docker" "inspect" "4fe7fb138a216a19f1ae7476e8199cab54447706d11295e420741b4c6a4bc822", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4fe7fb138a216a19f1ae7476e8199cab54447706d11295e420741b4c6a4bc822", kill_on_drop: false }`
[INFO] [stdout] 4fe7fb138a216a19f1ae7476e8199cab54447706d11295e420741b4c6a4bc822
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9e463ceabeb2f56875c41232c677df6e24c7797448fdb5dbf16f12d2795bd077
[INFO] running `Command { std: "docker" "start" "-a" "9e463ceabeb2f56875c41232c677df6e24c7797448fdb5dbf16f12d2795bd077", kill_on_drop: false }`
[INFO] [stderr]    Compiling aes v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.41s
[INFO] running `Command { std: "docker" "inspect" "9e463ceabeb2f56875c41232c677df6e24c7797448fdb5dbf16f12d2795bd077", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9e463ceabeb2f56875c41232c677df6e24c7797448fdb5dbf16f12d2795bd077", kill_on_drop: false }`
[INFO] [stdout] 9e463ceabeb2f56875c41232c677df6e24c7797448fdb5dbf16f12d2795bd077
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 63e72d919ab038dbfc9410f2928dca9ba40d4d50d1d1d205fdbc884557683c6f
[INFO] running `Command { std: "docker" "start" "-a" "63e72d919ab038dbfc9410f2928dca9ba40d4d50d1d1d205fdbc884557683c6f", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/aes-6d58e382d0af26b4)
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/bin.rs (/opt/rustwide/target/debug/deps/aes_bin-2e7b0dd20a9b6797)
[INFO] [stdout] running 0 tests
[INFO] [stderr]    Doc-tests aes
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[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.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test src/lib.rs - AESContext::decrypt (line 119) ... FAILED
[INFO] [stdout] test src/lib.rs - AESContext::encrypt_with_iv (line 54) ... FAILED
[INFO] [stdout] test src/lib.rs - AESContext::decrypt_with_iv (line 72) ... FAILED
[INFO] [stdout] test src/lib.rs - AESContext::encrypt (line 92) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - AESContext::decrypt (line 119) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `key` in this scope
[INFO] [stdout]    --> src/lib.rs:121:36
[INFO] [stdout]     |
[INFO] [stdout] 121 | let mut aes = aes::AESContext::new(key);
[INFO] [stdout]     |                                    ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `iv` in this scope
[INFO] [stdout]    --> src/lib.rs:123:10
[INFO] [stdout]     |
[INFO] [stdout] 123 | aes.iv = iv; // IV the ciphertext was encrypted with
[INFO] [stdout]     |          ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:124:13
[INFO] [stdout]     |
[INFO] [stdout] 124 | aes.decrypt(&mut data);
[INFO] [stdout]     |     ------- ^^^^^^^^^ expected `&mut [u8]`, found `&mut Result<Vec<u8>, Error>`
[INFO] [stdout]     |     |
[INFO] [stdout]     |     arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected mutable reference `&mut [u8]`
[INFO] [stdout]                found mutable reference `&mut Result<Vec<u8>, std::io::Error>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/lib.rs:125:10
[INFO] [stdout]     |
[INFO] [stdout] 125 |   pub fn decrypt(&mut self, buf: &mut [u8]) {
[INFO] [stdout]     |          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - AESContext::encrypt_with_iv (line 54) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `key` in this scope
[INFO] [stdout]   --> src/lib.rs:56:36
[INFO] [stdout]    |
[INFO] [stdout] 56 | let mut aes = aes::AESContext::new(key);
[INFO] [stdout]    |                                    ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:58:21
[INFO] [stdout]    |
[INFO] [stdout] 58 | aes.encrypt_with_iv(&mut data);
[INFO] [stdout]    |     --------------- ^^^^^^^^^ expected `&mut Vec<u8>`, found `&mut Result<Vec<u8>, Error>`
[INFO] [stdout]    |     |
[INFO] [stdout]    |     arguments to this method are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected mutable reference `&mut Vec<_>`
[INFO] [stdout]               found mutable reference `&mut Result<Vec<_>, std::io::Error>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> src/lib.rs:59:10
[INFO] [stdout]    |
[INFO] [stdout] 59 |   pub fn encrypt_with_iv(&mut self, buf: &mut Vec<u8>) {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - AESContext::decrypt_with_iv (line 72) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `key` in this scope
[INFO] [stdout]   --> src/lib.rs:74:36
[INFO] [stdout]    |
[INFO] [stdout] 74 | let mut aes = aes::AESContext::new(key);
[INFO] [stdout]    |                                    ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:76:21
[INFO] [stdout]    |
[INFO] [stdout] 76 | aes.decrypt_with_iv(&mut data);
[INFO] [stdout]    |     --------------- ^^^^^^^^^ expected `&mut Vec<u8>`, found `&mut Result<Vec<u8>, Error>`
[INFO] [stdout]    |     |
[INFO] [stdout]    |     arguments to this method are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected mutable reference `&mut Vec<_>`
[INFO] [stdout]               found mutable reference `&mut Result<Vec<_>, std::io::Error>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> src/lib.rs:77:10
[INFO] [stdout]    |
[INFO] [stdout] 77 |   pub fn decrypt_with_iv(&mut self, buf: &mut Vec<u8>) {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - AESContext::encrypt (line 92) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `key` in this scope
[INFO] [stdout]   --> src/lib.rs:94:36
[INFO] [stdout]    |
[INFO] [stdout] 94 | let mut aes = aes::AESContext::new(key); // You will need to store the iv yourself, from aes.iv
[INFO] [stdout]    |                                    ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:96:13
[INFO] [stdout]    |
[INFO] [stdout] 96 | aes.encrypt(&mut data);
[INFO] [stdout]    |     ------- ^^^^^^^^^ expected `&mut [u8]`, found `&mut Result<Vec<u8>, Error>`
[INFO] [stdout]    |     |
[INFO] [stdout]    |     arguments to this method are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected mutable reference `&mut [u8]`
[INFO] [stdout]               found mutable reference `&mut Result<Vec<u8>, std::io::Error>`
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> src/lib.rs:97:10
[INFO] [stdout]    |
[INFO] [stdout] 97 |   pub fn encrypt(&mut self, buf: &mut [u8]) {
[INFO] [stdout]    |          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - AESContext::decrypt (line 119)
[INFO] [stdout]     src/lib.rs - AESContext::decrypt_with_iv (line 72)
[INFO] [stdout]     src/lib.rs - AESContext::encrypt (line 92)
[INFO] [stdout]     src/lib.rs - AESContext::encrypt_with_iv (line 54)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.27s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "63e72d919ab038dbfc9410f2928dca9ba40d4d50d1d1d205fdbc884557683c6f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "63e72d919ab038dbfc9410f2928dca9ba40d4d50d1d1d205fdbc884557683c6f", kill_on_drop: false }`
[INFO] [stdout] 63e72d919ab038dbfc9410f2928dca9ba40d4d50d1d1d205fdbc884557683c6f
