You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: main.rs
    path of file: ./repos/tract/test-rt/test-onnx-core/debug-utils/src
    
    the code of the file until where you have to start completion: use protobuf::Message;
use std::fs::File;
use tract_onnx::pb::{ModelProto, ValueInfoProto};

fn main() {
    let input = std::env::args().nth(1).unwrap();
    let output = std::env::args().nth(2).unwrap();
    let mut model =
        protobuf::parse_from_reader::<ModelProto>(&mut File::open(input).unwrap()).unwrap();
    let mut graph = model.take_graph();
    let all_outputs: Vec<tract_onnx::pb::ValueInfoProto> = graph
        .get_node()
        .iter()
        .flat_map(|n| {
    
    
fn main() {
    let input = std::env::args().nth(1).unwrap();
    let output = std::env::args().nth(2).unwrap();
    let mut model =
        protobuf::parse_from_reader::<ModelProto>(&mut File::open(input).unwrap()).unwrap();
    let mut graph = model.take_graph();
    let all_outputs: Vec<tract_onnx::pb::ValueInfoProto> = graph
        .get_node()
        .iter()
        .flat_map(|n| {
            n.get_output().iter().map(|s| {
                let mut vip = ValueInfoProto::new();
                vip.set_name(s.to_string());
                vip
            })
        })
        .collect();
    graph.set_output(all_outputs.into());
    model.set_graph(graph);
    let mut f = File::create(output).unwrap();
    let mut stream = protobuf::stream::CodedOutputStream::new(&mut f);
    model.write_to(&mut stream).unwrap();
    stream.flush().unwrap();
}