This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2019/05/08 12:13:54 [INFO] Terraform version: 0.11.13 | |
2019/05/08 12:13:54 [INFO] Go runtime version: go1.11.5 | |
2019/05/08 12:13:54 [INFO] CLI args: []string{"/home/clint/bin/terraform", "import", "github_repository.infra-sandbox", "sandbox"} | |
2019/05/08 12:13:54 [DEBUG] Attempting to open CLI config file: /home/clint/.terraformrc | |
2019/05/08 12:13:54 [DEBUG] File doesn't exist, but doesn't need to. Ignoring. | |
2019/05/08 12:13:54 [INFO] CLI command args: []string{"import", "github_repository.infra-sandbox", "sandbox"} | |
2019/05/08 12:13:54 [INFO] Building AWS region structure | |
2019/05/08 12:13:54 [INFO] Building AWS auth structure | |
2019/05/08 12:13:54 [INFO] Setting AWS metadata API timeout to 100ms | |
2019/05/08 12:13:55 [INFO] Ignoring AWS metadata API endpoint at default location as it doesn't return any instance-id |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use std::fmt::*; | |
use std::iter::IntoIterator; | |
use std::ops::{Index, RangeFrom}; | |
#[test] | |
fn test_debug_kinda_string() { | |
let z: Vec<u8> = vec![240, 159, 146, 150]; | |
let x = GearBytes(z); | |
let f = format!("{:?}", &x); | |
assert_eq!("\"💖\"", f); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
clint@clint-ThinkPad-X250:~/src/rustplay/wrappinghashset$ cargo test | |
Compiling wrappinghashset v0.1.0 (file:///home/clint/src/rustplay/wrappinghashset) | |
error[E0499]: cannot borrow `hs` as mutable more than once at a time | |
--> src/lib.rs:87:18 | |
| | |
76 | for i in hs.iter() { | |
| -- first mutable borrow occurs here | |
... | |
87 | for i in hs.iter() { | |
| ^^ second mutable borrow occurs here |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cargo build | |
Compiling phfoo v0.1.0 (file:///home/clint/src/rustplay/phf/phfoo) | |
error[E0463]: can't find crate for `phf_macros` | |
--> src/main.rs:2:11 | |
| | |
2 | #![plugin(phf_macros)] | |
| ^^^^^^^^^^ can't find crate | |
error: aborting due to previous error |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am SpamapS on github. | |
* I am spamaps (https://keybase.io/spamaps) on keybase. | |
* I have a public key whose fingerprint is F00C 9F2F 4F7E B714 AFAD 1A42 538C 0766 F4BC B38E | |
To claim this, I am signing this object: |