Skip to content

Commit 22e3f08

Browse files
committed
travis: bump pinned nightly
1 parent 712f3aa commit 22e3f08

File tree

6 files changed

+16
-16
lines changed

6 files changed

+16
-16
lines changed

.travis.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@ cache: cargo
77
env:
88
global:
99
- RUSTFLAGS=-Dwarnings
10+
1011
# Versions known to work with pinned nightly for lints.
11-
- CLIPPY_VERSION=0.0.180
12+
- CLIPPY_VERSION=0.0.187
1213

1314
matrix:
1415
include:
@@ -22,7 +23,7 @@ matrix:
2223

2324
# Execute lints with the pinned nightly we know works.
2425
- env: TASK=lint
25-
rust: nightly-2018-01-20
26+
rust: nightly-2018-03-12
2627

2728
# Don't block CI if a nightly is faulty
2829
fast_finish: true

src/cli.rs

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@ pub enum Crater {
7070
env: DockerEnv,
7171
},
7272

73-
#[structopt(name = "create-lists", about = "create all the lists of crates")] CreateLists,
73+
#[structopt(name = "create-lists", about = "create all the lists of crates")]
74+
CreateLists,
7475

7576
#[structopt(name = "define-ex", about = "define an experiment")]
7677
DefineEx {
@@ -107,10 +108,7 @@ pub enum Crater {
107108
},
108109

109110
#[structopt(name = "copy-ex", about = "copy all data from one experiment to another")]
110-
CopyEx {
111-
ex1: Ex,
112-
ex2: Ex,
113-
},
111+
CopyEx { ex1: Ex, ex2: Ex },
114112

115113
#[structopt(name = "delete-ex", about = "delete shared data for experiment")]
116114
DeleteEx {
@@ -174,7 +172,8 @@ pub enum Crater {
174172
s3_prefix: Option<report::S3Prefix>,
175173
},
176174

177-
#[structopt(name = "serve-report", about = "serve report")] Serve,
175+
#[structopt(name = "serve-report", about = "serve report")]
176+
Serve,
178177
}
179178

180179
impl Crater {

src/docker.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,8 @@ pub fn rust_container(config: RustEnv) -> ContainerConfig {
104104

105105
ContainerConfig {
106106
image_name: IMAGE_NAME,
107-
mounts: mounts,
108-
env: env,
107+
mounts,
108+
env,
109109
}
110110
}
111111

src/ex.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,9 +136,9 @@ pub fn define_(ex_name: &str, tcs: Vec<Toolchain>, crates: Vec<Crate>, mode: ExM
136136
);
137137
let ex = Experiment {
138138
name: ex_name.to_string(),
139-
crates: crates,
139+
crates,
140140
toolchains: tcs,
141-
mode: mode,
141+
mode,
142142
};
143143
fs::create_dir_all(&ex_dir(&ex.name))?;
144144
let json = serde_json::to_string(&ex)?;

src/report/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ pub fn generate_report(config: &Config, ex: &ex::Experiment) -> Result<TestResul
6363
let rel_log = writer.result_path_fragement();
6464

6565
Ok(BuildTestResult {
66-
res: res,
66+
res,
6767
log: format!("{}", rel_log.display()),
6868
})
6969
});

src/run.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -212,9 +212,9 @@ fn log_command(mut cmd: Command, capture: bool, quiet: bool) -> Result<ProcessOu
212212
}))?;
213213

214214
Ok(ProcessOutput {
215-
status: status,
216-
stdout: stdout,
217-
stderr: stderr,
215+
status,
216+
stdout,
217+
stderr,
218218
})
219219
}
220220

0 commit comments

Comments
 (0)