[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#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStuff7%2Faes" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-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-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Stuff7/aes on toolchain d98a5da813da67eb189387b8ccfb73cf481275d8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0f544cdcc928fa0bb6105f461ce2befbe1137ba3e357e7d5b4f7e21992079c54
[INFO] running `Command { std: "docker" "start" "-a" "0f544cdcc928fa0bb6105f461ce2befbe1137ba3e357e7d5b4f7e21992079c54", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0f544cdcc928fa0bb6105f461ce2befbe1137ba3e357e7d5b4f7e21992079c54", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0f544cdcc928fa0bb6105f461ce2befbe1137ba3e357e7d5b4f7e21992079c54", kill_on_drop: false }`
[INFO] [stdout] 0f544cdcc928fa0bb6105f461ce2befbe1137ba3e357e7d5b4f7e21992079c54
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 48b39fa27260458c689f41c61f61b2ba5018f8cac6bd9284e47e095386e77e8c
[INFO] running `Command { std: "docker" "start" "-a" "48b39fa27260458c689f41c61f61b2ba5018f8cac6bd9284e47e095386e77e8c", kill_on_drop: false }`
[INFO] [stderr]    Compiling aes v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.38s
[INFO] running `Command { std: "docker" "inspect" "48b39fa27260458c689f41c61f61b2ba5018f8cac6bd9284e47e095386e77e8c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "48b39fa27260458c689f41c61f61b2ba5018f8cac6bd9284e47e095386e77e8c", kill_on_drop: false }`
[INFO] [stdout] 48b39fa27260458c689f41c61f61b2ba5018f8cac6bd9284e47e095386e77e8c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 161d4d136ccd50d53ba9f2aee51555119ee9c253566b2c62683930ab1c39f052
[INFO] running `Command { std: "docker" "start" "-a" "161d4d136ccd50d53ba9f2aee51555119ee9c253566b2c62683930ab1c39f052", 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.33s
[INFO] running `Command { std: "docker" "inspect" "161d4d136ccd50d53ba9f2aee51555119ee9c253566b2c62683930ab1c39f052", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "161d4d136ccd50d53ba9f2aee51555119ee9c253566b2c62683930ab1c39f052", kill_on_drop: false }`
[INFO] [stdout] 161d4d136ccd50d53ba9f2aee51555119ee9c253566b2c62683930ab1c39f052
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] a68dc50b0e5f014c40354be0976c4c2a03d26bbf20963b9296139829f1b18829
[INFO] running `Command { std: "docker" "start" "-a" "a68dc50b0e5f014c40354be0976c4c2a03d26bbf20963b9296139829f1b18829", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.01s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/aes-0c6b6124286874f5)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/bin.rs (/opt/rustwide/target/debug/deps/aes_bin-58344df65af1904f)
[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] [stderr]    Doc-tests aes
[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::encrypt_with_iv (line 54) ... 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] 
[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] 5 | 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] 7  | 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]   --> /opt/rustwide/workdir/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::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] 5 | 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] 7  | 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]   --> /opt/rustwide/workdir/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 (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] 5 | 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] 7 | 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] 8   | 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]    --> /opt/rustwide/workdir/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] 5 | 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] 7  | 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]   --> /opt/rustwide/workdir/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] 
[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.14s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "a68dc50b0e5f014c40354be0976c4c2a03d26bbf20963b9296139829f1b18829", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a68dc50b0e5f014c40354be0976c4c2a03d26bbf20963b9296139829f1b18829", kill_on_drop: false }`
[INFO] [stdout] a68dc50b0e5f014c40354be0976c4c2a03d26bbf20963b9296139829f1b18829
