[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 try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStuff7%2Faes" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/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-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Stuff7/aes on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c07a3d73a5f77a51780cef98bd1b92d1b6acc12535e85a41bf2d0691b920e72c
[INFO] running `Command { std: "docker" "start" "-a" "c07a3d73a5f77a51780cef98bd1b92d1b6acc12535e85a41bf2d0691b920e72c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c07a3d73a5f77a51780cef98bd1b92d1b6acc12535e85a41bf2d0691b920e72c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c07a3d73a5f77a51780cef98bd1b92d1b6acc12535e85a41bf2d0691b920e72c", kill_on_drop: false }`
[INFO] [stdout] c07a3d73a5f77a51780cef98bd1b92d1b6acc12535e85a41bf2d0691b920e72c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 4aa85596db7a8a8f7f60f8c6c1b1a5bf4e865864dccadfc7186d231ba65ac04f
[INFO] running `Command { std: "docker" "start" "-a" "4aa85596db7a8a8f7f60f8c6c1b1a5bf4e865864dccadfc7186d231ba65ac04f", 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.71s
[INFO] running `Command { std: "docker" "inspect" "4aa85596db7a8a8f7f60f8c6c1b1a5bf4e865864dccadfc7186d231ba65ac04f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4aa85596db7a8a8f7f60f8c6c1b1a5bf4e865864dccadfc7186d231ba65ac04f", kill_on_drop: false }`
[INFO] [stdout] 4aa85596db7a8a8f7f60f8c6c1b1a5bf4e865864dccadfc7186d231ba65ac04f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 64fca5cb058206ca3c71ffdc323019e891be96e9ecd75d74979687353b9beb94
[INFO] running `Command { std: "docker" "start" "-a" "64fca5cb058206ca3c71ffdc323019e891be96e9ecd75d74979687353b9beb94", 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.39s
[INFO] running `Command { std: "docker" "inspect" "64fca5cb058206ca3c71ffdc323019e891be96e9ecd75d74979687353b9beb94", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "64fca5cb058206ca3c71ffdc323019e891be96e9ecd75d74979687353b9beb94", kill_on_drop: false }`
[INFO] [stdout] 64fca5cb058206ca3c71ffdc323019e891be96e9ecd75d74979687353b9beb94
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 4af878add7719ec0d387b9d687ef4764b42dca479cf0a6cc0e0c253f164dd820
[INFO] running `Command { std: "docker" "start" "-a" "4af878add7719ec0d387b9d687ef4764b42dca479cf0a6cc0e0c253f164dd820", 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/build/aes/6d58e382d0af26b4/deps/aes-6d58e382d0af26b4)
[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] [stderr]      Running unittests src/bin.rs (/opt/rustwide/target/debug/build/aes/2e7b0dd20a9b6797/deps/aes_bin-2e7b0dd20a9b6797)
[INFO] [stdout] 
[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 4 tests
[INFO] [stdout] test src/lib.rs - AESContext::encrypt (line 92) ... FAILED
[INFO] [stdout] test src/lib.rs - AESContext::decrypt (line 119) ... FAILED
[INFO] [stdout] test src/lib.rs - AESContext::decrypt_with_iv (line 72) ... FAILED
[INFO] [stdout] test src/lib.rs - AESContext::encrypt_with_iv (line 54) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[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] ---- 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::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_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] 
[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.46s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "4af878add7719ec0d387b9d687ef4764b42dca479cf0a6cc0e0c253f164dd820", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4af878add7719ec0d387b9d687ef4764b42dca479cf0a6cc0e0c253f164dd820", kill_on_drop: false }`
[INFO] [stdout] 4af878add7719ec0d387b9d687ef4764b42dca479cf0a6cc0e0c253f164dd820
